A289805 p-INVERT of A103889, where p(S) = 1 - S - S^2.
2, 9, 36, 153, 624, 2584, 10632, 43865, 180774, 745347, 3072528, 12666854, 52218790, 215273737, 887468000, 3658604277, 15082652352, 62178493132, 256331858332, 1056732372729, 4356396740786, 17959318086575, 74037587378784, 305221185520298, 1258279413185322
Offset: 0
Links
- Clark Kimberling, Table of n, a(n) for n = 0..1000
- Index entries for linear recurrences with constant coefficients, signature (4,2,-8,8,-2,1)
Programs
-
Mathematica
z = 60; s = x*(x^2 - x + 2)/((x - 1)^2*(1 + x)); p = 1 - s - s^2; Drop[CoefficientList[Series[s, {x, 0, z}], x], 1] (* A103889 *) Drop[CoefficientList[Series[1/p, {x, 0, z}], x], 1] (* A289805 *) LinearRecurrence[{4,2,-8,8,-2,1},{2,9,36,153,624,2584},30] (* Harvey P. Dale, Jun 30 2021 *)
Formula
G.f.: (-2 - x + 4 x^2 - 7 x^3 + 4 x^4 - 2 x^5)/(-1 + 4 x + 2 x^2 - 8 x^3 + 8 x^4 - 2 x^5 + x^6).
a(n) = 4*a(n-1) + 2*a(n-2) - 8*a(n-3) + 8*a(n-4) - 2*a(n-5) + a(n-6).
Comments