Exercise · ZW-EUCLIDEAN-ALGORITHM-003 · ★☆☆ Basic
Applying the first Euclidean step to the pair \((84,30)\), which pair results?
Choose one option.
Show answer
- B. (30, 24)
Exercise · ZW-EUCLIDEAN-ALGORITHM-003 · ★☆☆ Basic
Choose one option.
The pair \((a,b)\) is replaced by \((b,\,a\bmod b)\). Since \(84=2\cdot30+24\), the new pair is \((30,24)\).
The Euclidean algorithm computes the greatest common divisor of two integers \(a\) and \(b\) by dividing repeatedly, replacing each pair by the divisor and the remainder, until the remainder is 0.