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 (8,-7,6,-5,4,-3,2,-1)
FORMULA
G.f.: 1/(1 + Sum_{j=1..8} (9-j)*(-x)^j).
MAPLE
a:= proc(n) option remember; `if`(n<0, 0, `if`(n=0, 1,
-add((-1)^j*(9-j)*a(n-j), j=1..8)))
end:
seq(a(n), n=0..25);
MATHEMATICA
LinearRecurrence[{8, -7, 6, -5, 4, -3, 2, -1}, {1, 8, 57, 406, 2892, 20600, 146736, 1045216}, 30] (* Harvey P. Dale, May 15 2018 *)
CROSSREFS
KEYWORD
nonn,easy
AUTHOR
Alois P. Heinz, Oct 26 2016
STATUS
approved