Euler problem 1