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

A276117
a(n) is the difference in A064413 between the index of p, the n-th prime, and the index of (p-1).
0
1, 3, 7, 10, 11, 21, 16, 25, 24, 31, 38, 37, 34, 46, 47, 53, 51, 63, 69, 79, 75, 81, 87, 88, 91, 103, 102, 104, 109, 112, 119, 140, 127, 133, 134, 146, 150, 156, 155, 164, 170, 175, 189, 193, 197, 197, 209, 215, 215, 224, 221, 237, 237, 246, 247, 249, 254, 266
OFFSET
1,2
FORMULA
a(n) = A064664(A000040(n)) - A064664(A006093(n)).
a(n) = A064664(prime(n)) - A064664(prime(n)-1).
CROSSREFS
Sequence in context: A308169 A343225 A363245 * A105135 A225552 A147683
KEYWORD
nonn
AUTHOR
Alec Jones, Aug 31 2016
STATUS
approved