What follows is a solution to Project Euler problem 215.