My question is about number theory, about congruences.
I need to solve the congruence $2^{1002}$ modulo $1002$.
I try to apply Chinese remainder,
Fermat's little theorem
and a few theorems more but i think i am on the wrong way:(
I need a hint to start the solution i think...
$2^{1002}$ is congruent to which number modulo $1002$?
Thanks for your help...
Here is my take: 1002 = 3 *2 * 167
Reminder by 6 (apply Chinese) = 4 Reminder by 167 (apply fermat's ) = 64
So reminder by 1002 (apply Chinese again) = 64.