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

A161608
Primes of the form n!+n^2+n+1.
0
2, 19, 151, 355687428096307, 620448401733239439360601
OFFSET
1,1
COMMENTS
Generated by the n of A079649.
a(6) = 20659137880503071791380...00000000000098911 (with 650 digits).
MATHEMATICA
lst={}; Do[p=n!+n^2+n+1; If[PrimeQ[p], AppendTo[lst, p]], {n, 0, 6!}]; lst
CROSSREFS
Sequence in context: A280546 A323141 A319962 * A037748 A037629 A037755
KEYWORD
nonn
AUTHOR
STATUS
approved