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.

A339823 a(n) = A056239(n) - A000523(n).

Original entry on oeis.org

0, 0, 1, 0, 1, 1, 2, 0, 1, 1, 2, 1, 3, 2, 2, 0, 3, 1, 4, 1, 2, 2, 5, 1, 2, 3, 2, 2, 6, 2, 7, 0, 2, 3, 2, 1, 7, 4, 3, 1, 8, 2, 9, 2, 2, 5, 10, 1, 3, 2, 4, 3, 11, 2, 3, 2, 5, 6, 12, 2, 13, 7, 3, 0, 3, 2, 13, 3, 5, 2, 14, 1, 15, 7, 2, 4, 3, 3, 16, 1, 2, 8, 17, 2, 4, 9, 6, 2, 18, 2, 4, 5, 7, 10, 5, 1, 19, 3, 3, 2, 20, 4, 21, 3, 3
Offset: 1

Views

Author

Antti Karttunen, Dec 18 2020

Keywords

Comments

a(n) is the difference at n between the value of a PrimePi-based pseudo-logarithmic function (A056239) and log_2 floored down (A000523).
All terms are nonnegative. (Cf. Bertrand's postulate).

Crossrefs

Programs

Formula

a(n) = A056239(n) - A000523(n).