The GCD of given numbers is 691.
Step 1 :
Divide by and get the remainder
The remainder is positive (), so we will continue with division.
Step 2 :
Divide by and get the remainder
The remainder is still positive (), so we will continue with division.
Step 3 :
Divide by and get the remainder
The remainder is still positive (), so we will continue with division.
Step 4 :
Divide by and get the remainder
The remainder is still positive (), so we will continue with division.
Step 5 :
Divide by and get the remainder
The remainder is zero => GCD is the last divisor .
We can summarize an algorithm into a following table.
507885 | : | 60808 | = | 8 | remainder ( 21421 ) | ||||||||
60808 | : | 21421 | = | 2 | remainder ( 17966 ) | ||||||||
21421 | : | 17966 | = | 1 | remainder ( 3455 ) | ||||||||
17966 | : | 3455 | = | 5 | remainder ( 691 ) | ||||||||
3455 | : | 691 | = | 5 | remainder ( 0 ) | ||||||||
GCD = 691 |
This solution can be visualized using a Venn diagram.
The GCD equals the product of the numbers at the intersection.