Kindayr
- 159
- 0
Homework Statement
Let a,b\in\mathbb{Z}. Suppose r_{0}=a and r_{1}=b. By the algorithm, r_{i}=0 for some i\geq 2 is the first remainder that terminates. Show that r_{i-1}=\gcd(a,b).
Homework Equations
The Attempt at a Solution
I've shown that c|r_{i-1}, and I know that I should show that r_{i-1}|a and r_{i-1}|b. I just don't know how to show both the latter. I don't know where to continue.
I don't want full solutions just given to me (obviously), just some insight :)
Thanks!