login
The OEIS is supported by the many generous donors to the OEIS Foundation.

 

Logo
Hints
(Greetings from The On-Line Encyclopedia of Integer Sequences!)
A064658 a(n) = ceiling(prime(n) - n*log(n)). 7
2, 2, 2, 2, 3, 3, 4, 3, 4, 6, 5, 8, 8, 7, 7, 9, 11, 9, 12, 12, 10, 11, 11, 13, 17, 17, 15, 14, 12, 11, 21, 21, 22, 20, 25, 22, 24, 25, 25, 26, 27, 25, 30, 27, 26, 23, 31, 38, 37, 34, 33, 34, 31, 36, 37, 38, 39, 36, 37, 36, 33, 38, 46, 45, 42, 41, 50, 51, 55 (list; graph; refs; listen; history; text; internal format)
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
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
Sequence in context: A230514 A106161 A105588 * A194292 A308403 A073578
KEYWORD
nonn
AUTHOR
N. J. A. Sloane, Oct 10 2001
EXTENSIONS
Definition corrected by Harry J. Smith, Jun 24 2009
STATUS
approved

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

License Agreements, Terms of Use, Privacy Policy. .

Last modified April 18 18:58 EDT 2024. Contains 371781 sequences. (Running on oeis4.)