I came across this example in a video lecture on modular arithmetic. I need to calculate (99^99) modulo 100. It says that since modulo is preserved under multiplication we can just replace 99 in the base by a congruent number that is -1. AFAIK, this is neither modular multiplication or exponentiation.
2026-04-22 11:26:52.1776857212
Which property of modular arithmetic is being used here?
50 Views Asked by Bumbble Comm https://math.techqa.club/user/bumbble-comm/detail At
2
You can not replace both $99$'s with $-1$, this is only possible for the base. This is simply provable using the fact that
Let $a \equiv b$ (mod $m$), and we need to prove $a^k \equiv b^k$ (mod $m$). Perform an induction on $k$.
For instance $99 \equiv -1$ (mod $100$) implies $99^{99} \equiv -1^{99}$ (mod $100$). which is easy to calculate $-1^{99} = -1$.