Homepage › Solution manuals › Ivan Niven › An Introduction to the Theory of Numbers › Exercise 4.5.14* (The probability that a power of $2$ has leading digit $1$ is $\log 2 / \log 10$ )
Exercise 4.5.14* (The probability that a power of $2$ has leading digit $1$ is $\log 2 / \log 10$ )
For any positive integer prove that has leading digit if and only if has leading digit . Hence, prove that the “probability ” that a power of has leading digit is and that this is also the “probability” that a power of has leading digit . By “probability”, we mean the limit as tends to infinity of the probability that an arbitrarily selected integer from has leading digit , and similarly for powers of .
Answers
Proof.
- (a)
-
Consider the two subsets of
given by
In others terms,
where
Then are positive irrational numbers: if , where are positive integers, then . The unique factorization theorem shows that . This is a contradiction, so is irrational, and similarly is irrational.
Since
Problem 4.1.23 shows that and are complementary subsets of , that is
Moreover, by Problem 4.5.13 (a), for every positive integer , has leading digit if and only if there is some such that , that is if and only if .
By part (b) of the same problem, has not leading digit if and only if there is some positive integer such that , that is if and only if . Therefore has leading digit if and only if .
This shows that for every , has leading digit if and only if has leading digit .
- (b)
-
If
, then
has leading coefficient
if and only if
, that if if and only if
for some positive integer
. Then
. Moreover, for every positive integer
,
( is an irrational number, thus is never an integer.)
If , the favorable case among are
so the number of favorables cases in is , and the probability that an arbitrarily selected integer from has leading digit is
Since ,
thus
There are as many powers in such that has leading coefficient than powers in such that has leading coefficient , thus the “probability” that a power of has leading digit is also .