Project Euler #152: Writing 1/2 as a sum of inverse squares