Euler Problem 6