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

A352194
It seems that the n-th prime p appears in A064413 at around position 2*p; if in fact A064413(w) = p then set a(n) = 2*p-w.
2
2, 1, 0, 0, 2, -2, 1, 1, 3, 1, 1, 7, 8, 5, 5, 6, 11, 7, 6, 8, 8, 7, 6, 11, 12, 13, 9, 11, 11, 10, 18, 9, 15, 14, 19, 15, 17, 21, 20, 18, 22, 18, 19, 15, 17, 17, 21, 26, 24, 20, 22, 20, 20, 28, 27, 25, 28, 25, 24, 22, 17, 29, 33, 35, 27, 28, 33, 35, 39, 34, 36, 37, 35, 39, 34, 36, 42, 38, 36, 37, 40, 40, 48, 47, 45, 38, 41, 40
OFFSET
1,1
COMMENTS
This is the amount by which p appears in advance of its expected position.
LINKS
FORMULA
a(n) = 2*A008578(n) - A064955(n-1).
CROSSREFS
KEYWORD
sign
AUTHOR
N. J. A. Sloane, Mar 13 2022
STATUS
approved