[go: up one dir, main page]

login
A243078
Numbers k such that k!3 - 3^2 is prime, where k!3 = k!!! is a triple factorial number (A007661).
14
7, 8, 10, 13, 16, 17, 20, 23, 28, 29, 32, 43, 46, 47, 53, 56, 59, 61, 76, 95, 107, 139, 148, 218, 349, 764, 1009, 1130, 1183, 1429, 1516, 2072, 2471, 4937, 10204, 13993, 16249, 18166, 25733, 29033, 40090
OFFSET
1,1
COMMENTS
a(42) > 50000.
k=2 and k=4 produce values (-7 and -5) whose absolute value is a prime.
Terms > 2000 correspond to probable primes.
LINKS
EXAMPLE
17!3 - 3^2 = 17*14*11*8*5*2 - 9 = 209431 is prime, so 17 is in the sequence. - Jens Kruse Andersen, Aug 20 2014
MATHEMATICA
MultiFactorial[n_, k_]:=If[n<1, 1, If[n<k+1, n, n*MultiFactorial[n-k, k]]];
lst={}; Do[If[PrimeQ[MultiFactorial[n, 3]-3^2], AppendTo[lst, n]], {n, 50000}]; lst
CROSSREFS
KEYWORD
nonn,more
AUTHOR
Robert Price, May 30 2014
EXTENSIONS
a(41) from Robert Price, Sep 19 2014
STATUS
approved