login
A063499
Primes of the form prime(n) + n!.
7
3, 5, 11, 31, 131, 733, 362903, 39916831, 355687428096059, 6402373705728061, 15511210043330985984000097, 8222838654177922817725562880000127, 815915283247897734345611269596115894272000000173
OFFSET
1,1
COMMENTS
Subsequence of A121926. - Michel Marcus, Apr 05 2015
LINKS
MATHEMATICA
Select[Table[Prime[n] + n!, {n, 1, 60}], PrimeQ] (* Vincenzo Librandi, Apr 05 2015 *)
PROG
(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
(Magma) [a: n in [1..50] | IsPrime(a) where a is NthPrime(n) + Factorial(n) ]; // Vincenzo Librandi, Apr 05 2015
CROSSREFS
Cf. A064278 (Numbers n such that n! + prime(n) is prime). [From Alexander R. Povolotsky, Aug 13 2008]
Sequence in context: A048235 A154939 A121926 * A285381 A372255 A082856
KEYWORD
easy,nonn
AUTHOR
Jason Earls, Jul 30 2001
STATUS
approved