Chinese Remainder Theorem
Notes
Suppose

are positive integers that are pairwise coprime. Then, for any given sequence
of integers

there exists an integer
x that solves the following system of simultaneous congruences:
A solution
x exists if and only if