A277167 Prime numbers p such that (-1)^h + (h!)^2 == 0 (mod p^2) where h = (p-1)/2.
3, 11, 31, 47, 53
Offset: 1
Examples
(-1)^((11-1)/2)+(((11-1)/2)!)^2 = 14399 = 7*11^2*17.
References
- Lagrange, "Démonstration d’un théoreme nouveau concernant les nombres premiers," Nouveaux Mémoires de l’Académie Royale des Sciences et Belles-Lettres [de Berlin], année 1771 (published 1783), 125-137.
- G. B. Mathews, Theory of Numbers, part 1 [all published] (Cambridge, 1892), 318.
Links
- René Gy, Find the next "Wilson-like" prime.
Programs
-
PARI
lista(nn) = forprime(p=3, nn, if ((((-1)^((p-1)/2)+(((p-1)/2)!)^2) % p^2) == 0, print1(p, ", "))); \\ Michel Marcus, Oct 02 2016
Comments