OFFSET
1,2
COMMENTS
From n < prime(n), n >= 1 follows that n*log(n) < prime(n) < n*log(prime(n)), n >= 4. This inequality is included in the prime number theorem PNT.
EXAMPLE
For n = 1, prime(1) = 2, floor(1*0.69... = 0.69...) = 0 ;
For n = 25, prime(25) = 97, floor(25*4.57... = 114.36...) = 114.
MATHEMATICA
Table[Floor[n Log[Prime[n]]], {n, 60}] (* Harvey P. Dale, Aug 13 2019 *)
PROG
(PARI) vector(100, n, floor(n*log(prime(n)))) \\ Derek Orr, Nov 28 2014
CROSSREFS
KEYWORD
nonn,easy
AUTHOR
Freimut Marschner, Nov 26 2014
STATUS
approved