Project Euler #22