OFFSET
0,3
LINKS
Clark Kimberling, Table of n, a(n) for n = 0..1000
Index entries for linear recurrences with constant coefficients, signature (4, -1, 4, -1)
FORMULA
G.f.: x/(1 - 4 x + x^2 - 4 x^3 + x^4).
a(n) = 4*a(n-1) - a(n-2) + 4*a(n-3) - a(n-4).
a(n) = (1/5)*A290909(n) for n >= 0.
MATHEMATICA
z = 60; s = x/(1 - x)^2; p = 1 - 5 s^2;
Drop[CoefficientList[Series[s, {x, 0, z}], x], 1] (* A000027 *)
u = Drop[CoefficientList[Series[1/p, {x, 0, z}], x], 1] (* A290909 *)
u/5 (* A290910 *)
LinearRecurrence[{4, -1, 4, -1}, {0, 1, 4, 15}, 30] (* Harvey P. Dale, Feb 19 2018 *)
PROG
(PARI) concat([0], Vec(1/(1 - 4*x + x^2 - 4*x^3 + x^4) + O(x^30))) \\ Andrew Howroyd, Feb 26 2018
CROSSREFS
KEYWORD
nonn,easy
AUTHOR
Clark Kimberling, Aug 18 2017
STATUS
approved