OFFSET
0,2
LINKS
Colin Barker, Table of n, a(n) for n = 0..1000
Index entries for linear recurrences with constant coefficients, signature (9,-32,56,-48,16).
FORMULA
a(n) = (6*(-4+27*2^n)+191*2^n*n+15*2^(1+n)*n^2+2^n*n^3)/24 for n>0. - Colin Barker, May 27 2015
G.f.: -(76*x^5-244*x^4+280*x^3-136*x^2+22*x+1) / ((x-1)*(2*x-1)^4). - Colin Barker, May 27 2015
MATHEMATICA
LinearRecurrence[{9, -32, 56, -48, 16}, {1, 31, 111, 343, 979, 2655}, 30] (* Harvey P. Dale, Mar 30 2024 *)
PROG
(PARI) Vec(-(76*x^5-244*x^4+280*x^3-136*x^2+22*x+1) / ((x-1)*(2*x-1)^4) + O(x^100)) \\ Colin Barker, May 27 2015
CROSSREFS
KEYWORD
easy,nonn
AUTHOR
Floor van Lamoen, Jul 16 2001
STATUS
approved