Fermat's little theorem states that if $p$ is a prime number and $\operatorname{gcd}(a,p)=1$, then $a^{p-1} -1$ s a multiple of $p$.
Here's my attempt to find the remainder when $5^{99999}$ is divided by 53.
$5^{99999} = 5^{52}\equiv 1\pmod{53} \implies 5^{99999}\equiv5^{99999\bmod52}=5^{3}.$
Is this the correct approach? How do I proceed from here?