The tenth problem from ProjectEuler.net