Project Euler #226: A Scoop of Blancmange