Mathematics I / Modular Arithmetic
Practice question · Select all that apply

Select every operation you may perform on congruences modulo n with no extra conditions.

Hints
  1. Four of these follow from congruence being compatible with arithmetic; one is the famous exception.
  2. Try cancelling the 2 in '6 is congruent to 2 mod 4' and see whether the result survives.
Show the answer
  • A. Replace any number by its remainder mod n at any stage
  • B. Subtract two congruences
  • C. Multiply two congruences
  • E. Add two congruences
Why

Addition, subtraction, multiplication and reduce-as-you-go are all safe. Cancellation is not: 6 is congruent to 2 mod 4, but cancelling 2 gives '3 congruent to 1 mod 4', which is false. Division mod n needs a multiplicative inverse, and those exist only for numbers coprime to n.

Read the lesson: Modular Arithmetic →

Practise Modular Arithmetic

The app has 5 more questions on this lesson, and keeps your place in the course. Mathematics I is free to start.

More questions on Modular Arithmetic