Talk:Modular multiplicative inverse
From Wikipedia, the free encyclopedia
Modified the New examples to show why the repeating numbers terminated the computation
the old explanation is here, which doesn't explain why we terminate
the old examples also use inconsistent notation for the repeating case
assume we want to get x-1 we can do this as following.
x-1 = x * x-2
and
x-2 = x2 * x-4
we continue this expansion until it terminates with either a repeated number, or a one.
NeilUK 20:30, 20 June 2007 (UTC)
[edit] New Modular Multiplicative Inverse Algorithm
I'm going to remove this algorithm, because it is badly described and significantly slower than the extended Euclidean algorithm and the modular exponentiation method (even if we have to factor the modulus first). Furthermore it appears to be original research. 85.2.78.131 08:21, 17 July 2007 (UTC)