Properties of Congruences
Congruences modulo can be added, subtracted, multiplied and raised to powers like ordinary equations. These rules are used to compute remainders and last digits without large numbers and to check arithmetic.
LaTeX
a\equiv b,\ c\equiv d\pmod n\ \Rightarrow\ a\pm c\equiv b\pm d,\ \ ac\equiv bd,\ \ a^k\equiv b^k\pmod nVariables
- integers
- modulus (positive integer)
- non-negative integer exponent
Example
Find the last digit of .
- , .
- .
- Check: .
Answer: The last digit is .