login
This site is supported by donations to The OEIS Foundation.
Logo

Hints
(Greetings from The On-Line Encyclopedia of Integer Sequences!)
A092044 Numbers n such that prime(n) == -2 (mod n). 13
1, 11, 71, 637319, 637323, 637327, 179993015, 1208198861, 8179002163, 8179002189, 55762149067, 55762149103 (list; graph; refs; listen; history; internal format)
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 - 2, Print[n]], {n, 1, 10^9}]

PROG

(PARI) for(i=1, 10^9, if(Mod(prime(i), i)==-2, print1(i, ", ")));

CROSSREFS

Cf. A023144, A045924, A092045, A092046, A092047, A092048, A092049, A092050, A092051, A092052.

Cf. A105290.

Sequence in context: A103998 A160587 A034196 * A156149 A006975 A084900

Adjacent sequences:  A092041 A092042 A092043 * A092045 A092046 A092047

KEYWORD

nonn

AUTHOR

Robert G. Wilson v (rgwv(AT)rgwv.com), Feb 18 2004

EXTENSIONS

Corrected by Mohammed Bouayoun (bouyao(AT)wanadoo.fr), Feb 20 2004

a(7)-a(12) from Robert G. Wilson v (rgwv(at)rgwv.com), Feb 22 2006

Lookup | Welcome | Wiki | Register | Music | Plot 2 | Demos | Index | Browse | More | WebCam
Contribute new seq. or comment | Format | Transforms | Puzzles | Hot | Classics
Recent Additions | More pages | Superseeker | Maintained by The OEIS Foundation Inc.

Content is available under The OEIS End-User License Agreement .

Last modified February 14 17:05 EST 2012. Contains 205642 sequences.