OFFSET
1,2
LINKS
Andrew Howroyd, Table of n, a(n) for n = 1..200
Eric Weisstein's World of Mathematics, Edge Cut
Eric Weisstein's World of Mathematics, Moebius Ladder
Index entries for linear recurrences with constant coefficients, signature (20,-146,488,-777,612,-228,32).
FORMULA
G.f.: x*(1 + 6*x - 67*x^2 + 172*x^3 - 120*x^4 + 36*x^5)/((1 - x)^2*(1 - 8*x)*(1 - 5*x + 2*x^2)^2). - Andrew Howroyd, Jan 26 2023
MATHEMATICA
Table[With[{a = 5 - Sqrt[17], b = 5 + Sqrt[17]}, 1 + 8^n - n - ((n + 2) (a^n + b^n) - n (b^n - a^n)/Sqrt[17])/2^(n + 1)], {n, 20}] // Expand (* Eric W. Weisstein, Dec 01 2024 *)
LinearRecurrence[{20, -146, 488, -777, 612, -228, 32}, {1, 26, 307, 3004, 27049, 232658, 1947103}, 20] (* Eric W. Weisstein, Dec 01 2024 *)
CoefficientList[Series[-(1 + 6 x - 67 x^2 + 172 x^3 - 120 x^4 + 36 x^5)/((-1 + x)^2 (-1 + 8 x) (1 - 5 x + 2 x^2)^2), {x, 0, 20}], x] (* Eric W. Weisstein, Dec 01 2024 *)
PROG
(PARI) Vec((1 + 6*x - 67*x^2 + 172*x^3 - 120*x^4 + 36*x^5)/((1 - x)^2*(1 - 8*x)*(1 - 5*x + 2*x^2)^2) + O(x^20)) \\ Andrew Howroyd, Jan 26 2023
CROSSREFS
KEYWORD
nonn,easy
AUTHOR
Eric W. Weisstein, Jan 07 2023
EXTENSIONS
a(1)-a(2) prepended and terms a(8) and beyond from Andrew Howroyd, Jan 26 2023
STATUS
approved
