Algorithms for problems from projecteuler.net