login
Numbers n such that n!3 + 3^2 is prime.
1

%I #8 Sep 27 2014 12:42:50

%S 2,4,5,7,8,14,17,19,22,23,26,34,46,59,70,86,100,101,118,148,151,160,

%T 200,281,317,343,682,842,853,871,1244,1988,2170,2389,2728,3049,3661,

%U 4678,9169,12767,16072,19808,20710,33142,33442

%N Numbers n such that n!3 + 3^2 is prime.

%C Large terms correspond to probable primes.

%C a(46) > 50000.

%H Henri & Renaud Lifchitz, <a href="http://www.primenumbers.net/prptop/searchform.php?form=n!3+9&amp;action=Search">PRP Records. Search for n!3+9</a>

%H Joe McLean, <a href="http://web.archive.org/web/20091027034731/http://uk.geocities.com/nassarawa%40btinternet.com/probprim2.htm">Interesting Sources of Probable Primes</a>

%H OpenPFGW Project, <a href="http://sourceforge.net/projects/openpfgw/">Primality Tester</a>

%H Eric Weisstein's World of Mathematics, <a href="http://mathworld.wolfram.com/Multifactorial.html">Multifactorial.</a>

%e 8!3+9 = 8*5*2+9= 89 is prime, so 8 is in the sequence.

%t MultiFactorial[n_, k_] := If[n < 1, 1, If[n < k + 1, n, n*MultiFactorial[n - k, k]]];

%t lst={};Do[If[PrimeQ[MultiFactorial[n, 3] + 9], AppendTo[lst, n]], {n, 100}];lst

%Y Cf. A007661, A037082, A084438, A243078.

%K nonn,more

%O 1,1

%A _Robert Price_, Sep 25 2014