OFFSET
0,2
LINKS
Clark Kimberling, Table of n, a(n) for n = 0..1000
Index entries for linear recurrences with constant coefficients, signature (12, -24, -72, -36)
FORMULA
G.f.: -(((1 + x) (-1 + 3 x + 3 x^2))/(-1 + 6 x + 6 x^2)^2).
a(n) = 12*a(n-1) - 24*a(n-2) - 72*a(n-3) - 36*a(n-4) for n >= 5.
MATHEMATICA
z = 60; s = x + x^2; p = (1 - 6 s)^2;
Drop[CoefficientList[Series[s, {x, 0, z}], x], 1] (* A019590 *)
u = Drop[CoefficientList[Series[1/p, {x, 0, z}], x], 1] (* A291391 *)
u / 12 (* A291392 *)
LinearRecurrence[{12, -24, -72, -36}, {1, 10, 90, 765}, 30] (* Harvey P. Dale, Nov 24 2023 *)
CROSSREFS
KEYWORD
nonn,easy
AUTHOR
Clark Kimberling, Sep 06 2017
STATUS
approved