Round 2 Euler Problem 6