What is the modular inverse of 239, modulo 96,137? Thanks for help.
Here is a simple computer code written in Python 3 to find ANY modular inverse of any number!
# Python 3 program to find modular
# inverse of "a" under modulo "m"
def modInverse(a, m) :
a = a % m;
for x in range(1, m) :
if ((a * x) % m == 1) :
# Driver Program
a = 239
m = 96137
Answer ="Modular Multiplicative Inverse" = 32,582