Euler problem 6