cp's OEIS Frontend

This is a front-end for the Online Encyclopedia of Integer Sequences, made by Christian Perfect. The idea is to provide OEIS entries in non-ancient HTML, and then to think about how they're presented visually. The source code is on GitHub.

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.

Original entry on oeis.org

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

Views

Author

N. J. A. Sloane, Mar 13 2022

Keywords

Comments

This is the amount by which p appears in advance of its expected position.

Crossrefs

Formula

a(n) = 2*A008578(n) - A064955(n-1).