Added prime p^2 + 1.