Among the numbers 1, 2, . . . , $10^{10}$, are there more of those containing the digit 9 in their decimal notation, or of those with no 9?
Please give me some hint how to prove this.
Among the numbers 1, 2, . . . , $10^{10}$, are there more of those containing the digit 9 in their decimal notation, or of those with no 9?
Please give me some hint how to prove this.
The amount of numbers not containing the digit $9$ is:
$\left(\sum\limits_{n=1}^{10}8\cdot9^{n-1}\right)+1=$
$8\cdot\left(\sum\limits_{n=1}^{10}9^{n-1}\right)+1=$
$8\cdot\left(\sum\limits_{n=0}^{9}9^{n}\right)+1=$
$8\cdot\left(\frac{9^{10}-1}{9-1}\right)+1=$
$3486784401$
The amount of numbers containing the digit $9$ is therefore:
$10^{10}-3486784401=6513215599$
As $6513215599>3486784401$, there are more numbers containing the digit $9$ than not.
Since the sum of the reciprocals of the integers lacking the digit 9 converges, there are many more integers with 9 than without it.
The same for any base and any digit.
Another way.
There are $10^n$ n-digit numbers, and there are $9^n$ n-digit numbers without the digit 9.
The ratio is $(9/10)^n$.
If $n=10$, this is $(9/10)^{10} =(1-1/10)^{10} \approx 1/e $ since $(1-1/n)^n \approx 1/e$.
Therefore, about $1-1/e \approx 0.63$ of these numbers have a 9 and $1/e \approx 0.37$ do not have a 9.
Therefore more have them have a 9.