Exercise · ZW-EULER-S-THEOREM-002 · ★☆☆ Basic

Compute \(\varphi(12)\).

Choose one option.

Show answer
  • A. 4

Explanation

The integers from 1 to 12 coprime to 12 are 1, 5, 7 and 11, so \(\varphi(12)=4\). The option giving 6 counts some multiples of 2 or 3 as coprime.

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-001 ZW-EULER-S-THEOREM-003 →