Problem 10 of Euler