I need help with getting on the right track for this one.
Since $a = b \; \text{mod} \; n$, we have that $a = kn + b$ for some $k \in \mathbb{Z}$. Likewise, we have $c = jn + d$ for some $j \in \mathbb{Z}$. Therefore, we must show that $n | a^c - b^d$. However, we can substitute $(kn+b)$ for $a$ and $jn+d$ for $c$ to get $(kn+b)^{jn+d} - b^d$. By the binomial theorem, we have $\sum_{i = 0}^{jn+d} \binom{jn+d}{i}(kn)^{i}d^{jn+d-i} - b^d.$ It is at this point I get stuck though. Am I on the wright track, or is there a much easier way?
Edit: A slight modification, the homework did say $a,b,c,d$ were all positive integers.