Small Fractions: Farey Series and Fraction Trees

Farey Series

If we list all the "small" fractions, that is, those using no number higher than 5, say, and if we list them in order of size from 0 to 1, then the resulting series is called a Farey series:
0  1  1  1  2  1  3  2  3  4  1
543525345
Such series of small fractions have many interesting properties.
There is a Farey series for each size of maximum denominator so we call the maximum denominator of a series the order of that series and talk about "the Farey series of order 5" for instance.

It makes the maths tidier if we start at 0 and end with 1 and write these as 0/1 and 1/1:
orderFarey seriescount
1
0  1
11
2
2
0  1  1
121
3
3
0  1  1  2  1
13231
5
4
0  1  1  1  2  3  1
1432341
7
5
0  1  1  1  2  1  3  2  3  4  1
15435253451
11
6
0  1  1  1  1  2  1  3  2  3  4  5  1
1654352534561
13
...
John Farey gives his name to these series after he asked a question about these series of ordered fractions in a letter published in 1816.

The lengths of these series (counts) are 2, 3, 5, 7, 11, 13, 19, 23, 29, 33, .. A005728 and, apart from the first, are always odd. Up until 29 it looked as if they might all be primes, but 33 puts an end to that theory.

The Complementary Fraction

This is because if a/b is in a Farey series then so is 1 – a/b = (b–a)/b, called its complement.
Even 0/0 has a complement: 1/1.
There is one fraction not paired in this way because it is equal to its complement: 1/2.
So there are always an odd number of fractions in any Farey series beyond those of order 1, as each is paired with its complement except for 1/2.

The Denominators

In the table of Farey series, the denominators have a pattern. To generate the denominators of the next row (order 7) we insert a 7 wherever two neighbouring denominators of level 6 sum to 7:
Level 6:  1   6   5   4   3   5   2   5   3   4   5   6   1
Level 7:    7           7       7           7           7
We can then number the new fractions with numerators in order from 1 to 6 since there are 6 of them. However, in general there are not n-1 fractions with a denominator of n since some of them will not be in lowest form.

The Numerators

Are there any patterns in the numerators?
We noticed above that both a/b and its complement (b–a)/b are in the same Farey series. The Farey series are always in increasing size so the sum of the second fraction form the end is the complement of the second fraction (from the beginning), and so on for the third, fourth, etc, till we get to the central fraction 1/2. Such pairs have the same denominator and their numerators will sum or n, the order of the Farey series.

Neighbouring Fractions in Farey Series

An important property of two neighbouring fractions in any Farey series is that "cross-multiplying" gives two consecutive integers. In other words, if a/b and p/q are consecutive terms in any Farey series, then b×p is the next integer after a×q. For instance, the Farey seris of order 6 has ..., 1/3, 2/5, ... and 5×1 = 5 , 3×2 = 6. This works for all pairs of terms in all Farey series if we write the first fraction, 0, as 0/1.
... ,  a,  p,  ... ⇒ b p – a q = 1
bq

The Mediant

Another way to represent all small fractions is to use the fact that between fractions a/b and p/q lies the fraction (a+p)/(b+q) formed by summing their numerators and their denominators:
a
b
  <  
a + p
b + q
  <  
p
q

The central fraction here is called the mediant of the other two.
For any three successive fractions in any Farey series, the middle one is equal to the mediant of the other two.
John Farey observed this in the letter of 1816 and asked if it was always true. It was soon proved so by Cauchy who gave the name "Farey series" to thrm and it has been used ever since.

A Tree of Fractions

We can use the mediant operation to generate rows of small fractions beginning with 0/1 and 1/1 whose mediant is 1/2, as follows:
Each layer or level includes the fractions from the previous level and every gap between two on the previous level is filled with its mediant fraction. <
levelseriescount
00/1 1/12
10/1 1/2 1/13
20/1 1/3 1/2 2/3 1/15
30/11/41/32/51/23/52/33/41/19
...
As a result, each fraction (apart from 0 and 1) is a mediant of two successive 'parent' fractions on the previous level and it first appears nestled between its two fractions.
Any two neighbours on any level generate a 'child', their mediant, on the next level.
This family 'tree' of fractions has some interesting properties: The tree is named after Moritz Stern and Achille Brocot who both wrote about it independently around 1858.
C A L C U L A T O R


R E S U L T S

Book: Recreations in the Theory of Numbers - The Queen of Mathematics Entertains A H Beiler, Dover, 1964,
has a whole chapter on Farey Tales that is informative, fun and not at all too mathematical, like the rest of this book that I would highly recommend to anyone who has enjoyed this and Ron Knott's other maths web pages.
Article: On a Curious Property of Vulgar Fractions J Farey London, Edinburgh and Dublin Phil. Mag vol 47 (1816) page 385.
Book: Introduction to the Theory of numbers G H Hardy, E M Wright, Oxford University Press, 5th edition, 1980, ISBN: 0198531710
is a classic book well worth studying but some parts are at mathematics undergraduate level. There is a whole chapter on teh basic result of Farey Series with proofs.

Valid HTML 4.01! © 2008 Dr Ron Knott
created: 26 March 2008