What is the shortest way to compute the last 3 digits of $17^{256}$ ?
My solution: \begin{align} 17^{256} &=289^{128} \\ &=(290 - 1)^{128}\\ &=\binom{128}{0}290^{128} - ... +\binom{128}{126}290^2 - \binom{128}{127}290 + \binom{128}{128} \end{align}
Computed the last 3 terms whose last 3 digits gave the last 3 digits of $17^{256}$.
Is there any shorter method to do this(which requires much less computation) ?