OFFSET
0,12
LINKS
Colin Barker, Table of n, a(n) for n = 0..1000
Index entries for linear recurrences with constant coefficients, signature (20,-100,0,0,0,0,0,0,0,0,-9,99,-90).
FORMULA
a(0) = a(1) = ... = a(9) = 0, a(10) = 1, a(n) = 9*(10^(n-11) - a(n-11) + sum_{i=10..n-1} a(i)) for n>=11.
G.f.: x^10*(x-1)^2/((10*x-1)*(9*x^12-9*x^11+10*x-1)). - Alois P. Heinz, Feb 26 2015
MATHEMATICA
CoefficientList[Series[x^10(x-1)^2/((10x-1)(9x^12-9x^11+10x-1)), {x, 0, 40}], x] (* or *) LinearRecurrence[{20, -100, 0, 0, 0, 0, 0, 0, 0, 0, -9, 99, -90}, {0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 1, 18, 261}, 40] (* Harvey P. Dale, Dec 27 2021 *)
PROG
(PARI) concat([0, 0, 0, 0, 0, 0, 0, 0, 0, 0], Vec(x^10*(x-1)^2/((10*x-1)*(9*x^12-9*x^11+10*x-1)) + O(x^100))) \\ Colin Barker, Feb 27 2015
CROSSREFS
KEYWORD
nonn,base,easy
AUTHOR
Jon E. Schoenfield, Feb 22 2015
STATUS
approved