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 \equiv -3 \pmod{5}$?”

2 keyword matches

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

Understand why

↗

Because adding the modulus 12 to -2 gives 10 (−2+12=10-2 + 12 = 10). This means -2 and 10 represent the same residue class modulo 12.

Conditions: Work modulo 12.; Allow negative representatives.

Find a method

↗

To verify a≡b(modn)a \equiv b \pmod{n}, divide aa by the modulus nn using long division and check if the remainder is bb. If the remainder matches bb, the congruence is valid.

Conditions: The method is demonstrated for positive dividends and positive moduli.; The speaker calls it a colloquial explanation.