OFFSET
0,4
LINKS
Index entries for linear recurrences with constant coefficients, signature (2,2,-6,0,6,-2,-2,1).
FORMULA
a(n) = (2 - n)*(12*(1 + (-1)^n) - 105*n + 3*(-1)^n*n - 32*n^2 - 4*n^3)/48 for n > 1.
a(n) = 2*a(n-1) + 2*a(n-2) - 6*a(n-3) + 6*a(n-5) - 2*a(n-6) - 2*a(n-7) + a(n-8) for n > 9.
G.f.: x^3*(15 + 18*x - 11*x^2 - 19*x^3 + 9*x^4 + 7*x^5 - 3*x^6)/((1 - x)^5*(1 + x)^3).
E.g.f.: (1 - 3*x + 23*x^2/8 + x^3 + x^4/12)*cosh(x) - x*(81 - 72*x - 24*x^2 - 2*x^3)*sinh(x)/24 - 1 + 3*x.
MATHEMATICA
LinearRecurrence[{2, 2, -6, 0, 6, -2, -2, 1}, {0, 0, 0, 15, 48, 115, 217, 385, 611, 945}, 43]
CROSSREFS
KEYWORD
nonn,easy
AUTHOR
Stefano Spezia, Jan 03 2025
STATUS
approved