A037152 Smallest prime > n!+1.
3, 5, 11, 29, 127, 727, 5051, 40343, 362897, 3628811, 39916817, 479001629, 6227020867, 87178291219, 1307674368043, 20922789888023, 355687428096031, 6402373705728037, 121645100408832089, 2432902008176640029
Offset: 1
Keywords
Links
- Vincenzo Librandi, Table of n, a(n) for n = 1..100
Programs
-
Mathematica
NextPrime[Range[20]!+1] (* Harvey P. Dale, Apr 08 2012 *)
-
Maxima
makelist(next_prime(n!+1), n, 1, 20); /* Bruno Berselli, May 20 2011 */
-
PARI
for(n=1,100,print1(nextprime(n!+2),", ")); /* Joerg Arndt, May 21 2011 */
Formula
Extensions
Extended by Ray Chandler, Mar 07 2010
Comments