|
|
A081045
|
|
10th binomial transform of (1,9,0,0,0,0,0,...).
|
|
7
|
|
|
1, 19, 280, 3700, 46000, 550000, 6400000, 73000000, 820000000, 9100000000, 100000000000, 1090000000000, 11800000000000, 127000000000000, 1360000000000000, 14500000000000000, 154000000000000000
(list;
graph;
refs;
listen;
history;
text;
internal format)
|
|
|
OFFSET
|
0,2
|
|
COMMENTS
|
For n >= 1, a(n-1) is the number of digits 1 (or any nonzero digit) that are necessary to write all the n-digit integers, while the corresponding number of digits 0 to write all these n-digit integers is A212704(n-1) for n >=2.
E.g.: a(2-1) = 19 since 19 digits 2's are required to write integers with a digit 2 from 10 up to 99: {12, 20, 21, 22, 23, 24, 25, 26, 27, 28, 29, 32, 42, 52, 62, 72, 82, 92}.
|
|
LINKS
|
|
|
FORMULA
|
a(n) = 20*a(n-1) - 100*a(n-2); a(0)=1, a(1)=19.
a(0)=1; for n>= 1, a(n) = (9*n+10)*10^(n-1) = 10^(n-1)*A017173(n+1).
a(n) = Sum_{k=0..n} (k+1)*9^k*binomial(n, k).
G.f.: (1-x)/(1-10*x)^2.
|
|
MATHEMATICA
|
CoefficientList[Series[(1 - x)/(1 - 10 x)^2, {x, 0, 30}], x] (* Vincenzo Librandi, Aug 06 2013 *)
|
|
PROG
|
|
|
CROSSREFS
|
|
|
KEYWORD
|
easy,base,nonn
|
|
AUTHOR
|
|
|
STATUS
|
approved
|
|
|
|