What
A modular multiplicative inverse of an integer is an integer such that the product is congruent to 1 with respect to the modulus :
Computation
Using Euler’s theorem
If is prime and is coprime to , then:
Dec 08, 2024
Dec 08, 2024
Dec 08, 2024
Dec 08, 2024
A modular multiplicative inverse of an integer a is an integer x such that the product ax is congruent to 1 with respect to the modulus m:
ax≡1modmIf m is prime and a is coprime to m, then:
a−1≡am−2modm