Theorem 1 (Chinese Remainder Theorem) Let m1,⋯,mk be pairwise coprime positive integers. Then, for any integers a1,⋯,ak, the system of linear congruences
x≡aj(modmj),1⩽j⩽k
has a solution, and the solution is unique. In fact, let
c=M1M1−1a1+⋯+MkMk−1ak
where m=m1⋯mk,m=mjMj(1⩽j⩽k),Mj−1 is an integer satisfying
MjMj−1≡1(modmj),1⩽j⩽k
(i.e., the inverse of Mj modulo mj) ⊕. Then, the solution to the system of congruences (3) is
x≡c(modm)
Furthermore, c is coprime to m if and only if aj is coprime to mj, 1⩽j⩽k.
Want a route through all this instead of an archive?
The track
puts 2,000 problems in a working order, from AMC 10 level to the IMO shortlist.