Determining the number of solutions of the equation x2 − y2 − z2 = n.
Common functions and helpful tools used to solve problems in Project Euler: Downloadable source: Euler.py source A set of routines used to help solve math problems. Euler.py is included as needed. The example below shows typical Python usage: from Euler import is_prime, is_perm Here is the contents of Euler.py from math import sqrt, ceil import […]
Investigate the game of chance involving colored discs.
Find the largest palindrome made from the product of two 3-digit numbers.
Find the smallest number divisible by each of the numbers 1 to 20.
Find the value of the first triangle number to have over five hundred divisors
Find the sum of both diagonals in a square spiral.
Compose Champernowne’s constant
Find the smallest odd composite that cannot be written as the sum of a prime and twice a square.
Find the first four consecutive integers to have four distinct primes factors.