A question from life
Aarav wants the greatest common divisor of 84 and 30 without listing every factor. How can repeated remainders help?
Chapter 11: The World of Algorithms
Images coming soon — الصور تُضاف قريبًا
Aarav wants the greatest common divisor of 84 and 30 without listing every factor. How can repeated remainders help?
A repeated-remainder method for finding the greatest common divisor of positive integers.
Review lesson not available yet.
Aarav wants the greatest common divisor of 84 and 30 without listing every factor. How can repeated remainders help?
For positive integers, divide the larger by the smaller and keep the remainder. Replace the pair by the smaller number and the remainder. Repeat until the remainder is zero; the last nonzero divisor is the greatest common divisor.
Find the greatest common divisor of 84 and 30.
The common divisors stay the same because a = q × b + r implies r = a − q × b. Positive remainders strictly decrease, so the process ends. If a zero remainder appears, stop before attempting division by zero.
Find the greatest common divisor of 48 and 18.
First remainder when dividing 35 by 12?
Explain why the algorithm terminates.
When the remainder becomes zero, return?
Trace exact remainder equations, preserve common divisors and justify termination.