The OEIS Foundation is supported by donations from users of the OEIS and by a grant from the Simons Foundation.

 Hints (Greetings from The On-Line Encyclopedia of Integer Sequences!)
 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. 3

%I

%S 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,

%T 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,

%U 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

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

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

%H Daniel Forgues, <a href="/A158924/b158924.txt">Table of n, a(n) for n=1..9696</a>

%Y 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.

%Y Cf. A158925: Accumulated excess or deficit of prime powers in (1, A158924(n)] (Partial sums of A158924).

%Y Cf. A000961 Prime powers p^k (p prime, k >= 0).

%Y Cf. A025528 Number of prime powers <= n with exponents >0.

%K sign

%O 1,37

%A _Daniel Forgues_, Mar 31 2009

%E Corrected and edited by _Daniel Forgues_, Apr 21 2009

Lookup | Welcome | Wiki | Register | Music | Plot 2 | Demos | Index | Browse | More | WebCam
Contribute new seq. or comment | Format | Style Sheet | Transforms | Superseeker | Recent
The OEIS Community | Maintained by The OEIS Foundation Inc.

Last modified September 24 11:01 EDT 2021. Contains 347642 sequences. (Running on oeis4.)