I'm having trouble determining u and v using gcd algorithm, stuck on combining reverse of 308 and 273. I'm lost on what to do after laying out d=rk=... Is there a fixed order to what lines to use?
Work:
273u+308v=GCD(308,273)
a=273
b=308
d=7
273=35x7+28
308=273x1+35
35=308+(-273)x1
28=273+(-35)x7
7=35+(-28)x1
7=28x1+7
=28x1+(35+(-28)x1)
=??