OFFSET
1,2
COMMENTS
n!!! is the triple factorial sometimes written n!3.
a(36) > 50000.
EXAMPLE
2 is in the sequence because 2!!!+3^2 = 2+9 = 11 is prime.
MATHEMATICA
MultiFactorial[n_, k_] := If[n < 1, 1, If[n < k + 1, n, n*MultiFactorial[n - k, k]]];
Select[Range[0, 50000], PrimeQ[MultiFactorial[#, 3] + 3^#] &]
CROSSREFS
KEYWORD
nonn
AUTHOR
Robert Price, Sep 09 2015
STATUS
approved