3 votes 3 votes The Euclidean algorithm is used to find the greatest common divisor $(\mathrm{gcd})$ of two positive integers $\mathrm{a}$ and $\mathrm{b}$. input(a) input(b) while b>0 begin r:= a mod b a:= b b:= r end gcd:= a output(gcd) When the algorithm is used to find the greatest common divisor of $a=273$ and $b=110$, which of the following is the sequence of computed values for $r?$ $2,53,1,0$ $53,2,1,0$ $53,4,1,0$ $53,5,1,0$ DS goclasses2024-mockgate-12 goclasses data-structures linked-list 1-mark + – GO Classes asked Jan 21 • retagged Jan 25 by Lakshman Bhaiya GO Classes 446 views answer comment Share Follow See all 0 reply Please log in or register to add a comment.
3 votes 3 votes The first value for $r$ is $273 \mod 110,$ which is $53.$ The second value for $r$ is $110 \mod 53,$ which is $4.$ This gives us a solution uniquely. GO Classes answered Jan 21 GO Classes comment Share Follow See all 0 reply Please log in or register to add a comment.