OFFSET
0,2
LINKS
Paolo Xausa, Table of n, a(n) for n = 0..1000
Index entries for linear recurrences with constant coefficients, signature (8,-24,32,-16).
FORMULA
a(n) = 2^(n-7)*(588 + 367*n + 84*n^2 + 9*n^3) for n >= 3.
MAPLE
gf := (1 + 4*x - 20*x^2 + 8*x^3 + 33*x^4 - 4*x^5 - 33*x^6)/(1 - 2*x)^4:
ser := series(gf, x, 32): seq(coeff(ser, x, n), n = 0..28);
MATHEMATICA
LinearRecurrence[{8, -24, 32, -16}, {1, 12, 52, 168, 497, 1412, 3879}, 30] (* Paolo Xausa, Feb 01 2024 *)
CROSSREFS
KEYWORD
nonn
AUTHOR
Peter Luschny, Dec 01 2020
STATUS
approved