A111645 Expansion of (x+1)*(1-3*x)/((x^2+4*x+1)*(x^2-2*x-1)).
-1, 8, -37, 156, -625, 2436, -9341, 35464, -133809, 502896, -1885317, 7056580, -26384961, 98589388, -368228797, 1374944336, -5133041825, 19160828056, -71518973861, 266936079404, -996276071249, 3718290672596, -13877182280637, 51791152239960, -193289149920721
Offset: 0
Links
- Index entries for linear recurrences with constant coefficients, signature (-6,-8,2,1).
Programs
-
Mathematica
CoefficientList[Series[(x+1)(1-3x)/((x^2+4x+1)(x^2-2x-1)),{x,0,30}],x] (* or *) LinearRecurrence[{-6,-8,2,1},{-1,8,-37,156},30] (* Harvey P. Dale, Nov 19 2015 *)
Formula
a(0)=-1, a(1)=8, a(2)=-37, a(3)=156, a(n)=-6*a(n-1)-8*a(n-2)+2*a(n-3)+a(n-4). - Harvey P. Dale, Nov 19 2015
Comments