For each positive integer , the set can be partitioned into cells according to whether the remainder is . These cells are called the residue classes modulo in . is called the modulus.
The equivalence relation on corresponding to the residue classes modulo in is called congruence modulo . We usually write to state is congruent to modulo .
if and only if .
Chinese Remainder Theorem
Let be pairwise coprime and . Then there exists a unique solution (modulo ) to the following system of congruences:
Equivalently, we note there is a rngisomorphism given by