OFFSET
1,1
COMMENTS
Corresponding primes are: 59051, 59053, 59077, 59929, 608667049, 3091650738235049, 262134882788466747049, ...
a(30) > 50000.
Terms > 47 correspond to probable primes.
LINKS
Henri & Renaud Lifchitz, PRP Records. Search for n!3+59049.
Joe McLean, Interesting Sources of Probable Primes
OpenPFGW Project, Primality Tester
EXAMPLE
11!3 + 3^10 = 11*8*5*2 + 59049 = 59929 is prime, so 11 is in the sequence.
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^10] &]
PROG
(PARI) for(n=1, 1e3, if(ispseudoprime(prod(i=0, floor((n-1)/3), n-3*i) + 3^10), print1(n, ", "))) \\ Altug Alkan, Nov 18 2015
CROSSREFS
KEYWORD
nonn,more
AUTHOR
Robert Price, Nov 18 2015
STATUS
approved