OFFSET
0,1
COMMENTS
For n >= 1, also the number of mutual-visibility sets in the n-alkane graph.
LINKS
Eric Weisstein's World of Mathematics, Alkane Graph.
Eric Weisstein's World of Mathematics, Visibility Polynomial.
Index entries for linear recurrences with constant coefficients, signature (6,-9,4).
FORMULA
G.f.: (-4+3*x+3*x^2)/((-1+x)^2*(-1+4*x)).
a(n) = 6*a(n-1) - 9*a(n-2) + 4*a(n-3).
From Elmo R. Oliveira, Apr 27 2026: (Start)
E.g.f.: exp(x)*(49*exp(3*x) + 6*x - 13)/9.
MATHEMATICA
Table[(49 4^n + 6 n - 13)/9, {n, 0, 20}]
(* Alternative: *)
CoefficientList[Series[(-4 + 3 x + 3 x^2)/((-1 + x)^2 (-1 + 4 x)), {x, 0, 20}], x]
(* Alternative: *)
LinearRecurrence[{6, -9, 4}, {21, 87, 349}, {0, 20}]
CROSSREFS
KEYWORD
nonn,easy
AUTHOR
Eric W. Weisstein, Dec 14 2025
STATUS
approved
