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

A073309
Primes of the form k! + k + 1.
2
2, 3, 5, 29, 727, 3628811, 80658175170943878571660636856403766975289505440883277824000000000053
OFFSET
1,1
COMMENTS
a(6) = 3628811 and a(7), a 68-digit number, have been certified prime with Primo.
FORMULA
a(n) = A073308(n)! + A073308(n) + 1.
EXAMPLE
a(4) = 6! + 6 + 1 = 727, a prime, so 727 is in this sequence (6 = A073308(4)).
MATHEMATICA
f[n_]:=n!+n+1; lst={}; Do[p=f[n]; If[PrimeQ[p], AppendTo[lst, p]], {n, 0, 2*5!}]; lst (* Vladimir Joseph Stephan Orlovsky, Jul 02 2009 *)
PROG
(PARI) for(n=0, 1960, p=n!+n+1; if(isprime(p), print1(p, ", ")))
CROSSREFS
Cf. A073308 (corresponding n), A100858.
Sequence in context: A279189 A107451 A093490 * A226124 A110389 A083388
KEYWORD
nonn
AUTHOR
Rick L. Shepherd, Jul 24 2002
STATUS
approved