3 questions to test your understanding
You want the multiplicative inverse of 3 modulo 7 — a number x such that 3x ≡ 1 (mod 7). What is x?
Since 4 ≡ 10 (mod 6) is true, dividing both sides by 2 gives the valid congruence 2 ≡ 5 (mod 6).
Why does a multiplicative inverse of a modulo n exist if and only if gcd(a, n) = 1?