Solutions to mathematical problems from projecteuler.net