OFFSET
0,2
COMMENTS
The sequence has been extended to n=0 using the recurrence. - Andrew Howroyd, Nov 26 2024
LINKS
Andrew Howroyd, Table of n, a(n) for n = 0..500
Eric Weisstein's World of Mathematics, Edge Cut.
Eric Weisstein's World of Mathematics, Gear Graph.
Index entries for linear recurrences with constant coefficients, signature (14,-55,58,-16).
FORMULA
G.f.: (1 - 9*x + 30*x^2 + 6*x^3)/((1 - x)*(1 - 8*x)*(1 - 5*x + 2*x^2)). - Andrew Howroyd, Nov 26 2024
a(n) = 14*a(n-1)-55*a(n-2)+58*a(n-3)-16*a(n-4). (* Eric W. Weisstein, Dec 01 2024 *)
MATHEMATICA
Table[2 + 8^n - (1/2 (5 - Sqrt[17]))^n - (1/2 (5 + Sqrt[17]))^n, {n, 0, 20}] // Expand (* Eric W. Weisstein, Dec 01 2024 *)
LinearRecurrence[{14, -55, 58, -16}, {1, 5, 45, 419}, 20] (* Eric W. Weisstein, Dec 01 2024 *)
CoefficientList[Series[(1 - 9 x + 30 x^2 + 6 x^3)/((-1 + x) (-1 + 8 x) (1 - 5 x + 2 x^2)), {x, 0, 20}], x] (* Eric W. Weisstein, Dec 01 2024 *)
PROG
(PARI) Vec((1 - 9*x + 30*x^2 + 6*x^3)/((1 - x)*(1 - 8*x)*(1 - 5*x + 2*x^2)) + O(x^22)) \\ Andrew Howroyd, Nov 26 2024
CROSSREFS
KEYWORD
nonn,easy,changed
AUTHOR
Eric W. Weisstein, Nov 03 2024
EXTENSIONS
a(0)-a(2) prepended and a(10) onwards from Andrew Howroyd, Nov 26 2024
STATUS
approved