login

Year-end appeal: Please make a donation to the OEIS Foundation to support ongoing development and maintenance of the OEIS. We are now in our 61st year, we have over 378,000 sequences, and we’ve reached 11,000 citations (which often say “discovered thanks to the OEIS”).

A064659
a(n) = round(prime(n) - n*log(n)).
7
2, 2, 2, 1, 3, 2, 3, 2, 3, 6, 5, 7, 8, 6, 6, 9, 11, 9, 11, 11, 9, 11, 11, 13, 17, 16, 14, 14, 11, 11, 21, 20, 22, 19, 25, 22, 23, 25, 24, 25, 27, 24, 29, 26, 26, 23, 30, 37, 36, 33, 32, 34, 31, 36, 37, 38, 39, 35, 36, 35, 32, 37, 46, 45, 42, 40, 49, 50, 55
OFFSET
1,1
LINKS
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
PROG
(PARI) { default(realprecision, 100); for (n = 1, 1000, write("b064659.txt", n, " ", round(prime(n) - n*log(n))); ) } \\ Harry J. Smith, Jun 25 2009
CROSSREFS
Sequence in context: A294884 A275024 A325121 * A349520 A325034 A275853
KEYWORD
nonn
AUTHOR
N. J. A. Sloane, Oct 10 2001
STATUS
approved