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,-7,8,-5,1).
FORMULA
G.f.: -1/(x^5-5*x^4+8*x^3-7*x^2+5*x-1).
EXAMPLE
a(2) = 18: 00, 03, 04, 10, 11, 14, 20, 21, 22, 30, 31, 32, 33, 40, 41, 42, 43, 44.
MAPLE
a:= n->(<<0|1|0|0|0>, <0|0|1|0|0>, <0|0|0|1|0>,
<0|0|0|0|1>, <1|-5|8|-7|5>>^n)[5$2]:
seq(a(n), n=0..30);
CROSSREFS
KEYWORD
nonn,easy
AUTHOR
Alois P. Heinz, Apr 03 2017
STATUS
approved