OFFSET
1,1
COMMENTS
a(6) is associated with 76!=A000142(76)=A051856(7)! and has 223 decimal digits. - R. J. Mathar, Emeric Deutsch and Harvey P. Dale, Jul 14 2009
a(6) =
355509027001074785420251313577077264819432566692554164797700525028005\
008417722668844213916658906516439209129303887999464691915088148300993\
913093163021697465163231343499013584682565554967153792311772997222400\
0000000000000001. - N. J. A. Sloane, Jul 11 2010
FORMULA
MAPLE
a := proc (n) if isprime(factorial(n)^2+factorial(n)+1) = true then factorial(n)^2+factorial(n)+1 else end if end proc: seq(a(n), n = 1 .. 76); # Emeric Deutsch, Jul 21 2009
MATHEMATICA
Select[Table[n!^2+n!+1, {n, 150}], PrimeQ] (* Harvey P. Dale, Jul 23 2009 *)
CROSSREFS
KEYWORD
nonn
AUTHOR
Daniel Tisdale, Jul 03 2009
STATUS
approved