OFFSET

1,1

COMMENTS

Note that when k is even, 3 divides the sum.

The sums corresponding to terms >= 661 are only probable primes. - Klaus Brockhaus, Mar 13 2009

EXAMPLE

a(2) = ((-1)^0)(2-0)! + ((-1)^1)(2-1)! + ((-1)^2)(2-2)! + 1 = 2! - 1! + 0! + 1 = 3 (prime).

CROSSREFS

KEYWORD

nonn,more

AUTHOR

Kyle D. Balliet, Mar 07 2009

EXTENSIONS

a(7)-a(15) from Klaus Brockhaus, Mar 13 2009

a(16) from Michael S. Branicky, Aug 30 2024

STATUS

approved