Let be integers greater than , and . If the are pair-wise co-prime, and if are any integers, then the system

has a solution, and any two solutions, say and , satisfy

A trivial case is if

then we have

To construct a solution, let be the product of all moduli but one. As the are pair-wise co-prime, and are co-prime. Thus Bezout's identity applies, and there exist integers and such that

A solution of the system of congruences is

In fact, as is a multiple of for , we have

Note

We can use extended Euclidean algorithm to calculate and