OFFSET
0,1
LINKS
Index entries for linear recurrences with constant coefficients, signature (4, -2, -8, 5, 8, -2, -4, -1).
FORMULA
G.f.: (-2x^2-2x+3)/(1-x-x^2)^4.
a(0)=3, a(1)=10, a(2)=32, a(3)=84, a(4)=207, a(5)=478, a(6)=1060, a(7)=2272, a(n)=4*a(n-1)-2*a(n-2)-8*a(n-3)+5*a(n-4)+8*a(n-5)- 2*a(n-6)- 4*a(n-7)-a(n-8) [From Harvey P. Dale, May 06 2012]
MATHEMATICA
CoefficientList[Series[(-2x^2-2x+3)/(1-x-x^2)^4, {x, 0, 30}], x] (* or *) LinearRecurrence[{4, -2, -8, 5, 8, -2, -4, -1}, {3, 10, 32, 84, 207, 478, 1060, 2272}, 30] (* Harvey P. Dale, May 06 2012 *)
CROSSREFS
KEYWORD
nonn,easy
AUTHOR
STATUS
approved