login
A040016
Largest prime < e^n.
33
2, 7, 19, 53, 139, 401, 1093, 2971, 8101, 22013, 59863, 162751, 442399, 1202603, 3269011, 8886109, 24154939, 65659969, 178482289, 485165141, 1318815713, 3584912833, 9744803443, 26489122081, 72004899319, 195729609407, 532048240573, 1446257064289, 3931334297131
OFFSET
1,1
COMMENTS
A050809 is a subset. Lim_{n --> infinity} a(n+1)/a(n) = e. - Jonathan Vos Post, May 02 2006
LINKS
Eric Weisstein's World of Mathematics, e-Prime.
EXAMPLE
a(20) = floor(e^20) - 54 = 485165195 - 54 = 485165141 as there are no primes p such that 485165141 < p < 485165195.
MATHEMATICA
Table[NextPrime[E^n, -1], {n, 30}] (* Harvey P. Dale, Jul 24 2016 *)
PROG
(PARI) a(n)=precprime(exp(n)) \\ Charles R Greathouse IV, Mar 26 2013
KEYWORD
nonn
AUTHOR
EXTENSIONS
Edited by N. J. A. Sloane, Dec 22 2006
a(27)-a(29) from Giovanni Resta, Apr 29 2017
STATUS
approved