Solutions to Project Euler's problem