Exercise · ZW-EULER-S-THEOREM-009 · ★★☆ Intermediate
Compute \(5^{2025}\bmod 16\).
Choose one option.
Show answer
- B. 5
Exercise · ZW-EULER-S-THEOREM-009 · ★★☆ Intermediate
Choose one option.
Since \(\varphi(16)=8\) and \(2025\equiv 1\pmod 8\), we get \(5^{2025}\equiv 5\pmod{16}\). The option 9 comes from squaring 5 without correctly reducing the exponent.
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.