// archives

hackerRank

This tag is associated with 31 posts

Project Euler 24 Solution

What is the millionth lexicographic permutation of the digits 0, 1, 2, 3, 4, 5, 6, 7, 8 and 9?

Project Euler 26 Solution

Find the value of d < 1000 for which 1/d contains the longest recurring cycle.

Project Euler 27 Solution

Find a quadratic formula that produces the maximum number of primes for consecutive values of n.

Project Euler 28 Solution

Find the sum of both diagonals in a square spiral.

Project Euler 34 Solution

Find the sum of all numbers which are equal to the sum of the factorial of their digits.

Project Euler 40 Solution

Compose Champernowne’s constant

Project Euler 41 Solution

Find the largest n-digit pandigital prime that exists

Project Euler 46 Solution

Find the smallest odd composite that cannot be written as the sum of a prime and twice a square.

Project Euler 47 Solution

Find the first four consecutive integers to have four distinct primes factors.

Project Euler 48 Solution

Find the last ten digits of 1^1 + 2^2 + … + 1000^1000.