(i) Use the Euclidean Algorithm to find gcd(1253, 7930).
(ii) Using the workings in (i), find m, n ∈ Z such that gcd(1253, 7930) = 1253m + 7930n.
i) 7930 = 1253*6 + 412
1253 = 412*3 + 17
412 = 17*24 + 4
17 = 4*4 + 1
4 = 1*4 + 0
So gcd = 1.
ii)1 = 1*17 + -4(4)
4 = 1*(412) + -24*(17)
17 = 1*(1253) + -3*(412)
412 = 1*(7930) + -6*(1253)
So 1 = 1*(17) + -4*(4)
= 1*(17) + -4((1*(412) + -24*(17))) enter image description here
I'm up to ii) but I got confused. I tried following an example online but I got lost and idk if I'm on the right track or where to go from here? where I have the 412 in the last line I wrote, would I substitute in the 1 * 7930 + -6*1253 thing? and in the 17 part in the last line I'd substitute in 11253 + - 3412? what would I do from there to find m and n?