OFFSET
0,6
FORMULA
a(n) = n! * Sum_{k=0..floor(n/5)} (-1)^k * binomial(n-4*k,k)/(n-4*k)!.
a(n) = a(n-1) - 5! * binomial(n-1,4) * a(n-5) for n > 4.
PROG
(PARI) my(N=40, x='x+O('x^N)); Vec(serlaplace(exp(x*(1-x^4))))
(PARI) a(n) = n!*sum(k=0, n\5, (-1)^k*binomial(n-4*k, k)/(n-4*k)!);
(PARI) a(n) = if(n<5, 1, a(n-1)-5!*binomial(n-1, 4)*a(n-5));
CROSSREFS
KEYWORD
sign
AUTHOR
Seiichi Manyama, Feb 25 2022
STATUS
approved