A040016 Largest prime < e^n.
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
Keywords
Examples
a(20) = floor(e^20) - 54 = 485165195 - 54 = 485165141 as there are no primes p such that 485165141 < p < 485165195.
Links
- Giovanni Resta, Table of n, a(n) for n = 1..1000
- Eric Weisstein's World of Mathematics, e-Prime.
Crossrefs
Programs
-
Mathematica
Table[NextPrime[E^n,-1],{n,30}] (* Harvey P. Dale, Jul 24 2016 *)
-
PARI
a(n)=precprime(exp(n)) \\ Charles R Greathouse IV, Mar 26 2013
Extensions
Edited by N. J. A. Sloane, Dec 22 2006
a(27)-a(29) from Giovanni Resta, Apr 29 2017
Comments