How to compute $2^{2475} \bmod 9901$?
My work: $$2^{2475} = 2^{5^2\cdot 9\cdot 11} = 1048576^{5\cdot 9\cdot 11} = (-930)^{5\cdot 9\cdot 11} \bmod 9901$$
but I got stuck after this. Any further computation continuing from where I got stuck results in numbers that are too large for me to work with.
Since $9901$ is prime, $\phi(9901)=9900$, hence $2^{9900}\equiv1\pmod{9901}$.
Hence $2^{9900}\equiv(2^{2475})^{4}\equiv1\pmod{9901}$.
Now we need to solve the equation $x^{4}\equiv1\pmod{9901}$.
– barak manos Aug 22 '16 at 04:30