|
Search: id:A119662
|
|
|
| A119662 |
|
Primes of the form n! + n^2 + 1. |
|
+0 1
|
| |
|
|
OFFSET
|
1,1
|
|
|
COMMENT
|
Primes of the form A004664(n) + 1. For n! + n^2 + 1 to be prime, n>1, it is necessary but not sufficient for n to be even. 74! + 74^2 + 1 is composite, with 108 digits; the next possible prime of the form n! + n^2 + 1 has n>75.
|
|
FORMULA
|
A000040 INTERSECTION {n! + n^2 + 1}.
|
|
MATHEMATICA
|
lst={}; Do[s=n!+n^2; If[PrimeQ[p=s+1], AppendTo[lst, p]], {n, 0, 5!}]; lst [From Vladimir Orlovsky (4vladimir(AT)gmail.com), Sep 27 2008]
|
|
CROSSREFS
|
Cf. A000040, A004664, A119448.
Sequence in context: A047024 A037843 A102604 this_sequence A163157 A000945 A126263
Adjacent sequences: A119659 A119660 A119661 this_sequence A119663 A119664 A119665
|
|
KEYWORD
|
easy,nonn,less
|
|
AUTHOR
|
Jonathan Vos Post (jvospost3(AT)gmail.com), Jul 28 2006
|
|
|
Search completed in 0.002 seconds
|