Exercise · ZW-EULER-S-THEOREM-003 · ★★☆ Intermediate
Find the remainder of \(3^{100}\) modulo \(7\) using Euler's theorem.
Choose one option.
Show answer
- D. 4
Exercise · ZW-EULER-S-THEOREM-003 · ★★☆ Intermediate
Choose one option.
Since \(\varphi(7)=6\) and \(100=6\cdot 16+4\), the remainder is \(3^4=81\equiv 4\). The option giving 1 assumes the exponent reduces to zero modulo 6.
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.