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”).

A040016
Largest prime < e^n.
10
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