login
A352195
It seems that the n-th prime p appears in A098550 at around position 2*p; if in fact A098550(w) = p then set a(n) =w-2*p.
1
-2, -3, -1, 1, 0, -3, -4, 5, 5, 3, 0, 5, 5, 2, 7, 8, 9, 10, 8, 11, 12, 9, 9, 16, 10, 13, 16, 19, 20, 21, 20, 21, 22, 23, 26, 27, 24, 29, 30, 29, 28, 31, 32, 37, 36, 37, 30, 33, 36, 39, 40, 45, 46, 39, 36, 45, 44, 47, 48, 49, 54, 51, 54, 53, 56, 57, 58, 55, 60, 61, 60, 61, 60, 63, 62, 65, 70, 67, 66, 67, 66, 67, 74
OFFSET
1,1
COMMENTS
This is the amount by which p lags behind its expected position.
LINKS
Rémy Sigrist, Table of n, a(n) for n = 1..10000 (first 633 terms from N. J. A. Sloane)
Rémy Sigrist, PARI program
PROG
(PARI) See Links section.
CROSSREFS
Cf. A098550.
Sequence in context: A321935 A309936 A321900 * A321895 A321899 A027870
KEYWORD
sign
AUTHOR
N. J. A. Sloane, Mar 14 2022
STATUS
approved