Project Euler problem 36.
Solved project-euler problem 37.