OFFSET
0,8
LINKS
Alois P. Heinz, Table of n, a(n) for n = 0..1000
Index entries for linear recurrences with constant coefficients, signature (20,-100,0,0,0,0,-9,99,-90).
FORMULA
a(0) = a(1) = ... = a(5) = 0, a(6) = 1, a(n) = 9*(10^(n-7) - a(n-7) + sum_{i=6..n-1} a(i)) for n>=7.
G.f.: x^6*(x-1)^2/((10*x-1)*(9*x^8-9*x^7+10*x-1)). - Alois P. Heinz, Feb 26 2015
MATHEMATICA
LinearRecurrence[{20, -100, 0, 0, 0, 0, -9, 99, -90}, {0, 0, 0, 0, 0, 0, 1, 18, 261}, 30] (* Harvey P. Dale, Aug 17 2021 *)
CROSSREFS
KEYWORD
nonn,base,easy
AUTHOR
Jon E. Schoenfield, Feb 22 2015
STATUS
approved