PlanetMath (more info)
 Math for the people, by the people. Sponsor PlanetMath
Encyclopedia | Requests | Forums | Docs | Wiki | Random | RSS  
Login
create new user
name:
pass:
forget your password?
Main Menu
Owner confidence rating: Very high Entry average rating: Very high
Chinese remainder theorem (Theorem)

Suppose we have a set of $n$ congruences of the form

$\displaystyle \begin{array}{ccc} x & \equiv & a_1 \pmod{p_1} \ x & \equiv & a_2 \pmod{p_2} \ & \vdots & \ x & \equiv & a_n \pmod{p_n} \ \end{array} $
where $p_1, p_2, \dots, p_n$ are relatively prime. Let $$P = \prod_{i=1}^n p_i$$ and, for all $i \in \mathbb{N}$ ($1 \leq i \leq n$ ), let $y_i$ be an integer that satisfies $$y_i \cdot \frac{P}{p_i} \equiv 1 \pmod{p_i}$$ Then one solution of these congruences is $$x_0 = \sum_{i=1}^n a_iy_i \cdot \frac{P}{p_i}$$ Any $x \in \mathbb{Z}$ satisfies the set of congruences if and only if it satisfies $$ x \equiv x_0 \pmod{P} $$

The Chinese remainder theorem originated in the book ``Sun Zi Suan Jing'', or Sun Tzu's Arithmetic Classic, by the Chinese mathematician Sun Zi, or Sun Tzu, who also wrote ``Sun Zi Bing Fa'', or Sun Tzu's The Art of War. The theorem is said to have been used to count the size of the ancient Chinese armies (i.e., the soldiers would split into groups of 3, then 5, then 7, etc, and the ``leftover'' soldiers from each grouping would be counted).




"Chinese remainder theorem" is owned by CWoo. [ full author list (4) | owner history (4) ]
(view preamble | get metadata)

View style:

See Also: Chinese remainder theorem in terms of divisor theory, Gödel's beta function


Attachments:
Chinese remainder theorem proof (Proof) by vampyr
noncommutative case Chinese remainder theorem for rings (Theorem) by polarbear
Log in to rate this entry.
(view current ratings)

Cross-references: groups, size, theorem, arithmetic, solution, integer, relatively prime, congruences
There are 16 references to this entry.

This is version 9 of Chinese remainder theorem, born on 2001-11-16, modified 2008-06-13.
Object id is 879, canonical name is ChineseRemainderTheorem.
Accessed 19254 times total.

Classification:
AMS MSC11D79 (Number theory :: Diophantine equations :: Congruences in many variables)

Pending Errata and Addenda
None.
[ View all 4 ]
Discussion
Style: Expand: Order:
forum policy

No messages.

Interact
post | correct | update request | prove | add result | add corollary | add example | add (any)