As the name implies, what are the last 4 digits of $7^{65}$
I can't find anything that does not involve bashing, I tried $(8-1)^{65}$, or maybe $7^{65}$ mod 625 and 16,
As the name implies, what are the last 4 digits of $7^{65}$
I can't find anything that does not involve bashing, I tried $(8-1)^{65}$, or maybe $7^{65}$ mod 625 and 16,
$7 (7^2)^{32} = 7\color{#c00}{(50\!-\!1)^{32}} = 7 \overbrace{\left[1 - 32\cdot 50 + \dfrac{32\cdot 31}2\ 50^2 +10^4(\cdots)\right]}^{\rm\large appply\ \color{#c00}{Binomial\ Theorem}} \equiv 8807\pmod{\!10^4} $