login

Year-end appeal: Please make a donation to the OEIS Foundation to support ongoing development and maintenance of the OEIS. We are now in our 61st year, we have over 378,000 sequences, and we’ve reached 11,000 citations (which often say “discovered thanks to the OEIS”).

A158925
Accumulated excess or deficit of prime powers in (1, A158924(n)].
3
0, 0, 0, 0, 0, 1, 1, 1, 1, 2, 1, 2, 2, 3, 3, 3, 3, 3, 4, 4, 3, 4, 4, 4, 5, 4, 5, 5, 5, 4, 4, 5, 6, 6, 5, 5, 7, 7, 8, 7, 7, 7, 7, 7, 8, 8, 8, 8, 7, 8, 9, 8, 7, 7, 6, 6, 7, 7, 7, 8, 7, 7, 8, 8, 9, 9, 10, 10, 10, 9, 9, 10, 10, 9, 9, 9, 9, 10, 10, 11, 11, 11, 11, 11, 11, 11, 11, 11, 10, 11, 10, 11, 11, 11
OFFSET
1,10
COMMENTS
Partial sums of A158924.
First term < 0: a(9503) = -1. - Sidney Cadot, Sep 23 2015
LINKS
CROSSREFS
Cf. 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."
Sequence in context: A243164 A333708 A132203 * A262868 A342097 A259357
KEYWORD
sign
AUTHOR
Daniel Forgues, Mar 31 2009
EXTENSIONS
Corrected and edited by Daniel Forgues, Apr 22 2009
STATUS
approved