OFFSET
0,3
LINKS
Index entries for linear recurrences with constant coefficients, signature (4, -4, -4, 10, -4, -4, 4, -1).
FORMULA
O.g.f.: x*(1 + 16*x + 56*x^2 + 68*x^3 + 35*x^4 + 4*x^5)/((1 - x)^6*(1 + x)^2).
a(n) = 4*a(n-1) - 4*a(n-2) - 4*a(n-3) + 10*a(n-4) - 4*a(n-5) - 4*a(n-6) + 4*a(n-7) - a(n-8) for n > 7.
E.g.f.: x*((8 + 73*x + 99*x^2 + 34*x^3 + 3*x^4)*cosh(x) + (7 + 73*x + 99*x^2 + 34*x^3 + 3*x^4)*sinh(x))/8.
MATHEMATICA
LinearRecurrence[{4, -4, -4, 10, -4, -4, 4, -1}, {0, 1, 20, 132, 512, 1485, 3564, 7504}, 35]
CROSSREFS
KEYWORD
nonn,easy
AUTHOR
Stefano Spezia, Jul 17 2024
STATUS
approved