From a book I knew something about RSA algorithm .There I found a modular arithmetic property i.e $ (a\bmod n)^d\mod n=a^d\bmod n$
I don't know why this property works .Can anyone give me an intuitive proof for above property?
From a book I knew something about RSA algorithm .There I found a modular arithmetic property i.e $ (a\bmod n)^d\mod n=a^d\bmod n$
I don't know why this property works .Can anyone give me an intuitive proof for above property?
Let's pretend $a'=a+k n$ for some integer $k$, hence $a' \equiv a \pmod n$
We have $$(a')^d=(a+kn)^d=\sum_{i=0}^{d} \binom{d}{i}a^i(kn)^{d-i}\equiv a^d \pmod n$$
mod
as meaning the remainder of integer division. It is a comparison operator! – Jyrki Lahtonen Jun 04 '16 at 18:58