Chinese remainder theorem: Difference between revisions
Jump to navigation
Jump to search
imported>Barry R. Smith (Created stub) |
imported>Barry R. Smith (added statement) |
||
Line 1: | Line 1: | ||
{{subpages}} | {{subpages}} | ||
The '''Chinese remainder theorem''' is a mathematical result about [[modular arithmetic]]. It describes the solutions to a system of [[linear congruence]]s with distinct moduli. As well as being a fundamental tool in [[number theory]], the Chinese remainder theorem forms the theoretical basis of [[algorithm]]s for [[storing integers]] and in [[cryptography]]. The Chinese remainder theorem can be generalized to a statement about [[commutative ring]]s; for more about this, see the " | The '''Chinese remainder theorem''' is a mathematical result about [[modular arithmetic]]. It describes the solutions to a system of [[linear congruence]]s with distinct [[modulus (number theory)|moduli]]. As well as being a fundamental tool in [[number theory]], the Chinese remainder theorem forms the theoretical basis of [[algorithm]]s for [[storing integers]] and in [[cryptography]]. The Chinese remainder theorem can be generalized to a statement about [[commutative ring]]s; for more about this, see the "Advanced" subpage. | ||
== Theorem statement == | |||
The Chinese remainder theorem: | |||
Let <math> n_1, \ldots, n_t </math> be [[coprime|pairwise relatively prime]] positive integers, and set <math>n = n_1 n_2 \cdots n_t</math>. Let <math> a_1, \ldots, a_k </math> be integers. The [[system of congruences]] | |||
: <math> \begin{align} | |||
x &\equiv a_1 \pmod{n_1}\\ | |||
x &\equiv a_2 \pmod{n_2}\\ | |||
\vdots &\equiv \vdots\\ | |||
x &\equiv a_t \pmod{n_t}\\ | |||
\end{align} </math> | |||
has solutions, and any two solutions differ by a [[multiple (mathematics)|multiple]] of <math>n</math>. |
Revision as of 17:46, 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 .