To conclude this section we discuss a special case of a system of congruences.
Chinese remainder theorem
The system of linear congruences
x
=
a
i
mod
m
i
,
i
= 1, 2, ...,
k
,
in which gcd(
m
i
,m
j
) = 1 for all distinct
i
and
j
, has a unique solution modulo the product
m
1
m
2
···
m
k
.
>>>
Proof
Gapplet
Exercise