Find the remainder when $13^{13}$ is divided by $25$.
Here is my attempt, which I think is too tedious:
Since $13^{2} \equiv 19 (\text{mod} \ 25),$ we have $13^{4} \equiv 19^{2} \equiv 11 (\text{mod} \ 25)$ and $13^{8} \equiv 121 \equiv 21 (\text{mod} \ 25).$ Finally, we have $13^{8+4} \equiv 13^{12} \equiv 21\times 11 \equiv 231 \equiv 6 (\text{mod} \ 25)$ and hence $13^{13} \equiv 3 (\text{mod} \ 25).$
Is there a less tedious way to find the remainder? Thank you.
Not really, you could only use this $$19\equiv -6\pmod {25}$$ and $$121\equiv -4\pmod {25}$$ That would perhaps save you some time.
By Euler theorem you could also see that
$$ 13^{20}\equiv1\pmod{25} \implies 13^{10}\equiv \pm1\pmod{25} $$ so