Project Euler problem 75 (incorrect)