OFFSET
0,2
LINKS
Alois P. Heinz, Table of n, a(n) for n = 0..1000
Index entries for linear recurrences with constant coefficients, signature (5,-4,3,-2,1)
FORMULA
G.f.: 1/(1 + Sum_{j=1..5} (6-j)*(-x)^j).
MAPLE
a:= n-> (<<0|1|0|0|0>, <0|0|1|0|0>, <0|0|0|1|0>,
<0|0|0|0|1>, <1|-2|3|-4|5>>^n)[5, 5]:
seq(a(n), n=0..30);
MATHEMATICA
LinearRecurrence[{5, -4, 3, -2, 1}, {1, 5, 21, 88, 369}, 30] (* Harvey P. Dale, Oct 08 2017 *)
CROSSREFS
KEYWORD
nonn,easy
AUTHOR
Alois P. Heinz, Oct 26 2016
STATUS
approved