login
A092048
Numbers n such that prime(n) == -6 (mod n).
10
1, 439, 100349, 100361, 100363, 27066991, 27067117, 1208198633, 8179002133
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 - 6, 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(8)-a(9) from Robert G. Wilson v, Feb 22 2006
STATUS
approved