Chinese Remainder Theorem
Chinese Remainder Theorem (CRT)
For all integers
Have a unique solution modulo
Thus, if
(See GCD)
Let
Assume that
From the definitions of congruence and divisibility, the set of solutions to the congruence
Now we have
where
Hence replacing
Generalized Chinese Remainder Theorem (GCRT)
For all positive integers
have a unique solution modulo
Thus, if
Examples
Solve the simultaneous congruences
Since
Note that
Now observe that
We conclude that the set of solutions to the simultaneous congruences consists of all integers