I have to find the remainder when $5^{99}$ is divided by $13$ without using modular arithmetic. I have to use Binomial Theorem only. Here's my attempt.
My Attempt $$\begin{aligned}5^{99}=125^{33}&=(117+8)^{33}\\ &=\sum_{k=0}^{33}{33\choose k} (117)^{33-k}(8)^{k}\end{aligned}$$
So the answer will be same remainder as obtained when $8^{33}$ is divided by $13$ which would be the same when $5^{11}$ is divided by $13$ which we get by writing $8^{33}$ as $(507+5)^{11}$.
I am not sure on how to proceed from here. Any hints would be appreciated. Thanks