OFFSET
1,2
LINKS
Andrew Howroyd, Table of n, a(n) for n = 1..1000
Index entries for linear recurrences with constant coefficients, signature (2,1,-2,-3,0,6,0,-3,-2,1,2,-1).
FORMULA
EXAMPLE
a(2) = 2 since three vertices may be covered with two edges in 2 ways: the path graph P(3) or an edge plus a loop.
PROG
(PARI) concat([0], Vec((2 + 4*x + x^2 - 2*x^3 + x^6)/((1 - x)^6*(1 + x)^2*(1 + x + x^2)^2) + O(x^40)))
CROSSREFS
KEYWORD
nonn,easy
AUTHOR
Andrew Howroyd, Oct 23 2019
STATUS
approved