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

A374651
a(n) = Sum_{k=1..n+1} (-1)^(k-1) k (n - k + 1)!.
1
-1, 3, 1, 19, 81, 539, 3881, 32019, 294961, 3006859, 33608121, 408778499, 5375855681, 76017801339, 1150262909641, 18546246267379, 317444672651601, 5748938114157419, 109829779507865561, 2207493511046751459, 46566125370108071521, 1028660983526344785499
OFFSET
1,2
COMMENTS
Residues mod 10 are 9,3,1,9,1,9,1,9,1,9,1,9,1,9,1,9,1,9,1,9,...
MATHEMATICA
t[n_] := Sum[(-1)^(k - 1) k*(n - k + 1)!, {k, 1, n + 1}]
Table[t[n], {n, 1, 30}]
CROSSREFS
KEYWORD
sign
AUTHOR
Clark Kimberling, Jul 25 2024
STATUS
approved