OFFSET
1,3
COMMENTS
Corresponding primes are: 5, 5, 7, 3469, 9949, 65839, 1514209, 5221129, 40883539, ...
a(42) > 10^5.
Terms > 35 correspond to probable primes.
LINKS
Henri & Renaud Lifchitz, PRP Records. Search for n!4+4.
Joe McLean, Interesting Sources of Probable Primes
OpenPFGW Project, Primality Tester
EXAMPLE
15!4 + 2^2 = 15*11*7*3*1 + 4 = 3469 is prime, so 15 is in the sequence.
MATHEMATICA
MultiFactorial[n_, k_] := If[n < 1, 1, n*MultiFactorial[n - k, k]];
Select[Range[0, 50000], PrimeQ[MultiFactorial[#, 4] + 2^2] &]
Select[Range[0, 4300], PrimeQ[Times@@Range[#, 1, -4]+4]&] (* The program generates the first 28 terms of the sequence. *) (* Harvey P. Dale, Sep 16 2024 *)
CROSSREFS
KEYWORD
nonn,more
AUTHOR
Robert Price, Aug 17 2017
EXTENSIONS
a(40)-a(41) from Robert Price, Sep 25 2019
STATUS
approved