Homepage › Solution manuals › Ivan Niven › An Introduction to the Theory of Numbers › Exercise 4.5.2* (Revisited example 4)
Exercise 4.5.2* (Revisited example 4)
If is any set of integers selected from , prove that contains two relatively prime integers. Prove that the result does not hold if contains only integers.
Answers
Proof.
Write in the form , where .
- If there is some such that , then and are two relatively prime integers, and we are done.
-
At the contrary, suppose that for all . Then
Moreover , so
If there is some such that , then
in contradiction with (2). Therefore, for all ,
Similarly, if , then , thus , in contradiction with (1). Therefore . Since for all ,
In particular and are two relatively prime integers (here , otherwise there is nothing to prove).
In both cases, contains two relatively prime integers.
If may contain only integers, we can choose . Then , but does not contain two relatively prime integers. □