Skip to main content

Module multiplicative_inverse_modulo

Module multiplicative_inverse_modulo 

Source
Expand description

Modular multiplicative inverses.

See the book entry Divisibility and modular arithmetic.

Functionsยง

multiplicative_inverse_modulo
Computes the multiplicative inverse of a modulo m using the Extended Euclidean Algorithm.