Euler solved problem 36