Euler problem 2