OFFSET
1,1
LINKS
Harry J. Smith, Table of n, a(n) for n = 1..1000
C. K. Caldwell, How Many Primes Are There?
Eric Weisstein's World of Mathematics, Prime formulas
MATHEMATICA
Table[Floor[Prime[n]-n Log[n]], {n, 100}] (* Harvey P. Dale, May 02 2011 *)
PROG
(PARI) { default(realprecision, 100); for (n = 1, 1000, write("b059111.txt", n, " ", floor(prime(n) - n*log(n))); ) } \\ Harry J. Smith, Jun 25 2009
(Magma) [ Floor(NthPrime(n)-n*Log(n)): n in [1..75] ]; // Bruno Berselli, May 02 2011
CROSSREFS
KEYWORD
nonn
AUTHOR
Henry Bottomley, Jan 04 2001
EXTENSIONS
Definition corrected by Harry J. Smith, Jun 24 2009
STATUS
approved