- #1
pivoxa15
- 2,255
- 1
I have got another question, this time involving the Euler's Theorem:
a^(phi(m)) is congruent to 1 (mod m)
The question is calculate
7^40002 mod 1000
I could only reduce it to
7^402 mod 1000
What should I do now?
Thanks
a^(phi(m)) is congruent to 1 (mod m)
The question is calculate
7^40002 mod 1000
I could only reduce it to
7^402 mod 1000
What should I do now?
Thanks