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

A376644
Numbers k such that !k * k! + 1 = A003422(k) * A000142(k) + 1 = A061640(k) + 1 is prime.
0
1, 2, 4, 6, 13, 14, 21, 41, 64, 110, 268, 1196, 3083, 5201, 7496, 9698
OFFSET
1,2
COMMENTS
a(1)-a(11) were found by Earls (2003-2004).
The corresponding primes are 2, 5, 241, 110881, 3256459844769331201, ... .
LINKS
Jason Earls, Marching Primes: !N x N! + 1, Journal of Recreational Mathematics, Vol. 32, No. 2 (2003-2004), pp. 123-124.
MATHEMATICA
Select[Range[300], PrimeQ[#! * Sum[k!, {k, 0, #-1}] + 1] &]
PROG
(PARI) is(k) = isprime(k! * sum(i = 0, k-1, i!) + 1);
CROSSREFS
KEYWORD
nonn,more
AUTHOR
Amiram Eldar, Oct 01 2024
EXTENSIONS
a(14)-a(16) from Michael S. Branicky, Oct 03 2024
STATUS
approved