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 a , b , c satisfying all three congruences a b ( mod c ) , b c ( mod a ) , c a ( mod b ) .

Hint: If a , b , c is such a set, so also is ka , kb , kc for any positive integer k . Hence is suffices to determine all “primitive” sets with the property ( a , b , c ) = 1 . Also there is no loss in generality in assuming that a b c .

Answers

Proof. Let ( a , b , c ) be a solution of

a b ( mod c ) , b c ( mod a ) , c a ( mod b ) . (1)

Then ( ka , kb , kc ) is a solution for any positive integer k . Hence is suffices to determine all primitive sets with the property a b c = 1 .

If ( a , b , c ) is a solution, so is any permutation of ( a , b , c ) . So there is no loss in generality in assuming that a b c .

Let ( a , b , c ) be a solution of (1) such that a b c = 1 and a b c . We name such a solution a reduced solution.

Then (1) is equivalent to the existence of integers k , l , m such that

b a = kc , (2) c b = la , (3) c a = mb . (4)

Since 0 < a b c , we have k 0 , l 0 , m 0 .

From (2), we obtain b = a + kc . Substituting this value in (3), we deduce c ( a + kc ) = la , therefore

0 = ( k 1 ) c + ( l + 1 ) a .

Assume for contradiction that k 1 . Then 0 = ( k 1 ) c + ( l + 1 ) a > 0 . This is a contradiction, so k = 0 . Then a = b , and (4) gives c = ( m + 1 ) a .

But 1 = a b c = a a ( m + 1 ) a = a , thus a = b = 1 (and c is any integer n 1 ).

Conversely ( 1 , 1 , n ) , where n , is a reduced solution, because 1 1 0 ( mod n ) and n 1 0 ( mod 1 ) (and 1 1 n = 1 , 1 1 n ).

To conclude, the reduced solutions are the triplets ( 1 , 1 , n ) for n .

(So the solutions are ( λ , λ , λn ) , ( λ , λn , λ ) or ( λn , λ , λ ) , where λ , n ). □

User profile picture
2024-08-02 09:30
Comments