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 (4,2,-12,-11,2,10,6,-1,-2,-1).
FORMULA
G.f.: (x^5+6*x^4-8*x^3-10*x^2+9*x+4)*x/((x+1)^2*(x^4-3*x+1)^2).
a(n) = 4*a(n-1) + 2*a(n-2) - 12*a(n-3) - 11*a(n-4) + 2*a(n-5) + 10*a(n-6) + 6*a(n-7) - a(n-8) - 2*a(n-9) - a(n-10) for n>9. - Colin Barker, Jun 07 2020
PROG
(PARI) concat(0, Vec(x*(4 + 9*x - 10*x^2 - 8*x^3 + 6*x^4 + x^5) / ((1 + x)^2*(1 - 3*x + x^4)^2) + O(x^30))) \\ Colin Barker, Jun 07 2020
CROSSREFS
KEYWORD
nonn,easy
AUTHOR
Alois P. Heinz, Jun 10 2013
STATUS
approved