Hello World

Description

The most simple of Python programs.



Activity

Julia solved 1 day, 14 hours ago
Akash_Rajvanshi solved 1 day, 14 hours ago
iamneel solved 3 days, 15 hours ago
12
Joseph
Sum in Array

Description

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



Activity

KH121 solved 1 week ago
allan_fisher solved 1 week ago
HARISH solved 1 week, 2 days ago
11
dominic
Exponentiation

Description

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



Activity

allan_fisher solved 1 week ago
rasulzhan solved 1 week, 4 days ago
arora23saurabh solved 1 week, 6 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

rasulzhan solved 1 week, 3 days ago
arora23saurabh solved 1 week, 3 days ago
ethaniel solved 3 weeks, 4 days 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

capitalch@gmail.com solved 2 weeks, 1 day ago
ethaniel solved 3 weeks, 4 days ago
alperdcso solved 1 month 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

ethaniel solved 3 weeks, 4 days ago
Snehanjan29 solved 1 month, 1 week ago
sushmasreerudroju solved 1 month, 3 weeks 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

ethaniel solved 3 weeks, 4 days ago
Snehanjan29 solved 1 month, 1 week ago
sushmasreerudroju solved 1 month, 2 weeks ago
3
dominic
Product in Array

Description

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



Activity

allan_fisher solved 1 week ago
GargiSamaiya solved 3 weeks, 3 days ago
ethaniel solved 3 weeks, 4 days 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

ethaniel solved 3 weeks, 4 days ago
Snehanjan29 solved 1 month, 1 week ago
acheron2302 solved 2 months, 2 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

capitalch@gmail.com solved 2 weeks, 1 day ago
ethaniel solved 3 weeks, 4 days ago
acheron2302 solved 2 months, 2 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

ethaniel solved 3 weeks, 4 days ago
acheron2302 solved 2 months, 2 weeks ago
rishita chowdary solved 4 months, 3 weeks ago
2
dominic
Factorial

Description

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



Activity

ethaniel solved 3 weeks, 4 days ago
acheron2302 solved 2 months, 1 week ago
nkandy44 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

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

ethaniel solved 3 weeks, 1 day ago
acheron2302 solved 2 months, 1 week ago
Rahul solved 6 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 months, 2 weeks ago
Rahul solved 6 months, 1 week ago
Erik385 solved 6 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

gaurav007_ solved 1 month, 3 weeks ago
acheron2302 solved 2 months, 1 week ago
Erik385 solved 6 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

ethaniel solved 3 weeks, 1 day ago
acheron2302 solved 1 month, 3 weeks ago
gaurav007_ solved 1 month, 4 weeks ago
1
dominic
Factorial II

Description

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



Activity

ethaniel solved 3 weeks, 4 days ago
acheron2302 solved 1 month, 3 weeks ago
sarvar883 solved 7 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

TIMTOWTDI solved 1 month ago
acheron2302 solved 1 month, 3 weeks ago
nkandy44 solved 7 months, 2 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

acheron2302 solved 1 month, 3 weeks ago
gaurav007_ solved 1 month, 3 weeks ago
christophbodenstein solved 6 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

gaurav007_ solved 1 month, 4 weeks ago
pouitre solved 1 year, 2 months ago
TheLegend27 solved 1 year, 2 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

acheron2302 solved 1 month, 3 weeks ago
gaurav007_ solved 1 month, 4 weeks ago
TheLegend27 solved 1 year, 2 months ago
1
dominic
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

ethaniel solved 3 weeks, 1 day ago
bobobob1 solved 7 months, 3 weeks ago
TheLegend27 solved 1 year, 2 months ago
5
ArbitraryRenaissance
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 9 months, 1 week ago
TheLegend27 solved 1 year, 2 months ago
bhartman solved 1 year, 2 months ago
1
dominic
Radix

Description

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



Activity

arora23saurabh solved 1 week, 6 days ago
gaurav007_ solved 1 month, 4 weeks ago
bhartman solved 1 year, 2 months ago
1
e^iπ+1=0
Lychrel Numbers

Description

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



Activity

gaurav007_ solved 1 month, 4 weeks ago
TheLegend27 solved 1 year, 2 months ago
LordPhantom solved 1 year, 2 months ago
2
Doshkey
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

gaurav007_ solved 1 month, 3 weeks ago
e^iπ+1=0 solved 1 year ago
RED solved 1 year, 1 month 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

LordPhantom solved 1 month, 3 weeks ago
buGbgourav solved 11 months, 3 weeks ago
bhartman solved 1 year, 2 months ago
4
e^iπ+1=0
Minimal sigma-totient product

Description

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



Activity

gaurav007_ solved 1 month, 3 weeks ago
TheLegend27 solved 1 year, 2 months ago
bhartman solved 1 year, 2 months ago
3
ArbitraryRenaissance
Sum

Description

1+3



Activity

MX23 solved 1 week, 2 days ago
arora23saurabh solved 1 week, 6 days ago
GargiSamaiya solved 3 weeks, 2 days ago
0
redshark2002
Huffman Decoding

Description

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

Huffman code table

Symbol Bit C...


Activity

gaurav007_ solved 1 month, 3 weeks ago
kugelhupf solved 11 months, 2 weeks ago
Mirwise001 solved 1 year ago
0
Doshkey
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

gaurav007_ solved 1 month, 3 weeks ago
e^iπ+1=0 solved 1 year ago
LordPhantom solved 1 year, 2 months ago
1
Doshkey
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 1 year ago
LordPhantom solved 1 year, 2 months ago
bhartman solved 1 year, 2 months 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 3 months, 1 week ago
LordPhantom solved 6 months, 3 weeks ago
Doshkey solved 7 months, 1 week ago
0
raj0kumar00
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, 2 months ago
Doshkey solved 1 year, 2 months ago
LordPhantom solved 1 year, 2 months 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, 2 months ago
Doshkey solved 1 year, 5 months ago
dominic solved 1 year, 6 months ago
3
ArbitraryRenaissance
Modded File

Description

Do something with a file given by input.



Activity

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

Description

this is an easy question for beginners



Activity

LordPhantom solved 1 month, 3 weeks ago
redshark2002 solved 2 months, 3 weeks ago
0
jstek

Description



Activity

LordPhantom solved 6 months, 3 weeks ago
Doshkey solved 7 months, 1 week ago
0
elBay
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 1 month, 3 weeks ago
Doshkey solved 1 year, 2 months ago
1
LordPhantom
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 11 months, 3 weeks ago
0
buGbgourav
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, 4 months ago
2
Doshkey
TestProblem

Description

Do stuff



Activity

No activity
0
AlexBrown
cccccxx

Description

xcxzc



Activity

No activity
0
Mayura146