OFFSET
1,2
COMMENTS
Number of connected induced subgraphs in the (2*n-1)-triangular snake graph.
LINKS
Eric Weisstein's World of Mathematics, Connected Graph
Eric Weisstein's World of Mathematics, Triangular Snake Graph
Eric Weisstein's World of Mathematics, Vertex-Induced Subgraph
Index entries for linear recurrences with constant coefficients, signature (4,-5,2).
FORMULA
a(n) = (9*2^n - 6*n - 10)/2.
a(n) = 4*a(n-1) - 5*a(n-2) + 2*a(n-3).
G.f.: x*(-1 - 3*x + x^2)/((-1 + x)^2*(-1 + 2*x)).
E.g.f.: exp(x)*(5*cosh(x) + 4*sinh(x) - 3*x - 5). - Stefano Spezia, May 31 2023
MATHEMATICA
Table[(9 2^n - 6 n - 10)/2, {n, 20}]
LinearRecurrence[{4, -5, 2}, {1, 7, 22}, 20]
CoefficientList[Series[(-1 - 3 x + x^2)/((-1 + x)^2 (-1 + 2 x)), {x, 0, 20}], x]
CROSSREFS
KEYWORD
nonn,easy
AUTHOR
Eric W. Weisstein, Jun 08 2019
STATUS
approved