OFFSET
1,1
COMMENTS
Sum_{i=0..k} i! = k! + !k = A003422(k+1), where !k is left factorial !k = Sum_{i=0..k-1} i! = A003422(k). Left factorials are even for k > 1. Corresponding numbers k such that Sum_{i=0..k} i!/2 = A003422(k+1)/2 is prime are listed in A124375(n) = {2, 3, 4, 7, 8, 9, 10, 29, 75, 162, 270, 272, 353, ...}.
LINKS
Hisanori Mishima, Factorizations of many number sequences.
Eric Weisstein's World of Mathematics, Left Factorial.
MATHEMATICA
f=0; Do[f=f+n!; If[PrimeQ[f/2], Print[{n, f/2}]], {n, 0, 353}]
CROSSREFS
KEYWORD
nonn
AUTHOR
Alexander Adamchuk, Oct 28 2006
STATUS
approved