One can use the extended Euclidean algorithm to calculate the modular multiplicative inverse of a number, as it will be in the form ax+by=1, and if you take mod b of both sides you get the inverse of a in mod b. However, why does the Euclidean algorithm work? Specifically, why is the last non-zero remainder gcd(a,b)? And how come you can just substitute everything back and it magically give you gcd(a,b) in terms of integers? Thanks so much.
Subscribe to:
Post Comments (Atom)
analysis - Injection, making bijection
I have injection f:A→B and I want to get bijection. Can I just resting codomain to f(A)? I know that every function i...
-
Recently I took a test where I was given these two limits to evaluate: lim and $\lim_\limi...
-
I need to give an explicit bijection between (0, 1] and [0,1] and I'm wondering if my bijection/proof is correct. Using the hint tha...
-
So if I have a matrix and I put it into RREF and keep track of the row operations, I can then write it as a product of elementary matrices. ...
No comments:
Post a Comment