So, in general I am aware of how to use modular arithmetic to prove a divisibility. But I have the following problem:
Prove that $24\mid5^{2n}-1$ for all $n\in\mathbb Z$.
I know that theoretically, I could show 23 different cases that the expression is congruent to $0\bmod24$, but that seems like it might be excessive to me.
Is there a faster way to show this?