Exercise · ZW-MODULAR-INVERSE-002 · ★☆☆ Basic

Does \(2\) have an inverse modulo \(4\)?

Choose one option.

Show answer
  • C. No, because \(\gcd(2,4)=2\)

Explanation

Since \(\gcd(2,4)=2\neq 1\), there is no inverse. The option citing primality confuses the hypothesis with the conclusion.

Study Elementary number theory in ZWMath →

Review the concept: Modular inverse

The modular inverse of an integer \(a\) modulo \(m\) is an integer \(b\) whose product with \(a\) is congruent to 1 modulo \(m\).

\[ab \equiv 1 \pmod{m}\]

More practice problems: modular inverse

← ZW-MODULAR-INVERSE-001 ZW-MODULAR-INVERSE-003 →