Skip to content
START WITH A QUESTION

What would you like to understand?

Find an answer. See the moment it becomes clear. Follow the idea further.

← Concept directory

Answers for “为什么允许重新排列同余方程?”

2 keyword matches

Understanding your question. You can explore the search results below now.

Understand why

↗

The step size updates to the least common multiple (LCM) of the moduli already satisfied because adding the LCM to a current solution preserves the remainders for all those moduli. Any increment divisible by all the current moduli will not change the remainder modulo any of them, and the LCM is the smallest positive such increment.

Conditions: A number currently satisfies a set of congruences.; The new step size must preserve the remainders for all those congruences.

Meet the concept

↗

If two congruences x ≡ r (mod m) and x ≡ r (mod n) share the same remainder r, then x=rx = r is an immediate particular solution. The full combined solution set is then r plus multiples of the LCM of the two moduli: x=r+kx = r + k * LCM(m, n).

Conditions: The two congruences have the identical remainder r.; The moduli m and n are positive integers.