OFFSET
1,5
LINKS
Colin Barker, Table of n, a(n) for n = 1..1000
Index entries for linear recurrences with constant coefficients, signature (20,-174,860,-2641,5160,-6264,4320,-1296).
FORMULA
G.f.: x^5*(12-72*x+137*x^2-81*x^3) / ((1-3*x)^4*(1-2*x)^4).
a(n) = (162*(-239*2^n+80*3^(1+n)) - (9909*2^n+6128*3^n)*n - 24*(27*2^n-2*3^n)*n^2 + (27*2^n+32*3^n)*n^3) / 2592. - Colin Barker, Feb 14 2017
PROG
(PARI) concat(vector(4), Vec(x^5*(12-72*x+137*x^2-81*x^3) / ((1-3*x)^4*(1-2*x)^4) + O(x^30))) \\ Colin Barker, Feb 14 2017
CROSSREFS
KEYWORD
nonn,easy
AUTHOR
Mike Zabrocki, Nov 09 2004
STATUS
approved