Euler problem 10.