OFFSET
1,1
LINKS
Index entries for linear recurrences with constant coefficients, signature (1,0,3,-3,0,-3,3,0,1,-1).
FORMULA
O.g.f.: 2*x*(4+5*x+19*x^2+23*x^3+10*x^4+11*x^5+3*x^6)/((1-x)^4* (1+x+x^2)^3). [Corrected by Georg Fischer, May 27 2019]
MATHEMATICA
CoefficientList[Series[2*x*(4+5x+19x^2+23x^3+10x^4+11x^5+3x^6)/((1-x)^4*(1+x+x^2)^3), {x, 0, 39}], x] (* Georg Fischer, May 27 2019 *)
PROG
(PARI) Vec(2*x*(4+5*x+19*x^2+23*x^3+10*x^4+11*x^5+3*x^6)/((1-x)^4*(1+x+x^2)^3) + O(x^20)) \\ Felix Fröhlich, May 27 2019
(Magma) R<x>:=PowerSeriesRing(Integers(), 30); Coefficients(R!( 2*x*(4+ 5*x +19*x^2+23*x^3+10*x^4+11*x^5+3*x^6)/((1-x)*(1-x^3)^3) )); // G. C. Greubel, May 29 2019
(Sage) a=(2*x*(4+ 5*x +19*x^2+23*x^3+10*x^4+11*x^5+3*x^6)/((1-x)*(1-x^3)^3) ).series(x, 30).coefficients(x, sparse=False); a[1:] # G. C. Greubel, May 29 2019
CROSSREFS
KEYWORD
nonn,easy
AUTHOR
Patrick De Geest, May 15 1998
EXTENSIONS
Definition amended and offset changed by Georg Fischer, May 27 2019
STATUS
approved