A265378 Numbers n such that n!3 + 3^9 is prime, where n!3 = n!!! is a triple factorial number (A007661).
4, 8, 10, 11, 14, 17, 20, 22, 29, 32, 44, 56, 61, 173, 202, 211, 215, 241, 388, 410, 416, 569, 583, 680, 823, 964, 1271, 1732, 2309, 2335, 2404, 2765, 3019, 3047, 4670, 5209, 6320, 6817, 7531, 9923, 11243, 14912, 17969, 21193, 28940
Offset: 1
Examples
11!3 + 3^9 = 11*8*5*2 + 19683 = 20563 is prime, so 11 is in the sequence.
Links
- Henri & Renaud Lifchitz, PRP Records. Search for n!3+19683.
- Joe McLean, Interesting Sources of Probable Primes
- OpenPFGW Project, Primality Tester
Programs
-
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^9] &]
-
PARI
tf(n) = prod(i=0, (n-1)\3, n-3*i); for(n=1, 1e4, if(ispseudoprime(tf(n) + 3^9), print1(n , ", "))) \\ Altug Alkan, Dec 07 2015
Comments