OFFSET
0,2
LINKS
Alois P. Heinz, Table of n, a(n) for n = 0..1000
Index entries for linear recurrences with constant coefficients, signature (2,3,-2,-6,-4,-1).
FORMULA
G.f.: (x^2+6*x+3)*x/(x^3+2*x^2+x-1)^2.
a(n) = 2*a(n-1) + 3*a(n-2) - 2*a(n-3) - 6*a(n-4) - 4*a(n-5) - a(n-6) for n>5. - Colin Barker, Jun 07 2020
PROG
(PARI) concat(0, Vec(x*(3 + 6*x + x^2) / (1 - x - 2*x^2 - x^3)^2 + O(x^30))) \\ Colin Barker, Jun 07 2020
CROSSREFS
KEYWORD
nonn,easy
AUTHOR
Alois P. Heinz, Jun 10 2013
STATUS
approved