Hello World

Description

The most simple of Python programs.



Activity

NabeelAhmed1721 solved 2 days, 19 hours ago
ruslanashr solved 3 days, 1 hour ago
shurubura@hotmail.com solved 3 days, 1 hour ago
14
Joseph
Sum in Array

Description

The sum of all numbers in array [x, y, x] is equal to x + y + z



Activity

ruslanashr solved 3 days, 1 hour ago
gemofort solved 1 week, 3 days ago
alesyaafanaseva solved 1 week, 4 days ago
13
dominic
Exponentiation

Description

Exponentiation is a mathematical operation written as \(a^n\), which means multiply \(a\) by...



Activity

ruslanashr solved 3 days, 1 hour ago
gemofort solved 1 week, 2 days ago
alesyaafanaseva solved 1 week, 4 days ago
13
e^iπ+1=0
Coordinates

Description

Starting from the point (0,0) on a grid, you are given a set of instructions:

^ = Up one unit

v (lowercase v) =...



Activity

NabeelAhmed1721 solved 1 day, 6 hours ago
ruslanashr solved 3 days ago
Magzzy solved 1 week ago
11
dominic
Elevator

Description

An elevator is given an input code which it then uses to go up or down floors:

"^" = go up one floo...



Activity

NabeelAhmed1721 solved 1 day, 6 hours ago
ruslanashr solved 3 days ago
Magzzy solved 1 week ago
9
dominic
Collatz conjecture

Description

Start with any positive integer \(n\). Then each term is obtained from the previous term as follows: if the...



Activity

NabeelAhmed1721 solved 1 day, 6 hours ago
ruslanashr solved 2 days, 23 hours ago
Magzzy solved 1 week ago
20
dominic
Caesar Cipher

Description

A caesar cipher is a substituion cipher in which each letter in the plaintext is replaced by a letter some fixed...



Activity

gemofort solved 1 week, 2 days ago
VS0x01 solved 1 week, 4 days ago
igor_shesterikov solved 1 week, 4 days ago
3
dominic
Product in Array

Description

The product of array [x, y, z] is equal to \(x \times y \times z\)



Activity

alesyaafanaseva solved 1 week, 2 days ago
VS0x01 solved 1 week, 4 days ago
megamind___ solved 1 month ago
3
dominic
Sum of primes

Description

A prime is an integer, greater than 1, which is divisible only by itself and 1.

For example the first 5 primes are: ...



Activity

alesyaafanaseva solved 1 week, 2 days ago
lerik1408 solved 1 week, 4 days ago
LordPhantomAssasinator solved 4 months, 3 weeks ago
4
dominic
Find the hidden message!

Description

Each letter of the english alphabet is corresponding to an integer number.

a = 1, b = 2, ... , z = 26

For a giv...



Activity

valeriy_petryna solved 1 week, 4 days ago
aca solved 3 weeks, 1 day ago
LordPhantomAssasinator solved 4 months, 3 weeks ago
3
babaliaris
Sum of Powers

Description

Given an array, a machine outputs the sum of every other digit to the power of the next digit.

For example:

Giv...



Activity

abhishek18272 solved 4 months, 1 week ago
LordPhantomAssasinator solved 4 months, 3 weeks ago
ethaniel solved 5 months, 4 weeks ago
2
dominic
Factorial

Description

The factorial of a non-negative integer n, denoted by n!, is the product of all po...



Activity

LordPhantomAssasinator solved 4 months, 3 weeks ago
ethaniel solved 5 months, 4 weeks ago
acheron2302 solved 7 months, 2 weeks ago
7
dominic
Sum of Primes in Array

Description

A prime is an integer, greater than 1, which is divisible only by itself and 1.

For example the first 5 primes are...



Activity

LordPhantomAssasinator solved 4 months, 3 weeks ago
ethaniel solved 5 months, 4 weeks ago
acheron2302 solved 7 months, 2 weeks ago
3
dominic
Prime Fibonacci Sequence

Description

In the fibonacci sequence every number is the sum of the two preceding ones:
\(1, 1, 2, 3, 5, 8, 13, 21, 3...



Activity

LordPhantomAssasinator solved 4 months, 3 weeks ago
ethaniel solved 5 months, 3 weeks ago
acheron2302 solved 7 months, 2 weeks ago
2
dominic
Ruth–Aaron pair

Description

A Ruth-Aaron pair consists of two consecutive integers (e.g. 714 and 715) for which the sums of the prime factors of ...



Activity

LordPhantomAssasinator solved 4 months, 3 weeks ago
acheron2302 solved 7 months, 3 weeks ago
Rahul solved 11 months, 1 week ago
7
dominic
Munchhausen Number

Description

A Munchhausen number is a number, which is the sum of it's digits raised to themselves.

One Munchhausen number i...



Activity

abhishek18272 solved 4 months, 1 week ago
LordPhantomAssasinator solved 4 months, 3 weeks ago
gaurav007_ solved 7 months ago
1
Doshkey
Index of coincidence

Description

The index of coincidence provides a measure of how likely it is to draw two matching letters by randomly selecting tw...



Activity

LordPhantomAssasinator solved 4 months, 3 weeks ago
ethaniel solved 5 months, 3 weeks ago
acheron2302 solved 7 months ago
1
dominic
Factorial II

Description

In mathematics, the factorial of a non-negative integer \(n\), denoted by \(n!\), is the&nbs...



Activity

abhishek18272 solved 4 months, 1 week ago
LordPhantomAssasinator solved 4 months, 3 weeks ago
ethaniel solved 5 months, 4 weeks ago
3
e^iπ+1=0
Least common multiple

Description

The least common multiple of some integers is usually written as \([a,b,...]\) or \(lcm(a,b,...)\), wh...



Activity

LordPhantomAssasinator solved 4 months, 3 weeks ago
TIMTOWTDI solved 6 months ago
acheron2302 solved 6 months, 4 weeks ago
1
e^iπ+1=0
ASCII converting

Description

For some reason the first post about this did not include the actual text to decrypt. Here is the problem again:

&...



Activity

LordPhantomAssasinator solved 4 months, 3 weeks ago
acheron2302 solved 6 months, 4 weeks ago
gaurav007_ solved 7 months ago
2
LordPhantom
Appending digits

Description

\(a\) is formed by appending the digit 1 to the front of an integer.

\(b\) is formed by appending the digi...



Activity

LordPhantomAssasinator solved 4 months, 3 weeks ago
gaurav007_ solved 7 months ago
pouitre solved 1 year, 7 months ago
1
dominic
Relatively prime integers

Description

Two integers \(a\) and \(b\) are said to be relatively prime if the only positive integer that divides both...



Activity

LordPhantomAssasinator solved 4 months, 3 weeks ago
LordPhantomAssasinator solved 4 months, 3 weeks ago
acheron2302 solved 6 months, 4 weeks ago
1
dominic
Sum

Description

1+3



Activity

rolandeke solved 1 week, 1 day ago
alesyaafanaseva solved 1 week, 1 day ago
abhishek18272 solved 4 months, 1 week ago
0
redshark2002
Lychrel Numbers

Description

The Lychrel number algorithm is defined as follows: Starting with a positive integer perform the iterative process of...



Activity

LordPhantomAssasinator solved 4 months, 3 weeks ago
gaurav007_ solved 7 months ago
TheLegend27 solved 1 year, 7 months ago
2
Doshkey
Smallest 12345 prime

Description

A 12345 is a prime is a prime number which contains the digits 12345 (in that order).

A prime number is a number t...



Activity

LordPhantomAssasinator solved 4 months, 3 weeks ago
oniraMV solved 1 year, 2 months ago
TheLegend27 solved 1 year, 7 months ago
1
dominic
The "x2" question

Description

Set function \(m(n) =\) move the last digit of n to the first digit.

For example:

\(m(126) = 612\)

\(m(2017)...



Activity

Keshav Sharma solved 3 months, 2 weeks ago
LordPhantomAssasinator solved 4 months, 3 weeks ago
LordPhantom solved 6 months, 4 weeks ago
5
e^iπ+1=0
Very Stupid Numbers

Description

For some integer \(n\), let \(D_{n_1}=n\)  and for \(i>1\), let \(D_{n_i}\) be the s...



Activity

LordPhantomAssasinator solved 4 months, 3 weeks ago
ethaniel solved 5 months, 3 weeks ago
bobobob1 solved 1 year ago
5
ArbitraryRenaissance
Radix

Description

In mathematical numeral systems, the radix or base is the number of unique digits, incl...



Activity

LordPhantomAssasinator solved 4 months, 3 weeks ago
arora23saurabh solved 5 months, 2 weeks ago
gaurav007_ solved 7 months ago
1
e^iπ+1=0
Hexadecimal Mirror Number

Description

Let's call the number you get from writing all its digits reversed its mirror number, eg the mirror number o...



Activity

LordPhantomAssasinator solved 4 months, 3 weeks ago
gaurav007_ solved 7 months ago
e^iπ+1=0 solved 1 year, 5 months ago
1
Doshkey
Huffman Decoding

Description

A string was compressed using the following Huffman bit code table:

Huffman code table

Symbol Bit C...


Activity

Magzzy solved 6 days, 16 hours ago
LordPhantomAssasinator solved 4 months, 3 weeks ago
gaurav007_ solved 7 months ago
2
Doshkey
Minimal sigma-totient product

Description

For a positive integer \(n\), let \(\phi (n)\) be the number of integers less than \(n\) tha...



Activity

LordPhantomAssasinator solved 4 months, 3 weeks ago
gaurav007_ solved 7 months ago
TheLegend27 solved 1 year, 7 months ago
3
ArbitraryRenaissance
Ascending Numbers

Description

An ascending number is a positive integer of two or more digits such that every digit is greater then the digits that...



Activity

LordPhantomAssasinator solved 4 months, 3 weeks ago
e^iπ+1=0 solved 1 year, 5 months ago
LordPhantom solved 1 year, 7 months ago
4
ArbitraryRenaissance
Kaprekar's Constant

Description

Kapreka's Constant is 6174. When you sort its digits once in ascending and once in descending order you get ...



Activity

LordPhantomAssasinator solved 4 months, 3 weeks ago
gaurav007_ solved 7 months ago
e^iπ+1=0 solved 1 year, 5 months ago
1
Doshkey
Special Numbers

Description

A number is considered special if for N = k/d(k), where d(k) is the number of divisors of&...



Activity

LordPhantomAssasinator solved 4 months, 3 weeks ago
TheLegend27 solved 1 year, 7 months ago
Doshkey solved 1 year, 7 months ago
3
bhartman
make a simple program

Description

make a simple program to change to first later of string is $ expect first string example

my name is raj

should be ...



Activity

jstek solved 8 months, 2 weeks ago
LordPhantom solved 11 months, 4 weeks ago
Doshkey solved 1 year ago
0
raj0kumar00
Hello world

Description

this is an easy question for beginners



Activity

LordPhantomAssasinator solved 4 months, 3 weeks ago
LordPhantom solved 6 months, 4 weeks ago
redshark2002 solved 7 months, 4 weeks ago
0
jstek
Transitive subsets

Description

Let \(V_0 = \varnothing\) be the empty set and for \(i>0\), let \(V_i = \mathcal{P}(V_{i-1})\)...



Activity

LordPhantom solved 1 year, 7 months ago
Doshkey solved 1 year, 10 months ago
dominic solved 1 year, 11 months ago
3
ArbitraryRenaissance
One Time Pad Cipher

Description

The One Time Pad cipher is a method of encrypting alphabetical messages.

 

How it works:

It works by converti...



Activity

acheron2302 solved 7 months ago
Doshkey solved 1 year, 7 months ago
1
LordPhantom

Description



Activity

LordPhantom solved 11 months, 4 weeks ago
Doshkey solved 1 year ago
0
elBay
periodic cycle lengths

Description

Any rational number \(a/b\) can be written as a decimal expansion which either is finite or has a period, a recu...



Activity

LordPhantomAssasinator solved 4 months, 3 weeks ago
ArbitraryRenaissance solved 1 year, 9 months ago
3
Doshkey
coding

Description

adding of two numbers



Activity

LordPhantom solved 2 months, 3 weeks ago
anjali mewada solved 3 months, 2 weeks ago
0
nikky
Modded File

Description

Do something with a file given by input.



Activity

Sai Praneetha Goud solved 8 months ago
LordPhantom solved 11 months, 4 weeks ago
0
Rishit123

Description



Activity

LordPhantom solved 2 months, 3 weeks ago
0
octavio
Generic Double Ended Queue

Description

Deque or Double Ended Queue is a generalized version of Queue data structure that allows insert and de...



Activity

dominic solved 1 year, 4 months ago
0
buGbgourav
I need help please

Description

Write a function:

function solution(A);

that, given an array A of N integers, returns the smallest positive integer...



Activity

No activity
0
samayorinde
Highly Composite

Description

A highly composite number is a number with more factors than any of the previous numbers before it. A simple list of ...



Activity

No activity
0
LordPhantomAssasinator
1

Description

he



Activity

No activity
0
metalize
cccccxx

Description

xcxzc



Activity

No activity
0
Mayura146
TestProblem

Description

Do stuff



Activity

No activity
0
AlexBrown