Fallsem2023-24 Cse4003 Eth2
Fallsem2023-24 Cse4003 Eth2
gcd(161,28) = 7 NOTE:
X = -1 ax+by = gcd(a,b)
Y=6 161*(-1)+28*6 = gcd(161,28)
7 = 7 Hence Verified
Extended Euclidean Algorithm –
Multiplicative Inverse (M.I)
• Example
Modular M.I
(M.I under modular arithmetic)
• M.I of 2 (mod 7) is 4.
• Find M.I using Extended Euclidean algorithm.
Example - 1
• What is the multiplicative inverse of 3 mod 5?
Example - 2
• What is the multiplicative inverse of 11 mod
13?
Example - 3
• What is the multiplicative inverse of 11 mod
26?
Exercise
• What is the multiplicative inverse of 10 mod
11?