OFFSET
1,2
COMMENTS
a(11) > 10^4, if it exists. - Amiram Eldar, Aug 05 2023
a(11) > 2*10^4, if it exists. - Michael S. Branicky, Jul 05 2024
EXAMPLE
For k = 2, 2! + 2^2 + 2 - 1 = 7 is a prime.
MATHEMATICA
Select[Range[1100], PrimeQ[#! + #^2 + # - 1] &] (* Amiram Eldar, Aug 03 2023 *)
PROG
(PARI) for (k=1, 10^3, if(ispseudoprime(k! + k^2 + k - 1), print1(k, ", ")))
CROSSREFS
KEYWORD
nonn,more
AUTHOR
Saish S. Kambali, Aug 03 2023
EXTENSIONS
a(10) from Amiram Eldar, Aug 03 2023
STATUS
approved