Project Euler #123: Prime square remainders