Euler - problem 2