[2024/08/04] Extended Euclid's Algorithm

  • Given n and m are coprime, show that there exist integer n' such that nn' 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)

15 points · 1 comments · view on lemmy.world

1 Comments

siriusmart@lemmy.world · 2 pts · 2y

Hint ::: spoiler spoiler If you are studying the algorithm, you are doing it wrong :::


Solution: https://gmtex.siri.sh/fs/1/School/Extra/Maths/Qotd%20solutions/2024-08-04_extended-euclid.html ::: spoiler spoiler :::