Homepage › Solution manuals › Ivan Niven › An Introduction to the Theory of Numbers › Exercise 2.1.41 (Solve $a \equiv b \mod c, b \equiv c \mod a, c \equiv a \mod b$, $a,b,c \in \mathbb{N}^*$)
Exercise 2.1.41 (Solve $a \equiv b \mod c, b \equiv c \mod a, c \equiv a \mod b$, $a,b,c \in \mathbb{N}^*$)
Find all sets of positive integers satisfying all three congruences .
Hint: If is such a set, so also is for any positive integer . Hence is suffices to determine all “primitive” sets with the property . Also there is no loss in generality in assuming that .
Answers
Proof. Let be a solution of
Then is a solution for any positive integer . Hence is suffices to determine all primitive sets with the property .
If is a solution, so is any permutation of . So there is no loss in generality in assuming that .
Let be a solution of (1) such that and . We name such a solution a reduced solution.
Then (1) is equivalent to the existence of integers such that
Since , we have .
From (2), we obtain . Substituting this value in (3), we deduce , therefore
Assume for contradiction that . Then . This is a contradiction, so . Then , and (4) gives .
But , thus (and is any integer ).
Conversely , where , is a reduced solution, because and (and ).
To conclude, the reduced solutions are the triplets for .
(So the solutions are or , where ). □