Skip to content
EntityQ193878· pop 45· linked from 165 articles

Chinese remainder theorem

Sign in to save

Also known as CRT, Sunzi theorem

theorem for solving simultaneous congruences

Wikidata facts

Instance of
theorem
Show 2 more facts
maintained by WikiProject
WikiProject Mathematics
Sources (5)

via Wikidata · CC0

~40 min read

Encyclopedic overview

In mathematics, the Chinese remainder theorem states that if one knows the remainders of the Euclidean 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 (no two divisors share a common factor other than 1).

Sunzi's original formulation: x ≡ 2 (mod 3) ≡ 3 (mod 5) ≡ 2 (mod 7) with the solution x = 23 + 105k, with k an integer The theorem is sometimes called Sunzi's theorem. Both names of the theorem refer to its earliest known statement that appeared in Sunzi Suanjing, a Chinese manuscript written during the 3rd to 5th century CE. This first statement was restricted to the following example:

Excerpted from Wikipedia’s “Chinese remainder theorem” article, available under the CC BY-SA 4.0 licence.