Project Euler 51.