By a classical result of Gauss and Kuzmin, the continued fraction expansion of a ``random'' real number contains each digit a with asymptotic frequency log₂(1+1/(a(a+2))). We generalize this result in two directions: First, for certain sets A, we establish simple explicit formulas for the frequency with which the continued fraction expansion of a random real number contains a digit from the set A. For example, we show that digits of the form $p-1$, where p is prime, appear with frequency log₂(π²/6). Second, we obtain a simple formula for the frequency with which a string of k consecutive digits a appears in the continued fraction expansion of a random real number. In particular, when $a=1$, this frequency is given by |log₂(1+(-1)ᵏ/Fₖ₊₂)|, where Fₙ is the nth Fibonacci number. Finally, we compare the frequencies predicted by these results with actual frequencies found among the first 300 million continued fraction digits of π, and we provide strong statistical evidence that the continued fraction expansion of π behaves like that of a random real number.
No takes yet. Share an insight, caveat, or question.
Jin et al. (2024) studied this question.
Synapse has enriched 5 closely related papers on similar clinical questions. Consider them for comparative context: