Chinese Remainder Theorem by Hin Chi Lee (12JLG)
The Chinese Remainder Theorem allows solving of a system of simultaneous linear congruences involving modulo operations. It has first been discovered by the Chinese mathematician Sunzi. The theorem is commonly used when dealing with large integers in computers or sometimes serves calculations in astronomical purposes. We denote that “x divided by n leaves a remainder of a” as ≡ This is known as the modulo operation. Eg. 9 divided by 4 leaves a remainder of 1, hence this identity can be denoted by the following: 9 ≡ 1 4 It states that given a set of simultaneous congruences where are pairwise co-prime 1 for = 1, 2, … , ≡ 1 1 ≡ 2 2 : ≡ can be solved by the following sequence: = 1 1 1 + 2 2 2 + ⋯+ where = 1 2 … and 1 ∙ 𝑀 𝑖 = 1 2
Proof of existence of solution
For any system of linear congruences,
= 1 = 2