Math 2.0

statement corollary

Congruence is compatible with powers

Statement

Let nn be a positive integer, let aa and bb be integers, and let kk be a natural number. If a≡b(modn)a \equiv b \pmod n, then ak≡bk(modn)a^k \equiv b^k \pmod n.

Remarks

The proof is an induction on kk with compatibility with multiplication. The exponent cannot be reduced modulo nn in general. For example, 25=32≡2(mod3)2^5 = 32 \equiv 2 \pmod 3, but 25 mod 3=22≡1(mod3)2^{5 \bmod 3} = 2^2 \equiv 1 \pmod 3. Euler's theorem tells when one can reduce the exponent, and by which modulus.

Explanations

L1 human

To find 10100 mod 910^{100} \bmod 9, note that 10≡1(mod9)10 \equiv 1 \pmod 9. So 10100≡1100=1(mod9)10^{100} \equiv 1^{100} = 1 \pmod 9, without a computation of the large number.

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 4 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. Congruence is compatible with multiplication statement
  4. Congruence is compatible with powers statement

What depends on this

3 nodes use this node, directly or through other nodes.

Sources

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