## Analysis – Some remarks on continued fractions

September 18, 2013

Most introductory books on number theory have at least one section on the theory of continued fractions. I suggest

William Stein. Elementary number theory: primes, congruences, and secrets. A computational approach.  Undergraduate Texts in Mathematics, Springer, New York, 2009. MR2464052 (2009i:11002).

downloadable from his webpage. Chapter 5 is on continued fractions. Of interest to us is the proof that for any integer $a_0$ and any infinite sequence of positive integers $a_1,a_2,\dots$ the corresponding continued fraction $\displaystyle {}[a_0;a_1,a_2,\dots]=a_0+\frac1{a_1+\frac1{a_2+\dots}}$ converges to an irrational number. This gives us an explicit bijection between the space of irrationals $\mathbb R\setminus\mathbb Q$ and Baire space, $\mathbb N^{\mathbb N}$. The bijection is actually a homeomorphism, so the two spaces are equal, as topological spaces. This was first noted by Baire, in

René Baire. Sur la représentation des fonctions discontinues. Deuxième partie, Acta Math. 32 (1), (1909), 97–176. MR1555048.

For a very nice alternative proof of the homeomorphism that does not involve continued fractions, see Chapter 1 of

Arnold W. Miller. Descriptive set theory and forcing. How to prove theorems about Borel sets the hard way. Lecture Notes in Logic, 4. Springer-Verlag, Berlin, 1995.MR1439251 (98g:03119).

Arnie’s homeomorphism also has the nice feature of being an explicit order preserving bijection between $\mathbb Z^{\mathbb N}$, ordered lexicographically, and the set of irrationals.

In William’s book, you may also want to look at section 5.4, where a proof is provided of Euler’s theorem from 1737 that the continued fraction of $e$ is given by $e=[2;1,2,1,1,4,1,1,6,1,1,8,\dots].$

(No such nice pattern is known for $\pi$.)

A few nice additional results on continued fractions, with references, are given in this blog entry.

A fascinating open problem, due to Zaremba from 1972, is discussed in

Alex Kontorovich. From Apollonius to Zaremba: local-global phenomena in thin orbits. Bull. Amer. Math. Soc. (N.S.), 50 (2), (2013), 187–228. MR3020826.

To state the problem, fix a positive integer $n$, and consider the set $\displaystyle N_n=\{m\mid \mbox{ there is an }r\mbox{ such that }1\le r\le m,$ $\displaystyle \mathrm{gcd}(m,r)=1,\mbox{ and if }\frac mr=[a_0;a_1,\dots,a_k],$ $\displaystyle \mbox{ then }a_i\le n\mbox{ for all }i\le k\}.$

For example, $N_1$ consists of all numerators appearing in finite continued fractions consisting solely of ones: ${},[1;1],[1;1,1],[1;1,1,1],\dots$, that is, $\displaystyle 1,2,\frac32,\frac53,\frac85,\dots$, so $N_1$ is the set of positive Fibonacci numbers.

Zaremba’s conjecture is that $N_5=\mathbb N^+$. In fact, much more is expected to be true. For example, Hensley conjectured in 1996 that $N_2$ contains all positive integers, with finitely many exceptions. The best result to date is that $N_{50}$ contains almost all positive integers, in the sense that $\displaystyle \lim_{n\to\infty}\frac{N_{50}\cap[1,n]}n=1.$

For this, see the announcement,

Jean Bourgain, and Alex Kontorovich. On Zaremba’s conjecture, C. R. Math. Acad. Sci. Paris, 349 (9-10), (2011), 493–495. MR2802911 (2012e:11012),

and the preprint

Jean Bourgain, and Alex Kontorovich. On Zaremba’s conjecture. ArXiv:1107.3776.

(Of immediate interest to us is the fact described in Kontorovich’s survey that for $n\ge2$, the set of infinite continued fractions $[1;a_0,a_1,a_2,\dots]$

where $1\le a_i\le n$ for all $i$ is a Cantor set.)