Euler problem 60

A solution to Euler problem 60