Apply the Extended Euclidean Algorithm of back-substitution to find
the value of gcd(85,45) and to express gcd(85,45) in the form 85x+45y for a pair of integers x and y.
I have no idea what is the difference between the regular EEA and the back-substitution EEA. The only thing that I have been taught is constructing the EEA table, for some values a, b. Can anyone help me explain this? Thanks a ton!
Answer
You’re probably intended to do the substitutions explicitly. You have
85=1⋅45+4045=1⋅40+540=8⋅5.
Now work backwards:
5=1⋅45−1⋅40=1⋅45−1⋅(1⋅85−1⋅45)=(−1)⋅85+2⋅45.
The tabular method is just a shortcut for this explicit back-substitution.
No comments:
Post a Comment