Back to Divisibility and Congruences

Exercise 7

Avg difficulty 2.5

Find counterexamples to the following statements:

  1. If ac≡bc(modm)ac \equiv bc \pmod m where a,b,c,m∈Za, b, c, m \in \Z with m≥2m \ge 2, then a≡b(modm)a \equiv b \pmod m.
  2. If a≡b(modm)a \equiv b \pmod m and c≡d(modm)c \equiv d \pmod m where a,b,c,m∈Za, b, c, m \in \Z with m≥2m \ge 2, then ac≡bd(modm)a^c \equiv b^d \pmod m.

The first part of this exercise should convince you: you cannot “divide” both sides by cc in modular arithmetic!

Hammond, Discrete Math for Shockers, §3.1 Divisibility and Congruences, Exercise 7

AI Tutor

Adapted from Discrete Math for Shockers © 2021 John Hammond. Licensed under CC BY-SA 4.0. Source: Discrete Math for Shockers. Imported at revision 2538beb.