|
|
A198970
|
|
a(n) = 4*10^n-1.
|
|
1
|
|
|
3, 39, 399, 3999, 39999, 399999, 3999999, 39999999, 399999999, 3999999999, 39999999999, 399999999999, 3999999999999, 39999999999999, 399999999999999, 3999999999999999, 39999999999999999, 399999999999999999, 3999999999999999999
(list;
graph;
refs;
listen;
history;
text;
internal format)
|
|
|
OFFSET
|
0,1
|
|
LINKS
|
|
|
FORMULA
|
a(n) = 10*a(n-1)+9, n>0.
a(n) = 11*a(n-1)-10*a(n-2), n>1.
|
|
MATHEMATICA
|
CoefficientList[Series[3*(1 + 2*x)/(1 - 11*x + 10*x^2), {x, 0, 30}], x] (* Vincenzo Librandi, Jan 03 2013 *)
|
|
PROG
|
(Magma) [4*10^n-1 : n in [0..20]]
|
|
CROSSREFS
|
|
|
KEYWORD
|
nonn,easy
|
|
AUTHOR
|
|
|
STATUS
|
approved
|
|
|
|