Finding the fractional part of $\frac{5^{200}}{8}$.
I've had this problem given to me (we're learning the Binomial Theorem and all.) So obviously I thought I'd apply the binomial theorem to it, somehow.
I've tried writing $5$ as $8-3$, and expanding the numerator, so that all but one term would be divisible by $8$, (the one term being the constant term.) and hence the fractional part would only (possibly) arise from the constant term being divided by 8. But apparently this is not working because the constant term itself is of the order of magnitude of the original numerator.
Any ideas?
Note that $$5^2 \equiv 1 \pmod8 \implies 5^{200} = (5^2)^{100} \equiv 1^{100} \pmod8 \equiv 1 \pmod8$$ We hence have $$5^{200} = 8M + 1 \implies \dfrac{5^{200}}8 = M + \dfrac18$$ where $M \in \mathbb{Z}^+$. Hence, the fractional part is $1/8$.
EDIT Another equivalent way is to write $5^{200}$ as $(4+1)^{200}$ and then use binomial theorem, i.e., $$5^{200} = (1+4)^{200} = \sum_{k=0}^{200} \dbinom{200}k 4^k$$ Note that $8$ divides $4^k$ for all $k \geq 2$. Hence, we have $$5^{200} = 8N + \dbinom{200}1 4^1 + \dbinom{200}{0} 4^0 =8N + 800 + 1 = 8M+1$$ We hence have $$5^{200} = 8M + 1 \implies \dfrac{5^{200}}8 = M + \dfrac18$$ where $M \in \mathbb{Z}^+$. Hence, the fractional part is $1/8$.