OFFSET
2,1
LINKS
G. C. Greubel, Table of n, a(n) for n = 2..1000
C. K. Caldwell, How Many Primes Are There?
MATHEMATICA
Table[Round[n/Log[n] - PrimePi[n]], {n, 2, 80}] (* G. C. Greubel, Apr 20 2017 *)
PROG
(PARI) vector(80, n, n++; round(n/log(n) - primepi(n)) ) \\ G. C. Greubel, May 17 2019
(Magma) [Round(n/Log(n) - #PrimesUpTo(n)): n in [2..80]]; // G. C. Greubel, May 17 2019
(Sage) [round(n/log(n) - prime_pi(n)) for n in (2..80)] # G. C. Greubel, May 17 2019
CROSSREFS
KEYWORD
sign
AUTHOR
Henry Bottomley, Mar 21 2000
STATUS
approved