|
|
A170955
|
|
a(n) = 10^n - 9.
|
|
6
|
|
|
1, 91, 991, 9991, 99991, 999991, 9999991, 99999991, 999999991, 9999999991, 99999999991, 999999999991, 9999999999991, 99999999999991, 999999999999991, 9999999999999991, 99999999999999991, 999999999999999991
(list;
graph;
refs;
listen;
history;
text;
internal format)
|
|
|
OFFSET
|
1,2
|
|
COMMENTS
|
|
|
LINKS
|
|
|
FORMULA
|
a(n) = 10*a(n-1) + 81 for n>1, a(1)=1.
G.f.: x*(1+80*x) / ( (10*x-1)*(x-1) ). - R. J. Mathar, Aug 24 2011
|
|
MATHEMATICA
|
CoefficientList[Series[(1 + 80*x)/(1 - 11*x + 10*x^2), {x, 0, 30}], x] (* Vincenzo Librandi, Feb 06 2013 *)
LinearRecurrence[{11, -10}, {1, 91}, 20] (* Harvey P. Dale, Aug 20 2015 *)
|
|
PROG
|
|
|
CROSSREFS
|
|
|
KEYWORD
|
nonn,easy
|
|
AUTHOR
|
|
|
EXTENSIONS
|
|
|
STATUS
|
approved
|
|
|
|