A063499 Primes of the form prime(n) + n!.
3, 5, 11, 31, 131, 733, 362903, 39916831, 355687428096059, 6402373705728061, 15511210043330985984000097, 8222838654177922817725562880000127, 815915283247897734345611269596115894272000000173
Offset: 1
Links
- Harry J. Smith, Table of n, a(n) for n=1,...,18
Crossrefs
Cf. A064278 (Numbers n such that n! + prime(n) is prime). [From Alexander R. Povolotsky, Aug 13 2008]
Programs
-
Magma
[a: n in [1..50] | IsPrime(a) where a is NthPrime(n) + Factorial(n) ]; // Vincenzo Librandi, Apr 05 2015
-
Mathematica
Select[Table[Prime[n] + n!, {n, 1, 60}], PrimeQ] (* Vincenzo Librandi, Apr 05 2015 *)
-
PARI
for(n=1,70,x=prime(n)+n!; if(isprime(x),print(x)))
-
PARI
{ n=0; f=1; for (m=1, 10^9, f*=m; if (isprime(a=prime(m) + f), write("b063499.txt", n++, " ", a); if (n==18, break)) ) } \\ Harry J. Smith, Aug 24 2009
Comments