login

Reminder: The OEIS is hiring a new managing editor, and the application deadline is January 26.

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