[go: up one dir, main page]

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”).

A236169
Numbers n such that n!*3^n + 1 is prime.
1
0, 2, 3, 8, 13, 19, 124, 199, 288, 359, 692, 3610, 5316, 5372, 7442, 8251, 14288, 16883, 17131
OFFSET
1,2
COMMENTS
a(20) > 25000.
Corresponding primes are all verified prime (i.e., not probable prime): 2, 19, 163, 264539521, 9927882482918401, 141383412854531380076544001, ...
MATHEMATICA
Do[f=n!*3^n+1; If[PrimeQ[f], Print[{n, f}]], {n, 0, 25000}]
PROG
(PARI) isok(n) = isprime(n!*3^n + 1); \\ Michel Marcus, Jul 23 2017
CROSSREFS
KEYWORD
nonn,more
AUTHOR
Robert Price, Jan 19 2014
EXTENSIONS
a(1)=0 prepended by Robert Price, Jul 22 2017
STATUS
approved