In number theory, Lochs's theorem concerns the rate of convergence of the continued fraction expansion of a typical real number. A proof of the theorem was published in 1964 by Gustav Lochs.[1]

The theorem states that for almost all real numbers in the interval (0,1), the number of terms m of the number's continued fraction expansion that are required to determine the first n places of the number's decimal expansion behaves asymptotically as follows:

(sequence A086819 in the OEIS).[2]

As this limit is only slightly smaller than 1, this can be interpreted as saying that each additional term in the continued fraction representation of a "typical" real number increases the accuracy of the representation by approximately one decimal place. The decimal system is the last positional system for which each digit carries less information than one continued fraction quotient; going to base-11 (changing to in the equation) makes the above value exceed 1.

The reciprocal of this limit,

(sequence A062542 in the OEIS),

is twice the base-10 logarithm of Lévy's constant.

Plot of number of continued fraction coefficients versus number of decimal digits, for three "typical" random numbers exhibiting the typical behavior, contrasted with the golden ratio, which requires noticeably more coefficients per digit.
Three typical numbers, and the golden ratio. The typical numbers follow an approximately 45° line, since each continued fraction coefficient yields approximately one decimal digit. The golden ratio, on the other hand, is the number requiring the most coefficients for each digit.

A prominent example of a number not exhibiting this behavior is the golden ratio—sometimes known as the "most irrational" number—whose continued fraction terms are all ones, the smallest possible in canonical form. On average it requires approximately 2.39 continued fraction terms per decimal digit.[3]

Proof

edit

The proof assumes basic properties of continued fractions. Let   be the Gauss map.

Let   be the probability density function for the Gauss distribution, which is preserved under the Gauss map.

Since the probability density function is bounded above and below, a set is negligible with respect to the Lebesgue measure iff to the Gauss distribution.

Lemma

edit

Lemma.  .

Proof. Since  , we have   iff Let us consider the set of all   that have  . That is,   where   denotes the set of numbers whose continued fraction expansion has  , but no other constraints. Now, since the Gauss map preserves the Gauss measure, has the same Gauss measure as  , which is the same as

 The union over   sums to  , which at the   limit is zero.


Thus the set of such   has Gauss measure zero.

Finish the estimate

edit

Now, expand the term using basic continued fraction properties: The second is  . The third term is  . Both disappear after dividing by  .
Thus where we used the result from Lévy's constant.

References

edit
  1. ^ Lochs, Gustav (1964), "Vergleich der Genauigkeit von Dezimalbruch und Kettenbruch", Abhandlungen aus dem Mathematischen Seminar der Universität Hamburg (in German), 27 (1–2): 142–144, doi:10.1007/BF02993063, MR 0162753, S2CID 119419559
  2. ^ Weisstein, Eric W. "Lochs' Theorem". MathWorld.
  3. ^ Cooper, Harold (17 August 2016). "Continued Fraction Streams". Exist. Retrieved 30 August 2016.