problem 2 from euler