Content deleted Content added
Tag: Reverted |
m Reverted 1 edit by 38.64.20.179 (talk) to last revision by D.Lazard |
||
Line 74:
The multiplicative inverse {{math|''x'' ≡ ''a''<sup>−1</sup> (mod ''m'')}} may be efficiently computed by solving [[Bézout's identity|Bézout's equation]] {{math|1=''a x'' + ''m y'' = 1}} for {{math|''x''}}, {{math|''y''}}, by using the [[Extended Euclidean algorithm]].
In particular, if {{math|''p''}} is a prime number, then {{math|''a''}} is coprime with {{math|''p''}} for every {{math|''a''}} such that {{math|0 < ''a'' < ''p''}}; thus a multiplicative inverse exists for all {{math|''a''}} that is not congruent to zero modulo {{math|''p''}}.
== Advanced properties ==
|