login
The OEIS is supported by the many generous donors to the OEIS Foundation.

 

Logo
Hints
(Greetings from The On-Line Encyclopedia of Integer Sequences!)
A156154 Primes p such that prime(p)=2 (mod p), where prime(p)=A000040(p) is the p-th prime. 4
3, 13, 73, 637321, 27067133 (list; graph; refs; listen; history; text; internal format)
OFFSET
1,1
LINKS
FORMULA
a(n) = A000040(A156155(n)) ; A156154 = intersection of A000040 and A023144.
MATHEMATICA
Select[Prime[Range[17*10^5]], Mod[Prime[#], #]==2&] (* Harvey P. Dale, Dec 28 2022 *)
PROG
(PARI) p=c=0; until(0, until( isprime(c++), p=nextprime(p+1)); (p-2)%c & next; print1( c", "))
CROSSREFS
Cf. A156153.
Sequence in context: A162161 A119013 A190878 * A334785 A349533 A020094
KEYWORD
hard,more,nonn
AUTHOR
M. F. Hasler, Feb 04 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 | Recents
The OEIS Community | Maintained by The OEIS Foundation Inc.

License Agreements, Terms of Use, Privacy Policy. .

Last modified March 29 05:28 EDT 2024. Contains 371264 sequences. (Running on oeis4.)