Find the remainder when $7^{98} $ is divided by $5$.
What I am doing here is expanding ${(5+2)}^{98} $ using binomial theorem and writing it as $5k + 2$, where $k$ is a positive integer but the answer is $4$ and I'm getting $2.$
They are expanding ${(50 - 1)}^{49} $ using binomial theorem and then writing $50k - 1$ and getting $4$ as a reminder.
How those two methods are different?