OFFSET
0,2
LINKS
Index entries for linear recurrences with constant coefficients, signature (21,-120,100).
FORMULA
a(n) = n*10^(n-1) + 1.
a(n) = 21*a(n-1)-120*a(n-2)+100*a(n-3). - Colin Barker, May 23 2014
G.f.: -(99*x^2-19*x+1) / ((x-1)*(10*x-1)^2). - Colin Barker, May 23 2014
MATHEMATICA
Table[ n*10^(n - 1) + 1, {n, 0, 17}] (* Robert G. Wilson v, Jun 15 2004 *)
LinearRecurrence[{21, -120, 100}, {1, 2, 21}, 20] (* Harvey P. Dale, Sep 07 2022 *)
PROG
(PARI) Vec(-(99*x^2-19*x+1)/((x-1)*(10*x-1)^2) + O(x^100)) \\ Colin Barker, May 23 2014
CROSSREFS
KEYWORD
base,nonn,easy
AUTHOR
Lekraj Beedassy, Jun 11 2004
EXTENSIONS
More terms from Robert G. Wilson v, Jun 15 2004
Further terms from Colin Barker, May 23 2014
STATUS
approved