Solutions to problems on www.projecteuler.net (Credit for questions go to www.projecteuler.net)