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

A142348
Primes of the form (p(n)+r(n)), where p(n)=n-th prime and r(n)=n-th nonprime.
2
2, 13, 19, 31, 37, 47, 61, 103, 137, 149, 293, 313, 349, 397, 421, 439, 463, 491, 587, 727, 751, 863, 929, 1049, 1153, 1187, 1229, 1289, 1297, 1361, 1427, 1483, 1493, 1553, 1571, 1601, 1741, 1787, 1847, 1867, 1933, 1997, 2027, 2069, 2131, 2239, 2389, 2411
OFFSET
1,1
EXAMPLE
If n=1, then p(1)+r(1)=2+0=2=a(1).
If n=4, then p(4)+r(4)=7+6=13=a(2).
If n=5, then p(5)+r(5)=11+8=19=a(3).
If n=8, then p(8)+r(8)=19+12=31=a(4).
If n=9, then p(9)+r(9)=23+14=37=a(5), etc.
CROSSREFS
Sequence in context: A297854 A298089 A067208 * A309663 A347259 A181686
KEYWORD
nonn
AUTHOR
EXTENSIONS
Corrected (239 removed, 1847 removed, 1997 inserted) by R. J. Mathar, Apr 28 2010
STATUS
approved