Skip to content
DAH
Wiki/Number TheoryTheoryActive

Diophantine approximation and continued fractions

How well irrational numbers can be approximated by fractions. Continued-fraction convergents are the best approximations; the irrationality exponent measures how good they get, and the subspace theorem limits them.

On this page16 sections
Why other work relies on it

Roth's and Ridout's theorems, the subspace theorem and S-unit equations underlie transcendence proofs and finiteness results across number theory. Continued fractions are the working tool for explicit approximation questions.

How closely a number can be squeezed by fractions with small denominators, and how continued fractions find the best ones.

  1. 1Real numbers have fractions near them
  2. 2Continued fractions find the best ones
  3. 3Exponent μ says how good they get
  4. 4Roth and Ridout cap μ for special numbers
  5. 5Open: which numbers sit in between

Fractions as approximations. Every real number ξ\xi can be written as a continued fraction ξ=a0+1a1+1a2+1a3+⋯\xi=a_0+\cfrac{1}{a_1+\cfrac{1}{a_2+\cfrac{1}{a_3+\cdots}}} with whole numbers a0a_0 and a1,a2,⋯≥1a_1,a_2,\dots\ge1. You get the aia_i by repeating one step: take the whole part, subtract it, flip what is left. For 2\sqrt2 this gives [1;2,2,2,… ][1;2,2,2,\dots]. For π\pi it gives [3;7,15,1,292,… ][3;7,15,1,292,\dots].

Convergents. Stop after ana_n and simplify: you get a fraction pn/qnp_n/q_n called a convergent. For π\pi they are 33, 22/722/7, 333/106333/106, 355/113355/113, 103993/33102103993/33102. The jump to 355/113355/113 is large because the next number, 292292, is large: a big an+1a_{n+1} means pn/qnp_n/q_n is unusually close.

Best approximations. Two facts make convergents special. First, ∣ξ−pn/qn∣<1/qn2|\xi-p_n/q_n|<1/q_n^2. Second (Legendre), if a reduced fraction u/vu/v satisfies ∣ξ−u/v∣<1/(2v2)|\xi-u/v|<1/(2v^2), then it is a convergent. So the convergents are exactly the approximations that beat the error 1/v21/v^2 by a factor of two.

How good can it get? For any irrational ξ\xi there are infinitely many fractions with error below 1/v21/v^2 (Dirichlet). The irrationality exponent μ(ξ)\mu(\xi) asks for the largest μ\mu such that error below v−μv^{-\mu} happens infinitely often. Almost every number has μ=2\mu=2. Roth's theorem (1955) says every irrational algebraic number has μ=2\mu=2. Numbers with μ=∞\mu=\infty are Liouville numbers; they are approximated by fractions better than any power of the denominator, and every one is transcendental.

Prescribing the primes. What if the fractions pn/qnp_n/q_n are built only from a few primes, say only 2 and 3? Ridout's extension of Roth's theorem (1958), and more generally Schmidt's subspace theorem with Schlickewei's pp-adic version, limits how often fractions like 2a/3b2^a/3^b can be close to a number. These are the tools for the problem on this site. Their consequence: if infinitely many denominators of convergents use only a fixed finite set of primes, the number is transcendental. Whether a number must be Liouville when infinitely many convergents have both numerator and denominator built from a fixed finite set of primes is the Erdős–Mahler question.

Why it matters. The exponent μ\mu is the dial that separates algebraic numbers (μ=2\mu=2) from Liouville numbers (μ=∞\mu=\infty). Which values in between occur, and for numbers of which kind, is where the tools still have gaps.

Go deeper

The full technical text.

Continued fractions and convergents

Every real number ξ\xi has a regular continued fraction ξ=a0+1a1+1a2+⋯\xi=a_0+\cfrac{1}{a_1+\cfrac{1}{a_2+\cdots}} with a0∈Za_0\in\mathbb Z and ai≥1a_i\ge 1 integers. It stops after finitely many terms exactly when ξ\xi is rational. Cutting it off after ana_n gives the convergents pn/qnp_n/q_n in lowest terms, computed by pn=anpn−1+pn−2p_n=a_np_{n-1}+p_{n-2} and qn=anqn−1+qn−2q_n=a_nq_{n-1}+q_{n-2}. They satisfy ∣ξ−pn/qn∣<1/qn2|\xi-p_n/q_n|<1/q_n^2, and by Legendre's criterion any reduced fraction u/vu/v with ∣ξ−u/v∣<1/(2v2)|\xi-u/v|<1/(2v^2) is a convergent. Convergents are the best rational approximations in the sense that no fraction with a smaller denominator is closer to ξ\xi than a convergent is, up to the usual caveats about intermediate fractions. A very large partial quotient an+1a_{n+1} means that pn/qnp_n/q_n is an unusually good approximation.

The irrationality exponent

The irrationality exponent μ(ξ)\mu(\xi) is the supremum of the μ\mu for which 0<∣ξ−u/v∣<v−μ0<|\xi-u/v|<v^{-\mu} has infinitely many solutions in reduced fractions u/vu/v. Dirichlet's theorem gives μ(ξ)≥2\mu(\xi)\ge 2 for every irrational ξ\xi, and μ(ξ)=2\mu(\xi)=2 for almost every real number (Lebesgue measure). A Liouville number is one with μ(ξ)=∞\mu(\xi)=\infty. Liouville showed in 1844 that algebraic numbers of degree dd cannot be approximated better than exponent dd, and used this to write down the first explicit transcendental numbers. The set of Liouville numbers has measure zero (indeed Hausdorff dimension 00) but is dense and uncountable.

Roth, Ridout and the subspace theorem

Thue (1909), Siegel (1921) and finally Roth (1955) improved Liouville's bound: every irrational algebraic number has μ=2\mu=2. Ridout (1958) proved a pp-adic version, in which one is allowed to also make the numerator and denominator divisible only by primes from a fixed finite set SS and the approximation is measured with pp-adic absolute values. A far-reaching extension is Schmidt's subspace theorem (1972) and its SS-adic form by Schlickewei (1977): integer points where a product of linearly independent linear forms is small lie in finitely many proper subspaces. It yields finiteness for the SS-unit equation x+y=1x+y=1 (solutions in numbers composed only of primes in SS) and for many questions on fractions of the form 2a/3b2^a/3^b.

Prescribed prime factors in convergents

A recurring question is what the arithmetic of the convergents pn/qnp_n/q_n tells us about ξ\xi. A consequence of Ridout's theorem is that if infinitely many denominators qnq_n have all prime factors in a fixed finite set, then ξ\xi is transcendental. Erdős and Mahler (1939) proved that if the largest prime factor of qn−1qnqn+1q_{n-1}q_nq_{n+1} stays bounded for infinitely many nn, then ξ\xi is a Liouville number, and conjectured the same conclusion when the largest prime factor of pnqnp_nq_n stays bounded. Whether that conjecture holds is the problem treated below.

Why it matters

The exponent μ\mu separates the algebraic numbers (μ=2\mu=2) from the Liouville numbers (μ=∞\mu=\infty), and the numbers in between are where the structure of the real line is least understood. Methods developed here (the subspace theorem, linear forms in logarithms, Cantor-set constructions with prescribed μ\mu) are standard tools in transcendence theory.

Words on this page (10)
Words on this page
continued fraction
A way to write a number as a whole part plus one over a whole part plus one over another, and so on.
convergent
The fraction you get by stopping a continued fraction after finitely many steps; it is a best rational approximation.
irrationality exponent
The largest power μ such that a number is within v^(-μ) of infinitely many fractions with denominator v.
Liouville number
A number with infinite irrationality exponent: fractions approximate it better than any power of the denominator.
transcendental number
A number that is not the root of any nonzero polynomial with whole-number coefficients; every Liouville number is one.
Roth's theorem
Every irrational algebraic number has irrationality exponent exactly 2.
subspace theorem
Schmidt's theorem that whole-number points where a product of linear forms is small lie in finitely many flat subspaces.
smooth number
A whole number all of whose prime factors are small, or taken from a fixed finite set of primes.
Cantor set
A set built by repeatedly splitting intervals and removing pieces; uncountable, but with no length.
Erdős–Mahler conjecture
The 1939 conjecture that bounded prime factors of numerator times denominator of infinitely many convergents force a Liouville number.
New to this? Read first (4)
New to this? Read first
AI-reviewedAn AI drafted this explanation. Check it against the technical text.

Understanding map

map of the whole wiki →

What to read before Diophantine approximation and continued fractions (left), and what builds on it: entries that depend on it and its open problems (right). Every box links to its page.

  1. Start with
  2. Step 2
  3. Step 3
  4. Then

Open problems & questions

Progress timeline

  1. Nov 10, 2026
    A preprint claims a counterexample to the Erdős–Mahler conjecture on convergents

    Marques claims, for every real τ ≥ 4, a Cantor set of numbers with irrationality exponent τ, each having infinitely many convergents of the form 2^a/3^b. Unrefereed; a Lean 4 development is linked from the paper.

    source
  2. Nov 10, 2026
    Marques preprint: Cantor sets of numbers with exponent τ ≥ 4 and convergents 2^a/3^b
    Related to: The Erdős–Mahler conjecture on convergents with bounded prime factors

    Marques claims a counterexample to the Erdős–Mahler conjecture: for every real τ ≥ 4 a Cantor set of numbers with irrationality exponent τ, each with infinitely many convergents of the form 2^a/3^b. Unrefereed; Lean 4 formalization linked, conditional on two cited classical theorems.

    source