On Wed, 16 May 2012 23:20:49 -0700, Lone Learner wrote:
> On May 7, 12:03 pm, Dr Nick ... wrote:
>> Ed Murphy ... writes:
>> > cotpi wrote:
>> > (someone) wrote:
...
>> > Let f(n) and g(n) be the number of n-digit numbers in the first and
>> > second sequence, respectively.
>>
>> > f(n) = 8 * 9^(n-1), or 9 * 9^(n-1) if the particular digit is zero
>> > g(n) = 9 * 10^(n-1) - f(n)
>>
>> > The running total of g(n) catches up to that of f(n) somewhere in the
>> > seven-digit range (or eight-digit if the particular digit is zero),
>> > and continues to increase more rapidly past that point.
>>
>> It's a corollary of the counter-intuitive thing that, to any reasonable
>> approximation, the proportion of numbers that don't contain a 9 is zero.
>> Isn't it?
...
> I have similar question too. Is there a proof to show that the running
> total of g(n) continues to increase or is it an observation of the
> graphs?
Yes. The "running total of g(n)" is 9 * 10^(n-1) - f(n)
or 9 * 10^(n-1) - 8 * 9^(n-1) [for non-zero digit k]
which is greater than 9 * 9^(n-1) - 8 * 9^(n-1) = 9^(n-1)
which steadily increases as n increases. For the k=0 case,
g(n) = 9 * (10^(n-1) - 9^(n-1)). It should now be obvious that
g(n) steadily increases with n, but if not, write the latter as
(9^n)*((10/9)^(n-1) - 1) which by binomial expansion is not less
than (9^n)*(1 + n/9 - 1) = n*9^(n-1), which steadily increases
with n.
--
jiw