Hello World

Description

The most simple of Python programs.



Activity

javagirl solved 9 hours, 3 minutes ago
raithespaceknight solved 1 day, 5 hours ago
TimTimW17 solved 2 days ago
12
Joseph
Sum in Array

Description

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



Activity

raithespaceknight solved 1 day, 5 hours ago
samyndriss solved 2 days, 14 hours ago
rishi solved 5 days, 8 hours ago
11
dominic
Exponentiation

Description

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



Activity

samyndriss solved 2 days, 14 hours ago
acheron2302 solved 2 weeks, 2 days ago
Mounika solved 1 month 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

samyndriss solved 2 days, 13 hours ago
acheron2302 solved 2 weeks, 2 days ago
siddhartha07 solved 1 month, 3 weeks ago
9
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

samyndriss solved 2 days, 13 hours ago
acheron2302 solved 2 weeks, 2 days ago
code_biting_01 solved 1 month, 4 weeks 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

acheron2302 solved 2 weeks, 2 days ago
akshayg79 solved 1 month ago
sdreddy solved 4 months ago
17
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

acheron2302 solved 1 week, 6 days ago
rishita chowdary solved 2 months, 2 weeks ago
swapthedude9423 solved 4 months ago
3
dominic
Product in Array

Description

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



Activity

acheron2302 solved 1 week, 6 days ago
Baazigar solved 2 months ago
rishita chowdary solved 2 months, 2 weeks 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

acheron2302 solved 1 week, 6 days ago
rishita chowdary solved 2 months, 2 weeks ago
swapthedude9423 solved 4 months 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

acheron2302 solved 1 week, 4 days ago
swapthedude9423 solved 4 months ago
Rahul solved 4 months 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

acheron2302 solved 1 week, 4 days ago
rishita chowdary solved 2 months, 2 weeks ago
ayesha solved 4 months ago
2
dominic
Factorial

Description

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



Activity

acheron2302 solved 1 week ago
nkandy44 solved 5 months, 2 weeks ago
Tristo solved 5 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

acheron2302 solved 1 week, 1 day ago
rishita chowdary solved 2 months, 2 weeks ago
Rahul solved 4 months 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

acheron2302 solved 1 week, 1 day ago
Rahul solved 4 months ago
pandey_nimisha solved 5 months, 1 week 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

acheron2302 solved 2 weeks, 1 day ago
Rahul solved 4 months ago
Erik385 solved 4 months 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

acheron2302 solved 1 week ago
Erik385 solved 4 months ago
sarvar883 solved 5 months, 1 week 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

bobobob1 solved 5 months, 3 weeks ago
kugelhupf solved 9 months, 1 week ago
Mirwise001 solved 10 months, 3 weeks ago
1
dominic
Factorial II

Description

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



Activity

sarvar883 solved 5 months, 1 week ago
Miguel solved 9 months, 2 weeks ago
gaurav007_ solved 11 months, 2 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

nkandy44 solved 5 months, 2 weeks ago
dhruvesh_shah solved 7 months, 2 weeks ago
kugelhupf solved 9 months, 1 week 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

christophbodenstein solved 3 months, 4 weeks ago
nkandy44 solved 5 months, 2 weeks ago
Sanjay Mangrani solved 7 months, 4 weeks 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

pouitre solved 1 year ago
TheLegend27 solved 1 year ago
bhartman solved 1 year 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

TheLegend27 solved 1 year ago
bhartman solved 1 year ago
LordPhantom solved 1 year ago
1
dominic
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

oniraMV solved 7 months, 1 week ago
TheLegend27 solved 1 year ago
bhartman solved 1 year ago
1
dominic
Lychrel Numbers

Description

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



Activity

TheLegend27 solved 1 year ago
LordPhantom solved 1 year ago
bhartman solved 1 year ago
2
Doshkey
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

bobobob1 solved 5 months, 3 weeks ago
TheLegend27 solved 1 year ago
LordPhantom solved 1 year ago
5
ArbitraryRenaissance
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

e^iπ+1=0 solved 10 months ago
RED solved 11 months ago
LordPhantom solved 1 year ago
1
Doshkey
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

buGbgourav solved 9 months, 3 weeks ago
bhartman solved 1 year ago
Phlosioneer solved 1 year, 2 months ago
4
e^iπ+1=0
Radix

Description

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



Activity

bhartman solved 1 year ago
TheLegend27 solved 1 year ago
LordPhantom solved 1 year ago
1
e^iπ+1=0
Huffman Decoding

Description

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

Huffman code table

Symbol Bit C...


Activity

kugelhupf solved 9 months, 1 week ago
Mirwise001 solved 10 months, 3 weeks ago
bhartman solved 1 year ago
0
Doshkey
Minimal sigma-totient product

Description

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



Activity

TheLegend27 solved 1 year ago
bhartman solved 1 year ago
LordPhantom solved 1 year 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

e^iπ+1=0 solved 10 months ago
LordPhantom solved 1 year ago
bhartman solved 1 year ago
4
ArbitraryRenaissance
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 1 month ago
LordPhantom solved 4 months, 2 weeks ago
Doshkey solved 5 months ago
0
raj0kumar00
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

e^iπ+1=0 solved 10 months ago
LordPhantom solved 1 year ago
bhartman solved 1 year 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

TheLegend27 solved 1 year ago
Doshkey solved 1 year ago
LordPhantom solved 1 year ago
3
bhartman
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 ago
Doshkey solved 1 year, 3 months ago
dominic solved 1 year, 3 months ago
3
ArbitraryRenaissance

Description



Activity

LordPhantom solved 4 months, 2 weeks ago
Doshkey solved 5 months ago
0
elBay
Modded File

Description

Do something with a file given by input.



Activity

Sai Praneetha Goud solved 3 weeks, 2 days ago
LordPhantom solved 4 months, 2 weeks ago
0
Rishit123
Hello world

Description

this is an easy question for beginners



Activity

redshark2002 solved 2 weeks, 6 days ago
0
jstek
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

ArbitraryRenaissance solved 1 year, 1 month ago
2
Doshkey
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 9 months, 2 weeks ago
0
buGbgourav
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

Doshkey solved 1 year ago
1
LordPhantom
Sum

Description

1+3



Activity

No activity
0
redshark2002
TestProblem

Description

Do stuff



Activity

No activity
0
AlexBrown