Project Euler Problem 153

Link to the problem.
You can find the code here