Prove $a \equiv b \pmod{c} \implies a^n \equiv b^n \pmod{c}$.
Here is my proof, which I'm slightly doubtful I've done correctly:
Suppose
$a \equiv b \pmod{c}$ and $d \equiv e \pmod{c}$
We have:
$a-b=ck$ and $d-e=cs$
$a=ck+b$ and $d=cs+e$
And hence:
$$ad=(cs+e)(ck+b)=c^2sk+cab+eck+eb$$
$$=c(csk+ab+eck)+eb$$
Therefore,
$$ad-eb=cn$$
$$ad \equiv eb \pmod{c}$$
The special case $d=a^{n-1}$ and $e=b^{n-1}$ through induction is reduced to:
$$a^n \equiv b^n \pmod{c}$$
For $n \geq 1$
Induction:
If $n=1$, then by the proof above $a=b \pmod{c}$ implies $a^2=b^2 \pmod{c}$. Assume that $a^{n-1}=b^{n-1} \pmod {c}$ is true, then we have by the proof above: $a^{n}=b^{n} \pmod{c}$. Hence because we proved $a^{2}=b^{2} \pmod{c}$, $a^{3}=b^{3} \pmod{c}$. And because of this $a^{4}=b^{4} \pmod{c}$. And because of this $a^{5}=b^{5} \pmod{c}$. Etc..
Is my proof valid? Because this question is more of a yes or no one, a different proof would also a nice supplement to the answer (or just a nice answer) if you wish to provide one.