Exercise 4.5.2* (Revisited example 4)

If 𝒮 is any set of n + 1 integers selected from 1 , 2 , 3 , , 2 n + 1 , prove that 𝒮 contains two relatively prime integers. Prove that the result does not hold if 𝒮 contains only n integers.

Answers

Proof.

Write 𝒮 in the form 𝒮 = { a 1 , a 2 , , a n + 1 } [ [ 1 , 2 n + 1 ] ] , where a 1 < a 2 < < a n + 1 .

  • If there is some i [ [ 1 , n ] ] such that a i + 1 = a i + 1 , then a i and a i + 1 are two relatively prime integers, and we are done.
  • At the contrary, suppose that a i + 1 a i 2 for all i [ [ 1 , n ] ] . Then

    a n + 1 a 1 = i = 1 n ( a i + 1 a i ) 2 n . (1)

    Moreover 1 a 1 < a n + 1 2 n + 1 , so

    a n + 1 a 1 2 n . (2)

    If there is some i [ [ 1 , n ] ] such that a i + 1 a i > 2 , then

    a n + 1 a 1 = i = 1 n ( a i + 1 a i ) > 2 n ,

    in contradiction with (2). Therefore, for all i [ [ 1 , n ] ] ,

    a i + 1 a i = 2 .

    Similarly, if a 1 > 1 , then 1 < a 1 < a n + 1 2 n + 1 , thus a n + 1 a 1 < 2 n , in contradiction with (1). Therefore a 1 = 1 . Since a i + 1 a i = 2 for all i ,

    a i = 1 + 2 i ( 1 i n ) .

    In particular a 1 = 1 and a 2 = 3 are two relatively prime integers (here n 1 , otherwise there is nothing to prove).

In both cases, 𝒮 contains two relatively prime integers.

If 𝒮 may contain only n integers, we can choose a 1 = 2 , a 2 = 4 , , a n = 2 n . Then 𝒮 [ [ 1 , 2 n + 1 ] ] , but 𝒮 does not contain two relatively prime integers. □

User profile picture
2025-03-13 10:30
Comments