// author archive

Mike Molony

Mike Molony has written 149 posts for Dreamshire

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 1 Solution

Find the sum of all the natural numbers that are multiples of 3 or 5 using the inclusion-exclusion principal.

Project Euler 2 Solution

Find the sum of all the even-valued terms in the Fibonacci sequence which do not exceed 4 million.

Project Euler 3 Solution

Find the largest prime factor of a composite number.

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 6 Solution

Find the difference between the sum of the squares and the square of the sum.

Project Euler 7 Solution

Find the 10001st prime.