did problem 1 in euler