Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
模乘逆是一个整数“x”,这样。
ax ≡ 1 (mod m)。
那么,有没有办法在 pari\gp 计算器中计算模乘逆?
如果这个问题是微不足道的或重复的,我真的很抱歉。
只是Mod(1/a, m),在哪里a,m是你的相对质数。请参阅下面a = 3的示例m = 1133。
Mod(1/a, m)
a
m
a = 3
m = 1133
lift(Mod(1/3, 1133)) > 378