Farey Series

1. Definition and the Simplest Property

The Farey series \( \mathfrak{F}_n \) of order \( n \) is the ascending series of irreducible fractions between 0 and 1 whose denominators do not exceed \( n \). Thus \( h/k \) belongs to \( \mathfrak{F}_n \) if

\begin{equation} 0 \le h \le k \le n,\qquad (h,k)=1; \tag{3.1.1} \end{equation}

the numbers 0 and 1 are included in the forms \( \frac{0}{1} \) and \( \frac{1}{1} \). For example, \( \mathfrak{F}_5 \) is-

\[ \frac{0}{1},\; \frac{1}{5},\; \frac{1}{4},\; \frac{1}{3},\; \frac{2}{5},\; \frac{1}{2},\; \frac{3}{5},\; \frac{2}{3},\; \frac{3}{4},\; \frac{4}{5},\; \frac{1}{1}. \]

1.1. Theorem 30.

If \( h/k \) and \( h'/k' \) are two successive terms of \( \mathfrak{F}_n \), then

\begin{equation} k + k' > n. \tag{3.1.4} \end{equation}

The ’mediant’

\[ \frac{h+h'}{k+k'} \]

of \( h/k \) and \( h'/k' \) falls in the interval

\[ \left( \frac{h}{k},\; \frac{h'}{k'} \right). \]

Hence, unless (3.1.4) is true, there is another term of \( \mathfrak{F}_n \) between \( h/k \) and \( h'/k' \).

1.2. Theorem 31.

If \( n > 1 \), then no two successive terms of \( \mathfrak{F}_n \) have the same denominator.

If \( k > 1 \) and \( h'/k \) succeeds \( h/k \) in \( \mathfrak{F}_n \), then \( h+1 \le h' < k \). But then

\[ \frac{h}{k} < \frac{h}{k-1} < \frac{h+1}{k} \le \frac{h'}{k}; \]

and \( h/(k-1) \) comes between \( h/k \) and \( h'/k \) in \( \mathfrak{F}_n \), a contradiction.

2. The equivalence of the two characteristic properties

The characteristic properties of Farey series are expressed by the following theorems.

Theorem 28. If \( h/k \) and \( h'/k' \) are two successive terms of \( \mathfrak{F}_n \), then

\begin{equation} kh' - hk' = 1. \tag{3.1.2} \end{equation}

Theorem 29. If \( h/k \), \( h''/k'' \), and \( h'/k' \) are three successive terms of \( \mathfrak{F}_n \), then

\begin{equation} \frac{h''}{k''} = \frac{h+h'}{k+k'}. \tag{3.1.3} \end{equation}

We now prove that each of Theorems 28 and 29 implies the other.

(1) Theorem 28 implies Theorem 29. If we assume Theorem 28, and solve the equations

\begin{equation} kh'' - hk'' = 1,\qquad k''h' - h''k' = 1 \tag{3.2.1} \end{equation}

for \( h'' \) and \( k'' \), we obtain

\[ h''(kh' - hk') = h + h', \qquad k''(kh' - hk') = k + k', \]

and so (3.1.3).

(2) Theorem 29 implies Theorem 28. We assume that Theorem 29 is true generally and that Theorem 28 is true for \( \mathfrak{F}_{n-1} \), and deduce that Theorem 28 is true for \( \mathfrak{F}_n \). It is plainly sufficient to prove that the equations (3.2.1) are satisfied when \( h''/k'' \) belongs to \( \mathfrak{F}_n \) but not to \( \mathfrak{F}_{n-1} \), so that \( k'' = n \). In this case, after Theorem 31, both \( k \) and \( k' \) are less than \( k'' \), and \( h/k \) and \( h'/k' \) are consecutive terms in \( \mathfrak{F}_{n-1} \).

Since (3.1.3) is true ex hypothesi, and \( h''/k'' \) is irreducible, we have

\[ h+h' = \lambda h'', \qquad k+k' = \lambda k'', \]

where \( \lambda \) is an integer. Since \( k \) and \( k' \) are both less than \( k'' \), \( \lambda \) must be 1. Hence

\[ h'' = h+h', \qquad k'' = k+k', \qquad kh'' - hk'' = kh' - hk' = 1; \]

and similarly

\[ k''h' - h''k' = 1. \]

3. First proof of Theorems 28 and 29

Our first proof is a natural development of the ideas used in ยง 3.2.

The theorems are true for \( n = 1 \); we assume them true for \( \mathfrak{F}_{n-1} \) and prove them true for \( \mathfrak{F}_n \).

Suppose that \( h/k \) and \( h'/k' \) are consecutive in \( \mathfrak{F}_{n-1} \) but separated by \( h''/k'' \) in \( \mathfrak{F}_n \). Let

\begin{equation} kh'' - hk'' = r > 0, \qquad k''h' - h''k' = s > 0. \tag{3.3.1} \end{equation}

Solving these equations for \( h'' \) and \( k'' \), and remembering that

\[ kh' - hk' = 1, \]

we obtain

\begin{equation} h'' = sh + rh', \qquad k'' = sk + rk'. \tag{3.3.2} \end{equation}

Here \( (r,s)=1 \), since \( (h'',k'')=1 \).

3.1. Goal

The aim is now to prove that the middle fraction is exactly the mediant:

\[ \frac{h''}{k''} = \frac{h+h'}{k+k'}. \]

Since we already have

\[ h'' = sh + rh', \qquad k'' = sk + rk', \]

it is enough to show that

\[ r=s=1. \]

Then (3.3.2) immediately becomes

\[ h'' = h+h', \qquad k'' = k+k'. \]

3.2. Introduce the set \( S \)

Consider the set \(S\) of all fractions of the form

\begin{equation} \frac{H}{K} = \frac{\mu h + \lambda h'}{\mu k + \lambda k'}, \qquad \lambda,\mu \in \mathbb{Z}_{>0}, \quad (\lambda,\mu)=1. \tag{3.3.3} \end{equation}

This is a natural family to consider because \( h''/k'' \) already has exactly this form: by (3.3.2),

\[ \frac{h''}{k''} = \frac{sh+rh'}{sk+rk'}, \]

so one can take

\[ \mu=s,\qquad \lambda=r. \]

Thus \( h''/k'' \in S \).

3.3. Every fraction of \( S \) lies between \( h/k \) and \( h'/k' \)

Let

\[ \frac{H}{K} = \frac{\mu h + \lambda h'}{\mu k + \lambda k'} \in S. \]

To compare it with \( h/k \), compute

\[ kH - hK = k(\mu h + \lambda h') - h(\mu k + \lambda k') = \lambda(kh' - hk'). \]

Since \( h/k \) and \( h'/k' \) are consecutive in \( \mathfrak{F}_{n-1} \), the induction hypothesis gives

\[ kh' - hk' = 1. \]

Hence

\[ kH - hK = \lambda > 0, \]

so

\[ \frac{h}{k} < \frac{H}{K}. \]

Similarly,

\[ h'K - k'H = h'(\mu k + \lambda k') - k'(\mu h + \lambda h') = \mu(kh' - hk') = \mu > 0, \]

and therefore

\[ \frac{H}{K} < \frac{h'}{k'}. \]

So every fraction in \( S \) satisfies

\[ \frac{h}{k} < \frac{H}{K} < \frac{h'}{k'}. \]

3.4. Every fraction of \( S \) is already in lowest terms

Suppose \( d \) divides both \( H \) and \( K \). Then \( d \) divides every integer linear combination of \( H \) and \( K \). In particular,

\[ kH - hK = \lambda, \qquad h'K - k'H = \mu. \]

So \( d \mid \lambda \) and \( d \mid \mu \). But \( (\lambda,\mu)=1 \), hence \( d=1 \). Therefore

\[ (H,K)=1. \]

So every fraction of \( S \) is irreducible.

3.5. Every fraction of \( S \) appears in some Farey series

A reduced fraction \( H/K \) belongs to \( \mathfrak{F}_q \) as soon as \( q \ge K \). Therefore every element of \( S \) eventually appears in some Farey series.

Its first appearance is in \( \mathfrak{F}_K \), so among all fractions in \( S \), the one that appears earliest is the one with the smallest denominator \( K \).

3.6. Which choice gives the smallest denominator

For fractions in \( S \),

\[ K = \mu k + \lambda k'. \]

Since \( \lambda,\mu \) are positive integers, the smallest possible value of \( K \) is obtained when both are as small as possible, namely

\[ \lambda=1,\qquad \mu=1. \]

Thus the earliest possible fraction from \( S \) is

\[ \frac{h+h'}{k+k'}. \]

3.7. This must be the middle fraction

The fraction \( h''/k'' \) lies in \( S \), and it is the fraction that first appears between the previously consecutive terms \( h/k \) and \( h'/k' \) when passing from \( \mathfrak{F}_{n-1} \) to \( \mathfrak{F}_n \).

But among all fractions in \( S \), the earliest one is uniquely determined by the choice \( \lambda=\mu=1 \). Hence the middle fraction must be exactly that one:

\begin{equation} \frac{h''}{k''} = \frac{h+h'}{k+k'}. \tag{3.3.4} \end{equation}

Therefore

\[ h'' = h+h', \qquad k'' = k+k'. \]

This proves Theorem 29 in this situation.

3.8. remarks

The proof uses induction on \( n \). In the induction step, it focuses on a special configuration: a fraction that makes its first appearance in \( \mathfrak{F}_n \), i.e. a fraction that belongs to \( \mathfrak{F}_n \) but not to \( \mathfrak{F}_{n-1} \).

Because of this special setup, the proof obtains a stronger conclusion than is needed for Theorem 29. Namely, in this first-appearance case one gets

\[ h'' = h+h', \qquad k'' = k+k'. \]

This is stronger than merely saying

\[ \frac{h''}{k''} = \frac{h+h'}{k+k'}. \]

Indeed, the equality of numerators and denominators term-by-term implies the equality of the two fractions, but the converse is not generally true, since the fraction \( (h+h')/(k+k') \) may need to be reduced.

So the logical structure is:

\[ \text{first-appearance case} \;\Longrightarrow\; h'' = h+h',\ k'' = k+k' \;\Longrightarrow\; \frac{h''}{k''} = \frac{h+h'}{k+k'}. \]

However, the stronger statement

\[ h'' = h+h', \qquad k'' = k+k' \]

should not be regarded as a general property of every three successive terms of \( \mathfrak{F}_n \). It is only valid in the special inductive situation where the central fraction is appearing for the first time in \( \mathfrak{F}_n \).

What is generally true, and what Theorem 29 actually asserts, is only the weaker statement

\[ \frac{h''}{k''} = \frac{h+h'}{k+k'}. \]

Thus the proof establishes the theorem by proving a stronger fact in a special case, but that stronger fact is not itself the full general theorem.

Author: Lowtroo

Created on: 2026-04-20 Mon 21:00

Powered by Emacs 29.3 (Org mode 9.6.15)