OFFSET
0,3
LINKS
G. C. Greubel, Table of n, a(n) for n = 0..1000
Index entries for linear recurrences with constant coefficients, signature (2, 2, 3, 4, 3, 1).
FORMULA
a(n) = Sum_{m=1..n} Sum_{r=m..n} (Sum_{k=m..r} binomial(k,r-k)* Sum_{j=0..m} binomial(j,-3*m+k+2*j)*binomial(m,j))))*binomial(-r+n+m-1,m-1).
MAPLE
seq(coeftayl((1-x)/(1-x^6-3*x^5-4*x^4-3*x^3-2*x^2-2*x), x = 0, k), k=0..20); # Muniru A Asiru, Feb 01 2018
MATHEMATICA
CoefficientList[Series[(1-x)/(1-x^6-3*x^5-4*x^4-3*x^3-2*x^2-2*x), {x, 0, 50}], x] (* G. C. Greubel, Jan 31 2018 *)
PROG
(Maxima)
a(n):=sum(sum((sum(binomial(k, r-k)*sum(binomial(j, -3*m+k+2*j)*binomial(m, j), j, 0, m), k, m, r))*binomial(-r+n+m-1, m-1), r, m, n), m, 1, n);
(PARI) x='x+O('x^30); Vec((1-x)/(1-x^6-3*x^5-4*x^4-3*x^3-2*x^2-2*x)) \\ G. C. Greubel, Jan 31 2018
(Magma) Q:=Rationals(); R<x>:=PowerSeriesRing(Q, 40); Coefficients(R!((1-x)/(1-x^6-3*x^5-4*x^4-3*x^3-2*x^2-2*x))) // G. C. Greubel, Jan 31 2018
CROSSREFS
KEYWORD
nonn
AUTHOR
Vladimir Kruchinin, May 06 2011
EXTENSIONS
Terms a(16) onward added by G. C. Greubel, Jan 31 2018
STATUS
approved