Exercise · ZW-MODULAR-INVERSE-001 · ★☆☆ Basic
What is the necessary and sufficient condition for \(a\) to have an inverse modulo \(m\)?
Choose one option.
Show answer
- D. \(\gcd(a,m)=1\)
Exercise · ZW-MODULAR-INVERSE-001 · ★☆☆ Basic
Choose one option.
A modular inverse exists exactly when \(a\) and \(m\) are coprime. The other options are neither necessary nor sufficient for existence.
The modular inverse of an integer \(a\) modulo \(m\) is an integer \(b\) whose product with \(a\) is congruent to 1 modulo \(m\).