Exercise 1
Compute the following using the improved version of Euclid's algorithm.
(i)
(ii)
(iii)
(iv)
Not cross-checked
This solution has not been cross-checked against the answer printed in NCERT.
Reverse the pair if \(\displaystyle m<n \); then replace \(\displaystyle (m,n) \) by \(\displaystyle (n,\, m \bmod n) \) until \(\displaystyle n=0 \); the answer is \(\displaystyle m \).(i)\[\gcd(375,825)=\gcd(825,375)=\gcd(375,75)=\gcd(75,0)=75 \](ii)\[\gcd(51000,81000)=\gcd(81000,51000)=\gcd(51000,30000)=\gcd(30000,21000) \]\[=\gcd(21000,9000)=\gcd(9000,3000)=\gcd(3000,0)=3000 \](iii) Successive pairs:\[\begin{array}{r|r|r} m & n & m \bmod n \\ \hline 1789287 & 237656 & 125695 \\ 237656 & 125695 & 111961 \\ 125695 & 111961 & 13734 \\ 111961 & 13734 & 2089 \\ 13734 & 2089 & 1200 \\ 2089 & 1200 & 889 \\ 1200 & 889 & 311 \\ 889 & 311 & 267 \\ 311 & 267 & 44 \\ 267 & 44 & 3 \\ 44 & 3 & 2 \\ 3 & 2 & 1 \\ 2 & 1 & 0 \\ 1 & 0 & - \end{array} \]\[\gcd(1789287,237656)=1 \](iv) Successive pairs:\[\begin{array}{r|r|r} m & n & m \bmod n \\ \hline 2587392 & 157656 & 64896 \\ 157656 & 64896 & 27864 \\ 64896 & 27864 & 9168 \\ 27864 & 9168 & 360 \\ 9168 & 360 & 168 \\ 360 & 168 & 24 \\ 168 & 24 & 0 \\ 24 & 0 & - \end{array} \]\[\gcd(2587392,157656)=24 \]Answer: (i) \(\displaystyle 75 \); (ii) \(\displaystyle 3000 \); (iii) \(\displaystyle 1 \); (iv) \(\displaystyle 24 \)