Exercises from projecteuler.net/problems