Math 2.0

statement proposition

Cancellation in congruences

Statement

Let nn be a positive integer, and let aa, bb and cc be integers. Let d=gcd⁡(c,n)d = \gcd(c, n). If ca≡cb(modn)c a \equiv c b \pmod n, then a≡b(modn/d)a \equiv b \pmod{n / d}.

Remarks

In particular, if cc and nn are coprime, then ca≡cb(modn)c a \equiv c b \pmod n implies a≡b(modn)a \equiv b \pmod n. The modulus can become smaller. For example, 2⋅1≡2⋅4(mod6)2 \cdot 1 \equiv 2 \cdot 4 \pmod 6, but 1≢4(mod6)1 \not\equiv 4 \pmod 6. Here d=2d = 2, and indeed 1≡4(mod3)1 \equiv 4 \pmod 3. The proof: n∣c(a−b)n \mid c (a - b) gives nd∣cd(a−b)\frac{n}{d} \mid \frac{c}{d} (a - b). Since n/dn / d and c/dc / d are coprime, the generalized Euclid's lemma gives nd∣a−b\frac{n}{d} \mid a - b.

Explanations

L1 human

You can divide both sides of a congruence by a number that has no common factor with the modulus. If the number shares a factor with the modulus, you must also divide the modulus by that common factor.

What this node needs for W1
  • an inventory row: the row of the inventory that the node accounts for (0 of 1)

The writing levels say how complete the text of a node is. They do not measure its truth.

What this needs

To read this node, read these 6 nodes in this order. The foundations come first, and the list ends with this node.

Each node uses the nodes above it. The colour of the bar on a box shows the evidence level, and the box also gives it as text. The list below has the same nodes.
  • no evidence level
  1. Divisibility definition
  2. Congruence modulo n definition
  3. Greatest common divisor definition
  4. Coprime integers definition
  5. Generalized Euclid's lemma statement
  6. Cancellation in congruences statement

Sources

  1. Web https://en.wikipedia.org/wiki/Modular_arithmetic, Basic properties