// archives

Project Euler Solutions

This category contains 150 posts

Project Euler 140 Solution

Modified Fibonacci golden nuggets

Project Euler 147 Solution

Count the number of horizontal, vertical and diagonal rectangles in a rectangular grid

Project Euler 101 Solution

Investigate the optimum polynomial function to model the first k terms of a given sequence.

Project Euler 102 Solution

Determine if the origin is contained inside a triangle.

Project Euler 114 Solution

Count the ways a row measuring fifty units in length could be filled with blocks three units long. The blocks must be separated by at least one empty space.

Project Euler 115 Solution

Fill an empty row with blocks, a minimum length of 50 units, until the size of the row exceeds 1,000,000 units. The blocks must be separated by at least one empty space.

Project Euler 116 Solution

Count the number of ways a space 50 units long could be filled by tiles, homogeneously, measuring 2, 3 or 4 units long.

Project Euler 117 Solution

Count the number of ways a space 50 units long could be filled by tiles, heterogeneously, measuring 2, 3 or 4 units long.

Project Euler 123 Solution

Find the maximum remainder when (p − 1)n + (p + 1)n is divided by p2 for prime p.

Project Euler 128 Solution

Find the 2000th hexagonal tile in which the differences between it and its 6 neighbors yield 3 primes.