Chinese Remainder Theorem Solver
Enter up to 5 simultaneous congruences — each with a remainder (a) and a modulus (m) — and the Chinese Remainder Theorem Solver finds the unique solution x satisfying all equations at once. Optionally include a coefficient (b) for equations of the form bx ≡ a (mod m). The solver returns the smallest non-negative solution and the combined modulus M, so you can verify and extend the result yourself.
Results
Solution x (smallest non-negative)
--
Combined Modulus M
--
Solution Status
--
General Solution (x + k·M)
--