OFFSET
0,4
FORMULA
a(n) = [x^n] 1/((1-x^3) * (1-x)^(n-1)).
D-finite with recurrence 9*n*a(n) +3*(-17*n+16)*a(n-1) +3*(21*n-50)*a(n-2) +(-17*n+16)*a(n-3) +10*(2*n-5)*a(n-4)=0. - R. J. Mathar, Apr 22 2024
MAPLE
A371871 := proc(n)
1/(1-x^3)/(1-x)^(n-1) ;
coeftayl(%, x=0, n) ;
end proc:
seq(A371871(n), n=0..60) ; # R. J. Mathar, Apr 22 2024
PROG
(PARI) a(n) = sum(k=0, n\3, binomial(2*n-3*k-2, n-3*k));
CROSSREFS
KEYWORD
nonn
AUTHOR
Seiichi Manyama, Apr 10 2024
STATUS
approved