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”).

A156149
Primes p such that prime(p)+2 = 0 (mod p), where prime(p)=A000040(p) is the p-th prime.
3
11, 71, 637319, 637327
OFFSET
1,1
COMMENTS
The subsequence of primes in A092044.
FORMULA
a(n) = A000720(A156150(n)) = A000040(A156148(n))
PROG
(PARI) p=c=0; until(0, until( isprime(c++), p=nextprime(p+1)); (p+2)%c & next; print1( c", "))
CROSSREFS
Cf. A156154.
Sequence in context: A034196 A236173 A092044 * A258402 A006975 A260585
KEYWORD
hard,more,nonn
AUTHOR
M. F. Hasler, Feb 04 2009
STATUS
approved