How do I calculate $$ 25·41^{16} \bmod 17 $$
using Fermat's little theorem? More specifically, how do I find an $x$ such that $$ x \equiv 25·41^{16}\bmod 17 $$
One part of Fermat's theorem states that, if $p$ is a prime number and $a$ is an integer such that $a\nmid p$, then $a^p \equiv a\bmod p$. I was thinking of taking $a = 25·41^{16}$ and thus $(25·41^{16})^{17} \equiv 25·41^{16} \bmod 17$, but then you would have to do the multiplication, calculate the power, and then calculate the $\text{mod}$; but only Fermat's little theorem must be used: if we have to do these extra calculations anyway, why even use it?
Any help/hints would be appreciated.