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.

A158924 Number of prime powers - 1 in interval (A158923(n-1), A158923(n)] expressing the excess or deficit relative to the asymptotic average of 1.

Original entry on oeis.org

0, 0, 0, 0, 0, 1, 0, 0, 0, 1, -1, 1, 0, 1, 0, 0, 0, 0, 1, 0, -1, 1, 0, 0, 1, -1, 1, 0, 0, -1, 0, 1, 1, 0, -1, 0, 2, 0, 1, -1, 0, 0, 0, 0, 1, 0, 0, 0, -1, 1, 1, -1, -1, 0, -1, 0, 1, 0, 0, 1, -1, 0, 1, 0, 1, 0, 1, 0, 0, -1, 0, 1, 0, -1, 0, 0, 0, 1, 0, 1, 0, 0, 0, 0, 0, 0, 0, 0, -1, 1, -1, 1, 0, 0, 0, 0, 1, 0
Offset: 1

Views

Author

Daniel Forgues, Mar 31 2009

Keywords

Comments

The first interval is assumed to be (1, A158923(1)].

Crossrefs

Cf. A158923: a(1) = 2, a(n) = a(n-1) + round(log(a(n-1))), n >= 2, for which each (a(n-1), a(n)] interval asymptotically contains one prime power on average.
Cf. A158925: Accumulated excess or deficit of prime powers in (1, A158924(n)] (Partial sums of A158924).
Cf. A000961 Prime powers p^k (p prime, k >= 0).
Cf. A025528 Number of prime powers <= n with exponents >0.

Extensions

Corrected and edited by Daniel Forgues, Apr 21 2009