OFFSET
1,1
LINKS
Harry J. Smith, Table of n, a(n) for n = 1..1000
FORMULA
a(n) ~ n*log(log(n)) * (1 + 1/log(n) - 1/log(log(n)) - 2/(log(n)*log(log(n)))). - Vaclav Kotesovec, May 23 2020
MATHEMATICA
Table[Ceiling[Prime[n]-n Log[n]], {n, 70}] (* Harvey P. Dale, Dec 07 2018 *)
PROG
(PARI) { default(realprecision, 100); for (n = 1, 1000, write("b064658.txt", n, " ", ceil(prime(n) - n*log(n))); ) } \\ Harry J. Smith, Jun 25 2009
CROSSREFS
KEYWORD
nonn
AUTHOR
N. J. A. Sloane, Oct 10 2001
EXTENSIONS
Definition corrected by Harry J. Smith, Jun 24 2009
STATUS
approved