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!)
A156153 Primes p such that p == 2 (mod pi(p)) and pi(p) is prime. 4
5, 41, 367, 9559817, 514275529 (list; graph; refs; listen; history; text; internal format)
OFFSET

1,1

LINKS

Table of n, a(n) for n=1..5.

FORMULA

a(n) = A000040(A156154(n)) = A000040(A000040(A156155(n))).

PROG

(PARI) p=c=0; until(0, until( isprime(c++), p=nextprime(p+1)); (p-2)%c & next; print1(p, ", ")); \\ Modified by Jinyuan Wang, Feb 22 2020

CROSSREFS

Cf. A023144, A156152, A156154, A156155.

Sequence in context: A155612 A145215 A083884 * A026000 A058475 A199684

Adjacent sequences:  A156150 A156151 A156152 * A156154 A156155 A156156

KEYWORD

nonn,hard,more

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 | Recent
The OEIS Community | Maintained by The OEIS Foundation Inc.

License Agreements, Terms of Use, Privacy Policy. .

Last modified July 25 22:38 EDT 2021. Contains 346294 sequences. (Running on oeis4.)