login

Year-end appeal: Please make a donation to the OEIS Foundation to support ongoing development and maintenance of the OEIS. We are now in our 61st year, we have over 378,000 sequences, and we’ve reached 11,000 citations (which often say “discovered thanks to the OEIS”).

A204659
Numbers n such that n!9-1 is prime.
9
3, 4, 6, 8, 15, 20, 23, 27, 30, 44, 51, 62, 80, 90, 95, 114, 129, 138, 150, 152, 156, 182, 201, 216, 293, 332, 342, 393, 411, 414, 419, 525, 668, 743, 800, 972, 1034, 1266, 1785, 1869, 2777, 3561, 3780, 4106, 4328, 4428, 4556, 4574, 4629, 5001, 5397, 6315
OFFSET
1,1
COMMENTS
n!9 = A114806(n).
a(74) > 50000. - Robert Price, Jun 14 2012
a(1)-a(73) are proved prime by the deterministic test of pfgw. - Robert Price, Jun 14 2012
MATHEMATICA
MultiFactorial[n_, k_] := If[n < 1, 1, n*MultiFactorial[n - k, k]];
Select[Range[1000], PrimeQ[MultiFactorial[#, 9] - 1] & ] (* Robert Price, Apr 19 2019 *)
PROG
(PARI) for(n=0, 9999, isprime(prod(i=0, (n-2)\9, n-9*i)-1)& print1(n", "))
KEYWORD
nonn,hard
AUTHOR
M. F. Hasler, Jan 17 2012
EXTENSIONS
a(47)-a(73) from Robert Price, Jun 14 2012
Extended b-file adding a(74)-a(81) using data from Ken Davis link by Robert Price, Apr 19 2019
STATUS
approved