Project Euler Problem 26