OFFSET
0,2
LINKS
Clark Kimberling, Table of n, a(n) for n = 0..1000
Index entries for linear recurrences with constant coefficients, signature (6, -8, 6, -1)
FORMULA
G.f.: (1 - x + x^2)/(1 - 6 x + 8 x^2 - 6 x^3 + x^4).
a(n) = 6*a(n-1) - 8*a(n-2) + 6*a(n-3) - a(n-4).
MATHEMATICA
z = 60; s = x/(1 - x)^2; p = 1 - 2 s - 2 s^2;
Drop[CoefficientList[Series[s, {x, 0, z}], x], 1] (* A000027 *)
u = Drop[CoefficientList[Series[1/p, {x, 0, z}], x], 1] (* A290923 *)
u/2 (* A290924 *)
LinearRecurrence[{6, -8, 6, -1}, {1, 5, 23, 104}, 30] (* Harvey P. Dale, Nov 10 2022 *)
CROSSREFS
KEYWORD
nonn,easy
AUTHOR
Clark Kimberling, Aug 19 2017
STATUS
approved