The modular multiplicative inverse is an integer ‘x’ such that.
a x ≡ 1 (mod m).
So, is there any way to calculate the Modular multiplicative inverse in pari\gp calculator ?
I am really sorry if this question is trivial or duplicated.
Just Mod(1/a, m), where a and m are your relatively prime numbers. See example for a = 3 and m = 1133 below.
Mod(1/a, m)
a
m
a = 3
m = 1133
lift(Mod(1/3, 1133)) > 378
Copyright © 2021 Jogjafile Inc.
Just
Mod(1/a, m)
, wherea
andm
are your relatively prime numbers. See example fora = 3
andm = 1133
below.