OFFSET
1,1
LINKS
Colin Barker, Table of n, a(n) for n = 1..1000
Index entries for linear recurrences with constant coefficients, signature (1,0,4,-4,0,-6,6,0,4,-4,0,-1,1).
FORMULA
From Colin Barker, May 30 2019: (Start)
G.f.: 4*x*(2 + 7*x + 47*x^2 + 125*x^3 + 91*x^4 + 206*x^5 + 164*x^6 + 52*x^7 + 47*x^8 + 9*x^9) / ((1 - x)^5*(1 + x + x^2)^4).
a(n) = a(n-1) + 4*a(n-3) - 4*a(n-4) - 6*a(n-6) + 6*a(n-7) + 4*a(n-9) - 4*a(n-10) - a(n-12) + a(n-13) for n>13.
(End)
PROG
(PARI) Vec(4*x*(2 + 7*x + 47*x^2 + 125*x^3 + 91*x^4 + 206*x^5 + 164*x^6 + 52*x^7 + 47*x^8 + 9*x^9) / ((1 - x)^5*(1 + x + x^2)^4) + O(x^40)) \\ Colin Barker, May 30 2019
CROSSREFS
KEYWORD
nonn,easy
AUTHOR
Patrick De Geest, May 15 1998
EXTENSIONS
Edited and offset changed by Alois P. Heinz, May 29 2019
STATUS
approved