Chinese Remainder Theorem
A system of congruences with pairwise coprime moduli has exactly one solution modulo the product of the moduli. It is used in cryptography (RSA speed-ups), calendar calculations and to split computations into smaller moduli.
LaTeX
x\equiv a_i\pmod{m_i},\ \gcd(m_i,m_j)=1\ \Rightarrow\ \text{a unique}\ x\ \bmod\ m_1m_2\cdots m_kVariables
- remainders
- pairwise coprime moduli
- solution
Example
Solve , , .
- from the first and third:
- .
Answer: .