Homepage Solution manuals Ivan Niven An Introduction to the Theory of Numbers Exercise 6.1.4 (Bounds for the distances of consecutive fractions in the Farey sequence)

Exercise 6.1.4 (Bounds for the distances of consecutive fractions in the Farey sequence)

Let a b and a b run through all pairs of adjacent fractions in the Farey sequence of order n > 1 . Prove that

min ( a b a b ) = 1 n ( n 1 ) and max ( a b a b ) = 1 n .

Answers

We need the following lemma (see Hardy &Wright p.24):

Lemma. If n > 1 , then no two consecutive terms of the Farey sequence of order n have the same denominator.

Proof. (of Lemma). If a b < a b are two consecutive terms of the Farey sequence, then by Theorem 6.1 (and the remark at the end of section 6.1), b a ab = 1 , thus b ( a a ) = 1 ( b > 0 ) , thus b = 1 and a = a + 1 . The two consecutive terms are a and a + 1 , hence n = 1 . (There is an alternative proof in Hardy & Wright.) □

Proof. (of 6.1.4). Consider two consecutive terms a b < a b in the (complete) Farey sequence of order n , so that b n and b n . By the Lemma, b b , and by Theorem 6.1,

b a a b = 1 . (1)

Then

a b a b = b a a b b b = 1 b b . (2)
  • Since b b , b b n ( n 1 ) , where n > 1 . Therefore by (2),

    a b a b 1 n ( n 1 ) .

    Moreover, by Problem 5, a b = 1 n and a b = 1 ( n 1 ) are consecutive fractions in the Farey sequence of order n , and a b a b = 1 ( n ( n 1 ) ) . Hence

    min ( a b a b ) = 1 n ( n 1 ) .

  • Since a b < a b are consecutive fractions in the Farey sequence of order n , and a b < a + a b + b < a b , we deduce that a + a b + b is not in the Farey sequence of order n . Therefore b + b > n (otherwise the reduced fraction of a + a b + b would be in the Farey sequence of order n ). So

    b + b n + 1 .

    Then

    b b n b ( n + 1 b ) n = ( n b ) ( b 1 ) 0 ,

    thus

    b b n .

    By (2),

    a b a b 1 n .

    Moreover, by Problem 5, a b = 0 1 and a b = 1 n are consecutive fractions in the Farey sequence of order n , and a b a b = 1 n . Hence

    max ( a b a b ) = 1 n .

User profile picture
2025-07-03 19:04
Comments