Exercise · ZW-EULER-S-THEOREM-007 · ★★☆ Intermediate
Use Euler's theorem to find \(2^{1000} \bmod 9\).
Choose one option.
Show answer
- D. 7
Exercise · ZW-EULER-S-THEOREM-007 · ★★☆ Intermediate
Choose one option.
Since \(\varphi(9)=6\) and \(1000=6\cdot 166+4\), we get \(2^4=16\equiv 7\pmod 9\). The option giving 2 arises from wrongly using \(\varphi(9)=3\).
Euler's theorem states that if \(a\) and \(n\) are coprime, then \(a^{\varphi(n)} \equiv 1 \pmod{n}\), generalizing Fermat's little theorem to composite moduli.