I want to prove that there exists $x, y \in \mathbb{Z_{\ge0}}$, $x ≠y$, s.t $a^x ≡ a^y \pmod{n}$.
The background to this question was that, I wanted to prove that modular exponentiation will repeat after some power.
I researched many times, but apparently the reason that seems the most appealing was that because after we reduce mod n, the reduced number will always be in the range $0 \le t < m$, so there must exist a repetition.
But I'm not convinced by this. How do you know after we reduce $a^x$, there will exist a residue of $a^y$ which is congruent to $a^x$?
For example, take $4^k \pmod{7}$. $4^0 ≡ 1 \pmod{7}$ $4^1 ≡ 4 \pmod{7}$ $4^2 ≡ 2 \pmod{7}$ $4^3 ≡ 1 \pmod{7}$
How do you know there will be another 1, 2, and 4? Why aren't there 3, 5, and 6 from the residues? For me, this cannot just be explained by just saying the residue will always be in the range $0 \le t < m$, so there will exist a repetition.