3

We say that two integers $a$ and $b$ are congruent modulo $m$ if $a − b$ is divisible by $m$. We denote this by $a≡b \pmod m$.

Example 1: $−31 ≡ 11 \pmod 7$

$11 \pmod 7$ is $4$, is it not? $-31 \neq 4$ last time I checked.

Doug Smith
  • 1,015

1 Answers1

5

Hint: trying subtracting $11$ from $-31$: $\quad -31 - 11 = -42 = -6\cdot 7$.

That is, $7|-42$.

$a\equiv b \pmod m$ by definition means $m|(a - b)$.

Hence, in the case at hand, $-31\equiv 11 \pmod{7}.$

amWhy
  • 209,954