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.

A373813 a(n) is the smallest number of straight lines needed to intersect all points (k, prime(k)) for k = 1..n.

Original entry on oeis.org

1, 1, 2, 2, 2, 3, 3, 3, 3, 4, 4, 4, 4, 4, 4, 4, 5, 5, 5, 5, 5, 5, 5, 5, 6, 6, 7, 7, 7, 7, 7, 8, 8, 8, 9, 9, 9, 9, 9, 10, 10, 10, 10, 11, 11, 11, 12, 12, 12, 12, 12, 13, 13, 13, 13, 13, 13, 13, 13, 14, 14, 14, 14, 14, 14, 14, 14, 14, 14, 14, 14, 14, 14, 14, 14, 14, 14, 14, 14, 14, 14, 14, 14, 14, 14, 14, 14, 14, 14, 14, 14, 14, 14, 14, 14, 14, 14, 14, 14, 15
Offset: 1

Views

Author

Rémy Sigrist and N. J. A. Sloane, Aug 18 2024

Keywords

Comments

Dan Asimov asks if the graph is trying to converge to the Cantor (or Devil's Staircase) function. - N. J. A. Sloane, Aug 25 2024

Crossrefs

Cf. A373814 (run lengths), A373810 (same with y(k) = phi(k)), A373811 (similar with y(k) = a(k)), A375499 (same with y(k)=sigma(k)).
See also A376187, A376188, A376190 for single lines.

Extensions

Terms a(19) onward from Max Alekseyev, Aug 18 2024