OFFSET
1,2
LINKS
Paolo Xausa, Table of n, a(n) for n = 1..1000
Eric Weisstein's World of Mathematics, Fan Graph
Index entries for linear recurrences with constant coefficients, signature (4,0,-5,-2).
FORMULA
a(n) = 4*a(n-1)-5*a(n-3)-2*a(n-4).
G.f.: x/((1 - x - x^2)*(1 - 3*x - 2*x^2)). - Stefano Spezia, Jun 29 2024
EXAMPLE
The fan graph F_{1,2} is the cycle with three vertices and has 4 edge covers.
The graph F_{1,3} is formed by adding a chord to the cycle with four vertices. The cycle C_4 has 7 edge covers, so there are 7 edge covers of F_{1,3} without the chord. If the chord is there, the two endpoints are covered. To cover the remaining two vertices, we need at least one of the two edges on each side of each vertex, giving us 3*3 choices total. So we have 16 edge covers for F_{1,3}.
We interpret F_{1,1} to be the path with two vertices with one edge cover.
MATHEMATICA
LinearRecurrence[{4, 0, -5, -2}, {1, 4, 16, 59}, 30] (* Paolo Xausa, Jan 22 2025 *)
CROSSREFS
KEYWORD
nonn,easy
AUTHOR
Feryal Alayont, Jun 28 2024
STATUS
approved