A111644 Expansion of -(1+x^2)/((x^2+4*x+1)*(x^2-2*x-1)).
1, -6, 29, -124, 501, -1962, 7545, -28696, 108393, -407662, 1528981, -5724500, 21408221, -80003026, 298832369, -1115878064, 4166011601, -15551383382, 58047283725, -216656490156, 808623915973, -3017948390522, 11263433318761, -42036421446600, 156883789264441
Offset: 0
Links
- Index entries for linear recurrences with constant coefficients, signature (-6,-8,2,1).
Programs
-
Mathematica
CoefficientList[Series[-(1+x^2)/((x^2+4x+1)(x^2-2x-1)),{x,0,40}],x] (* or *) LinearRecurrence[{-6,-8,2,1},{1,-6,29,-124},40] (* Harvey P. Dale, May 23 2015 *)
Formula
a(0)=1, a(1)=-6, a(2)=29, a(3)=-124, a(n)=-6*a(n-1)-8*a(n-2)+ 2*a(n-3)+ a(n-4). - Harvey P. Dale, May 23 2015
Comments