OFFSET
2,1
LINKS
Andrew Howroyd, Table of n, a(n) for n = 2..200
Index entries for linear recurrences with constant coefficients, signature (52,-928,6784,-21760,25600).
FORMULA
a(n) = 3*n*(121*20^(n-2) + 15*4^(n-2) - 36*n*4^(n-2))/32. - Andrew Howroyd, May 10 2020
From Colin Barker, Jul 16 2020: (Start)
G.f.: 12*x*(1 + 2*x)*(1 - 6*x - 108*x^2 + 80*x^3) / ((1 - 4*x)^3*(1 - 20*x)^2).
a(n) = 52*a(n-1) - 928*a(n-2) + 6784*a(n-3) - 21760*a(n-4) + 25600*a(n-5) for n>6.
(End)
PROG
(PARI) a(n) = {3*n*(121*20^(n-2) + 15*4^(n-2) - 36*n*4^(n-2))/32} \\ Andrew Howroyd, May 10 2020
(PARI) Vec(12*x*(1 + 2*x)*(1 - 6*x - 108*x^2 + 80*x^3) / ((1 - 4*x)^3*(1 - 20*x)^2) + O(x^20)) \\ Colin Barker, Jul 16 2020
CROSSREFS
KEYWORD
nonn,easy
AUTHOR
R. H. Hardin, Apr 20 2009
EXTENSIONS
Terms a(9) and beyond from Andrew Howroyd, May 09 2020
STATUS
approved
