OFFSET
0,2
LINKS
Colin Barker, Table of n, a(n) for n = 0..1000
Index entries for linear recurrences with constant coefficients, signature (1,0,2,-2,0,-1,1).
FORMULA
From Colin Barker, Jan 15 2018: (Start)
G.f.: (1 + x)*(1 + 2*x + 7*x^2 + 6*x^3 + 6*x^4 + 3*x^5 + 5*x^6 - x^7 - 2*x^9) / ((1 - x)^3*(1 + x + x^2)^2).
a(n) = a(n-1) + 2*a(n-3) - 2*a(n-4) - a(n-6) + a(n-7) for n>10.
(End)
PROG
(PARI) Vec((1 + x)*(1 + 2*x + 7*x^2 + 6*x^3 + 6*x^4 + 3*x^5 + 5*x^6 - x^7 - 2*x^9) / ((1 - x)^3*(1 + x + x^2)^2) + O(x^60)) \\ Colin Barker, Jan 15 2018
CROSSREFS
KEYWORD
nonn,easy
AUTHOR
Chaim Goodman-Strauss and N. J. A. Sloane, Jan 13 2018
STATUS
approved