OFFSET
1,1
COMMENTS
For n -> oo, a(n)/10^n -> 0.9888......8889 = 89/90.
LINKS
Colin Barker, Table of n, a(n) for n = 1..999
Index entries for linear recurrences with constant coefficients, signature (11,-10).
FORMULA
From Colin Barker, Oct 03 2015: (Start)
a(n) = 11*a(n-1) - 10*a(n-2) for n>2.
G.f.: -x*(11*x-10) / ((x-1)*(10*x-1)).
(End)
MATHEMATICA
a[1] := 10; a[n_] := a[n] = 10 a[n - 1] - 1; Array[a@ # &, {20}] (* Michael De Vlieger, Oct 03 2015 *)
PROG
(PARI) Vec(-x*(11*x-10)/((x-1)*(10*x-1)) + O(x^30)) \\ Colin Barker, Oct 03 2015
CROSSREFS
KEYWORD
nonn,easy
AUTHOR
Mark Dols, Jul 19 2010
EXTENSIONS
Name edited by Colin Barker, Oct 03 2015
STATUS
approved