Project Euler 46.