- Given
n
andm
are coprime, show that there exist integern'
such thatnn' mod m=1
. - The extended Euclid’s algorithm is given below without proof, which may be useful in your proof.
(I’m too lazy to type out the algorithm again, so look at the image yourself)
You must log in or # to comment.
Hint
spoiler
If you are studying the algorithm, you are doing it wrong