Example. [01A3]

Three illustrative examples of congruence:

  1. 18 \equiv 2 \mod 4, because 18-2 = 16 and 4\mid 16.
  2. 2\equiv -2 \mod 4, because 2-(-2) = 4 and 4\mid 4.
  3. 18\equiv -2\mod 4, because 18-(-2)=20 and 4 \mid 20.