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.
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
Keywords
Links
- Daniel Forgues, Table of n, a(n) for n=1..9696
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
Comments