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

Explanation

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.

Study Elementary number theory in ZWMath →

Review the concept: Euler's theorem

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.

\[a^{\varphi(n)} \equiv 1 \pmod{n}, \quad \gcd(a,n)=1\]

More practice problems: euler's theorem

← ZW-EULER-S-THEOREM-002 ZW-EULER-S-THEOREM-004 →