Euler solved problem 56