Modular inverse algorithm

Home > Mathematics > Number theory > Euclidean algorithm > Modular inverse algorithm

The algorithm finds the multiplicative inverse of an integer modulo m using the extended Euclidean algorithm.