Let $a, r, n \in \mathbb{Z}$ with $n>0$. Prove that if $[a]_n = [r]_n$, then for all $k \in \mathbb{N}$, $[a^k]_n = [r^k]_n$.
So far this is what I have:
Proof: Let $a, r, n \in \mathbb{Z}$ with $n>0$. Assume $[a]_n = [r]_n$. Note that then $n| a-r$, i.e., $a-r=nx$ for some $x\in \mathbb{Z}$. Our proof strategy will be by induction on $k$. Base Case: Let $k=1$. Then $[a^1]_n = [r^1]_n$ since $[a^1]_n=[a]_n$ and $[r^1]_n=[r]_n$. Induction Step: Let $k>1$. Assume by induction that $[a^{k-1}]_n = [r^{k-1}]_n$. Then $n|a^{k-1}-r^{k-1}$, i.e., $a^{k-1}-r^{k-1}=nz$ for some $z\in \mathbb{Z}$.
From there I have trouble. I know I need to get to $a^k-r^k=ny$ for some $y\in \mathbb{Z}$ since then $[a^k]_n = [r^k]_n$. I am not sure how to get there from the information that I have.
Multiply both sides of $a^{k-1} - r^{k-1} = nz$ by $a$ and $r$ to get two equations $$a^k - ar^{k-1} = n(az) \\ ra^{k-1} - r^k = n(rz)$$
Now add them and solve for $a^k - r^k$: $$a^k-r^k = n(az+rz) - ra(a^{k-2} - r^{k-2})$$
Can you think of how to proceed from here? (hint: you may want to go back to your base case and show the equation is true for $k=0$, or maybe $k=2,$ to use a slightly stronger induction)