login
A358605
a(n) = Sum_{k=0..floor(n/4)} (-1)^k * (n-3*k)!/(n-4*k)!.
4
1, 1, 1, 1, 0, -1, -2, -3, -2, 1, 6, 13, 16, 9, -14, -59, -108, -119, -26, 261, 736, 1177, 1026, -731, -4964, -11079, -14978, -6299, 30024, 102841, 189466, 190917, -97004, -921191, -2301354, -3396539, -1674368, 7265241, 27311794, 53600101, 56943756, -31760903, -310594514, -809146971
OFFSET
0,7
LINKS
FORMULA
a(n) = (3 * a(n-1) - n * a(n-4) + 1)/4 for n > 3.
PROG
(PARI) a(n) = sum(k=0, n\4, (-1)^k*(n-3*k)!/(n-4*k)!);
CROSSREFS
KEYWORD
sign
AUTHOR
Seiichi Manyama, Nov 23 2022
STATUS
approved