Chinese remainder theorem: Difference between revisions
Jump to navigation
Jump to search
imported>Barry R. Smith (added statement) |
imported>Barry R. Smith |
||
Line 12: | Line 12: | ||
x &\equiv a_1 \pmod{n_1}\\ | x &\equiv a_1 \pmod{n_1}\\ | ||
x &\equiv a_2 \pmod{n_2}\\ | x &\equiv a_2 \pmod{n_2}\\ | ||
\vdots &\equiv \vdots\\ | \vdots &\equiv \vdots \qquad \quad \, \, \, \, \vdots\\ | ||
x &\equiv a_t \pmod{n_t}\\ | x &\equiv a_t \pmod{n_t}\\ | ||
\end{align} </math> | \end{align} </math> | ||
has solutions, and any two solutions differ by a [[multiple (mathematics)|multiple]] of <math>n</math>. | has solutions, and any two solutions differ by a [[multiple (mathematics)|multiple]] of <math>n</math>. |
Revision as of 17:48, 18 November 2008
The Chinese remainder theorem is a mathematical result about modular arithmetic. It describes the solutions to a system of linear congruences with distinct moduli. As well as being a fundamental tool in number theory, the Chinese remainder theorem forms the theoretical basis of algorithms for storing integers and in cryptography. The Chinese remainder theorem can be generalized to a statement about commutative rings; for more about this, see the "Advanced" subpage.
Theorem statement
The Chinese remainder theorem:
Let be pairwise relatively prime positive integers, and set . Let be integers. The system of congruences
has solutions, and any two solutions differ by a multiple of .