// archives

Python

This tag is associated with 112 posts

Project Euler 135 Solution

Determining the number of solutions of the equation x2 − y2 − z2 = n.

Project Euler 104 Solution

Find Fibonacci numbers for which the first and last nine digits are pandigital.

Common Functions and Routines for Project Euler

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 […]

Project Euler 121 Solution

Investigate the game of chance involving colored discs.

Project Euler 4 Solution

Find the largest palindrome made from the product of two 3-digit numbers.

Project Euler 5 Solution

Find the smallest number divisible by each of the numbers 1 to 20.

Project Euler 12 Solution

Find the value of the first triangle number to have over five hundred divisors

Project Euler 15 Solution

Find the number of routes from the top left corner to the bottom right corner in a rectangular grid.

Project Euler 18 Solution

Maximum sum from top to bottom of triangular array.

Project Euler 21 Solution

Evaluate the sum of all amicable pairs under 10,000.