|
|
A119662
|
|
Primes of the form k! + k^2 + 1.
|
|
1
|
|
|
|
OFFSET
|
1,1
|
|
COMMENTS
|
For k! + k^2 + 1 to be prime, k > 1, it is necessary but not sufficient for k to be even.
|
|
LINKS
|
|
|
FORMULA
|
|
|
MATHEMATICA
|
|
|
PROG
|
(Magma) [ a: n in [0..1150] | IsPrime(a) where a is Factorial(n)+n^2+1 ]; // Vincenzo Librandi, Dec 22 2010
|
|
CROSSREFS
|
|
|
KEYWORD
|
nonn
|
|
AUTHOR
|
|
|
STATUS
|
approved
|
|
|
|