OFFSET
1,1
COMMENTS
a(6) = 3628811 and a(7), a 68-digit number, have been certified prime with Primo.
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
KEYWORD
nonn,changed
AUTHOR
Rick L. Shepherd, Jul 24 2002
STATUS
approved