孙子定理的独特的(容易的)部分

Read · 1 min

The Chinese Remainder Theorem (CRT) states the following:

If (m1,m2,...,mk)=1(m_1, m_2, ..., m_k)=1, then the system of congruences: x≡a1(modm1)x\equiv a_1\pmod{m_1} x≡a2(modm2)x\equiv a_2\pmod{m_2} ...... x≡ak(modmk)x\equiv a_k\pmod{m_k} has exactly 11 solution modulo m1m2...mkm_1m_2...m_k.

The uniqueness part of CRT states that there is at most 11 solution, and the existence part of CRT states that there is at least 11 solution. Here, we will prove the uniqueness part, which is actually quite straightforward.

Let X1X_1 and X2X_2 be any 22 solutions to the above system of congruences. Note that: X1≡X2≡a1(modm1)X_1\equiv X_2\equiv a_1\pmod{m_1} Thus, m1∣(X1−X2)m_1 \mid (X_1-X_2). By a similar reasoning, mi∣(X1−X2)m_i \mid (X_1-X_2) for all 1≤i≤k1\le i\le k. Therefore, if [m1,m2,...,mk][m_1, m_2, ..., m_k] denotes the least common multiple (LCM) of m1,m2,...,mkm_1, m_2, ..., m_k, then: [m1,m2,...,mk]∣(X1−X2)[m_1, m_2, ..., m_k] \mid (X_1-X_2) Since m1,m2,...,mkm_1, m_2, ..., m_k are relatively prime, [m1,m2,...,mk]=m1m2...mk[m_1, m_2, ..., m_k]=m_1m_2...m_k. Therefore, m1m2...mk∣(X1−X2)m_1m_2...m_k \mid (X_1-X_2) X1≡X2(modm1m2...mk)X_1\equiv X_2\pmod{m_1m_2...m_k} This means that any two solutions must be congruent modulo m1m2...mkm_1m_2...m_k. It follows that the system of congruences has at most 11 solution modulo m1m2...mkm_1m_2...m_k.

No recipe to follow

These problems have no steps to copy. You have to understand the idea well enough to bend it to a new purpose. These are real problems from the AMC 8, AMC 12 and AIME, the national math competitions for middle and high school students, each with a worked solution on LIVE by Po-Shen Loh.

Read · 1 min

The Chinese remainder theorem is a theorem of number theory, which states that, if one knows the remainders of the division of an integer n by several integers, then one can determine uniquely the remainder of the division of n by the product of these integers, under the condition that the divisors are pairwise coprime.

The Chinese remainder theorem is widely used for computing with large integers, as it allows replacing a computation for which one knows a bound on the size of the result by several similar computations on small integers.

Type a concept, like “slope” or “photosynthesis”.

↑ ↓ to choose · Enter to openSearch explanations and problems