OFFSET
1,1
COMMENTS
Sequence extended to a(1) using the formula/recurrence.
LINKS
Eric Weisstein's World of Mathematics, Edge Cover
Eric Weisstein's World of Mathematics, Gear Graph
Index entries for linear recurrences with constant coefficients, signature (9,-21,12,-2).
FORMULA
a(n) = (3-sqrt(7))^n + (sqrt(7)+3)^n - Lucas(2*n).
a(n) = 9*a(n-1) - 21*a(n-2) + 12*a(n-3) - 2*a(n-4).
G.f.: x*(3-2*x)/((1-3*x+x^2)*(1-6*x+2*x^2)).
MATHEMATICA
Table[(3 - Sqrt[7])^n + (3 + Sqrt[7])^n - LucasL[2 n], {n, 30}] // Expand
CoefficientList[Series[(3 - 2 x)/((1 - 3 x + x^2) (1 - 6 x + 2 x^2)), {x, 0, 20}], x]
LinearRecurrence[{9, -21, 12, -2}, {3, 25, 162, 969}, 20]
CROSSREFS
KEYWORD
nonn,easy
AUTHOR
Eric W. Weisstein, Jul 29 2022
STATUS
approved