OFFSET
0,2
LINKS
Colin Barker, Table of n, a(n) for n = 0..900
Index entries for linear recurrences with constant coefficients, signature (21,-120,100).
FORMULA
From Colin Barker, Oct 28 2017: (Start)
G.f.: 16*x*(1 - 5*x) / ((1 - x)*(1 - 10*x)^2).
a(n) = 21*a(n-1) - 120*a(n-2) + 100*a(n-3) for n>2.
(End)
MATHEMATICA
LinearRecurrence[{21, -120, 100}, {0, 16, 256}, 20] (* Harvey P. Dale, Aug 19 2018 *)
PROG
(PARI) concat(0, Vec(16*x*(1 - 5*x) / ((1 - x)*(1 - 10*x)^2) + O(x^30))) \\ Colin Barker, Oct 28 2017
CROSSREFS
KEYWORD
nonn,easy
AUTHOR
Seiichi Manyama, Oct 28 2017
STATUS
approved