Project Euler 22