login
A353706
n appears in A093714 a(n) steps earlier than expected.
3
0, -1, 1, -1, 1, -1, 1, -1, -2, -4, 3, -4, 3, 2, -3, -5, 4, -5, 4, -5, 1, 3, 6, -5, 3, -1, 1, -5, 5, -7, 3, 1, -1, -5, 5, -7, 5, 3, -1, -5, 5, -9, 5, 3, -3, -1, 5, -5, 5, -5, 5, 3, 1, -5, 5, -1, 1, -3, 5, -5, 3, -1, 1, -3, 5, -5, 3, -1, 1, -3, 5, -5
OFFSET
1,9
COMMENTS
It appears that a positive number n appears in A093714 at about the n-th term; if in fact A093714(k) = n, then a(n) = n - k.
An equivalent definition uses the inverse to A093714: a(n) = n - A093715(n).
LINKS
Rémy Sigrist, PARI program
EXAMPLE
A093714(8) = 11, so 11 has appeared 3 steps early, therefore a(11) = 11 - 8 = 3.
PROG
(PARI) See Links section.
CROSSREFS
KEYWORD
sign
AUTHOR
N. J. A. Sloane, May 05 2022
STATUS
approved