Generally

NOTE

Let be pairwise relatively prime integers and let . For every list with for , the system of congruence equations

has a unique solution satisfying

Case: r=2

NOTE

Let ​ and ​ be two positive integers that are coprime (). Then for any pair of residues ​ and ​, the system

has a unique solution modulo .

A simple constructive example

Find the modular inverse: Switch the parts together: ( the number of equations)