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

A168279
(n+1)-th prime nonprime minus (n+1)-th prime.
0
1, 3, 3, 5, 7, 8, 8, 10, 11, 13, 14, 15, 15, 17, 19, 21, 21, 23, 23, 23, 26, 28, 29, 29, 31, 31, 33, 33, 33, 37, 38, 39, 39, 41, 43, 45, 45, 46, 46, 47, 49, 52, 52, 52, 53, 55, 59, 60, 60, 61, 61, 61, 64, 65, 65, 66, 67, 67, 69, 69, 71, 74, 75, 75, 76, 79, 79, 81, 81, 83, 85, 86
OFFSET
1,2
FORMULA
a(n)=A141468(A000040(n+1))-A000040(n+1)=A144570(n+1)-A000040(n+1).
CROSSREFS
Cf. A000040(the primes), A141468(the positive nonprimes), A144570(the prime nonprimes).
Sequence in context: A101300 A172290 A076524 * A171957 A278166 A293990
KEYWORD
nonn
AUTHOR
STATUS
approved