login
The OEIS Foundation is supported by donations from users of the OEIS and by a grant from the Simons Foundation.

 

Logo


Hints
(Greetings from The On-Line Encyclopedia of Integer Sequences!)
A023147 Numbers n such that prime(n) == 5 (mod n). 13
1, 2, 3, 9, 16, 33, 40073, 40078, 40082, 40083, 40122, 251721, 251722, 251734, 251736, 4124584, 10553433, 10553439, 10553444, 10553454, 10553478, 10553552, 10553553, 10553818, 27067098, 27067524, 179992912, 465769814, 465769832, 465769839 (list; graph; refs; listen; history; text; internal format)
OFFSET

1,2

LINKS

Giovanni Resta, Table of n, a(n) for n = 1..68

MATHEMATICA

p = 1; Do[ If[ Mod[p = NextPrime[p], n] == 5, Print[n]], {n, 1, 10^9}] (* Robert G. Wilson v, Feb 18 2004 *)

CROSSREFS

Cf. A171432, A092047, A023143, A023144, A023145, A023146, A023148, A023149, A023150, A023151, A023152.

Sequence in context: A206777 A173809 A298355 * A220123 A220125 A095742

Adjacent sequences:  A023144 A023145 A023146 * A023148 A023149 A023150

KEYWORD

nonn

AUTHOR

David W. Wilson

EXTENSIONS

More terms from Robert G. Wilson v, Feb 18 2004

a(24)-a(27) from Robert G. Wilson v, Feb 18 2004

Three missing initial terms at start of sequence inserted by Zak Seidov, Feb 05 2009

STATUS

approved

Lookup | Welcome | Wiki | Register | Music | Plot 2 | Demos | Index | Browse | More | WebCam
Contribute new seq. or comment | Format | Style Sheet | Transforms | Superseeker | Recent
The OEIS Community | Maintained by The OEIS Foundation Inc.

License Agreements, Terms of Use, Privacy Policy. .

Last modified June 15 13:33 EDT 2021. Contains 345048 sequences. (Running on oeis4.)