Skip over navigation
Cambridge University Faculty of Mathematics NRich logo
menu search
  • Teachers expand_more
    • Early years
    • Primary
    • Secondary
    • Post-16
    • Events
    • Professional development
  • Students expand_more
    • Primary
    • Secondary
    • Post-16
  • Parents expand_more
    • Early Years
    • Primary
    • Secondary
    • Post-16
  • Problem-Solving Schools
  • About NRICH expand_more
    • About us
    • Impact stories
    • Support us
    • Our funders
    • Contact us
  • search

Or search by topic

Number and algebra

  • The Number System and Place Value
  • Calculations and Numerical Methods
  • Fractions, Decimals, Percentages, Ratio and Proportion
  • Properties of Numbers
  • Patterns, Sequences and Structure
  • Algebraic expressions, equations and formulae
  • Coordinates, Functions and Graphs

Geometry and measure

  • Angles, Polygons, and Geometrical Proof
  • 3D Geometry, Shape and Space
  • Measuring and calculating with units
  • Transformations and constructions
  • Pythagoras and Trigonometry
  • Vectors and Matrices

Probability and statistics

  • Handling, Processing and Representing Data
  • Probability

Working mathematically

  • Thinking mathematically
  • Developing positive attitudes
  • Cross-curricular contexts

Advanced mathematics

  • Decision Mathematics and Combinatorics
  • Advanced Probability and Statistics
  • Mechanics
  • Calculus

For younger learners

  • Early Years Foundation Stage

Farey Neighbours

Age 16 to 18
Challenge Level Yellow starYellow star
  • Problem
  • Getting Started
  • Student Solutions
  • Teachers' Resources
You may wish to explore Farey Sequences and Mediant Madness before working on this problem.

The Farey sequence $F_n$ is the list written in increasing order of all the rational numbers between $0$ and $1$ that have only the numbers $1, 2, 3, ... n$ as denominators. We have $$\eqalign{F_1&=\frac{0}{1}, \frac{1}{1}\cr F_2&=\frac{0}{1}, \frac{1}{2}, \frac{1}{1}.}$$

For the two rational numbers $\frac{a}{c}$ and $\frac{b}{d}$ the mediant is defined as $\frac{a+b}{c+d}$.

Show that if $0< \frac{b}{d} < \frac{a}{c}< 1$ then $\frac{b}{d} < \frac{a+b}{c+d} < \frac{a}{c}$.

Each Farey sequence $F_{n+1}$ must contain all of the terms of $F_{n}$, along with some new terms. Each 'new' term in the Farey sequence $F_{n+1}$ is the mediant of two consecutive terms in $F_n$, but not all mediants of consecutive terms of $F_n$ are included: where the denominator of the mediant is greater than $n+1$ the mediant does not occur in $F_{n+1}$ and instead two consecutive terms in $F_n$ are repeated in $F_{n+1}$.

Use the mediants to work out $F_3, F_4$ and $F_5$.

Two consecutive terms in a Farey sequence are known as Farey Neighbours.

Let $\frac{b}{d}$ and $\frac{a}{c}$ be Farey Neighbours. Choose some pairs of Farey Neighbours from the Farey Sequences you have worked out, and calculate $ad-bc$.
What do you notice?

Can you prove it using mathematical induction?

This is the key result that links Farey sequences to infinite sets of circles that are packed together, each circle touching its neighbours. See the problem Ford Circles.

You may also like

Shades of Fermat's Last Theorem

The familiar Pythagorean 3-4-5 triple gives one solution to (x-1)^n + x^n = (x+1)^n so what about other solutions for x an integer and n= 2, 3, 4 or 5?

Exhaustion

Find the positive integer solutions of the equation (1+1/a)(1+1/b)(1+1/c) = 2

Code to Zero

Find all 3 digit numbers such that by adding the first digit, the square of the second and the cube of the third you get the original number, for example 1 + 3^2 + 5^3 = 135.

  • Tech help
  • Accessibility Statement
  • Sign up to our newsletter
  • Twitter X logo

The NRICH Project aims to enrich the mathematical experiences of all learners. To support this aim, members of the NRICH team work in a wide range of capacities, including providing professional development for teachers wishing to embed rich mathematical tasks into everyday classroom practice.

NRICH is part of the family of activities in the Millennium Mathematics Project.

University of Cambridge logo NRICH logo