Okay, so there was this puzzle which pops out from the ergodic seminar a while ago:
What’s the probability for the leading digit of being
as
?
It’s a cute classical question in ergodic theory, the answer is .
Proof: (all log are taken in base )
Given a natural number , let
where
, since
,
, we see that the first digit of
is the integer part of
.
The first digit of is the integer part of
.
For , leading digit of
is
iff
iff
.
Let irrational, let
be rotation by
(
is considered as
,
). All orbits of
are uniformly distributed i.e. for any
,
In particular we have
Therefore the limiting probability of first digit of being
is
.
To generalize, Pengfei asks Given some two digit number K, what’s the probability of the first two digits being K?
The natural thing to do is take base , however one soon figured out there is a problem since we don’t really want to count “
” as the first two digits when the number of digits is odd.
I found the following trick being handy:
When the number of digits is odd, we may consider the orbit of under the rotation
. This will give us the first digit in base
of
which takes even number of digits precisely when
has odd number of digits, the first two digit is the same as the original. Since this orbit is also uniformly distributed, we get the probability of
having odd number of digits and the first two digit is
is
.
Applying the usual procedure to the orbit of in base
gives us the probability of
having even number of digits and the first two digit is
is
.
Hence the actual probability of starting with
is just the sum of the two that’s
.
The same works for finding the distribution of the first digits. i.e. taking the number of digit mod n, we would be summing the probability
-times for each
, the limiting probability is
.
Remark: One can first calculate the probability of having odd number of digit. This would be the orbits of
under rotation
inside the interval
which is
. The limiting probability is
(make sense since this says about half of the time the number of digits is odd)
In general, the number of digits being is
for each
.
For some reason, professor Kra was interested in figuring out the distribution of the ‘middle’ digit…which I’m not exactly sure how one would define it.
hehe this was in my Analysis take-home midterm just a week ago. But it is provided that orbits of an irrational are equidistributed in (0,1), and that log2 is irrational…
LikeLike