login

Year-end appeal: Please make a donation to the OEIS Foundation to support ongoing development and maintenance of the OEIS. We are now in our 61st year, we have over 378,000 sequences, and we’ve reached 11,000 citations (which often say “discovered thanks to the OEIS”).

A156150
Primes p such that p+2 = 0 (mod pi(p)) and pi(p)=A000720(p) is prime.
1
31, 353, 9559783, 9559903
OFFSET
1,1
COMMENTS
A subsequence of A156151.
FORMULA
a(n) = A000040(A156149(n))
PROG
(PARI) p=c=0; until(0, until( isprime(c++), p=nextprime(p+1)); (p+2)%c & next; print1( p", "))
CROSSREFS
Cf. A156153.
Sequence in context: A197644 A295211 A261759 * A125419 A138440 A307008
KEYWORD
hard,more,nonn
AUTHOR
M. F. Hasler, Feb 04 2009
STATUS
approved