login
A092046
Numbers n such that prime(n) == -4 (mod n).
10
1, 3, 5, 7, 9, 67, 441, 2615, 637237, 637329, 4124703, 27067119, 179993017, 1208198617, 8179002101, 55762149071, 55762149091
OFFSET
1,2
MATHEMATICA
NextPrim[n_] := Block[{k = n + 1}, While[ !PrimeQ[k], k++ ]; k]; p = 1; Do[ If[ Mod[p = NextPrim[p], n] == n - 4, Print[n]], {n, 1, 10^9}]
KEYWORD
nonn
AUTHOR
Robert G. Wilson v, Feb 18 2004
EXTENSIONS
Corrected by Mohammed Bouayoun (bouyao(AT)wanadoo.fr), Feb 20 2004
a(13)-a(17) from Robert G. Wilson v, Feb 22 2006
STATUS
approved