// author archive

Mike Molony

Mike Molony has written 100 posts for Dreamshire

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.

Project Euler 22 Solution

Calculate the total of all the name scores in the file of first names.

Project Euler 28 Solution

Find the sum of both diagonals in a square spiral.