The GCD of given numbers is 1.
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 still positive (), so we will continue with division.
Step 6 :
Divide by and get the remainder
The remainder is still positive (), so we will continue with division.
Step 7 :
Divide by and get the remainder
The remainder is still positive (), so we will continue with division.
Step 8 :
Divide by and get the remainder
The remainder is still positive (), so we will continue with division.
Step 9 :
Divide by and get the remainder
The remainder is still positive (), so we will continue with division.
Step 10 :
Divide by and get the remainder
The remainder is still positive (), so we will continue with division.
Step 11 :
Divide by and get the remainder
The remainder is still positive (), so we will continue with division.
Step 12 :
Divide by and get the remainder
The remainder is still positive (), so we will continue with division.
Step 13 :
Divide by and get the remainder
The remainder is still positive (), so we will continue with division.
Step 14 :
Divide by and get the remainder
The remainder is still positive (), so we will continue with division.
Step 15 :
Divide by and get the remainder
The remainder is still positive (), so we will continue with division.
Step 16 :
Divide by and get the remainder
The remainder is zero => GCD is the last divisor .
We can summarize an algorithm into a following table.
139024789 | : | 93278890 | = | 1 | remainder ( 45745899 ) | ||||||||||||||||||||||||||||||
93278890 | : | 45745899 | = | 2 | remainder ( 1787092 ) | ||||||||||||||||||||||||||||||
45745899 | : | 1787092 | = | 25 | remainder ( 1068599 ) | ||||||||||||||||||||||||||||||
1787092 | : | 1068599 | = | 1 | remainder ( 718493 ) | ||||||||||||||||||||||||||||||
1068599 | : | 718493 | = | 1 | remainder ( 350106 ) | ||||||||||||||||||||||||||||||
718493 | : | 350106 | = | 2 | remainder ( 18281 ) | ||||||||||||||||||||||||||||||
350106 | : | 18281 | = | 19 | remainder ( 2767 ) | ||||||||||||||||||||||||||||||
18281 | : | 2767 | = | 6 | remainder ( 1679 ) | ||||||||||||||||||||||||||||||
2767 | : | 1679 | = | 1 | remainder ( 1088 ) | ||||||||||||||||||||||||||||||
1679 | : | 1088 | = | 1 | remainder ( 591 ) | ||||||||||||||||||||||||||||||
1088 | : | 591 | = | 1 | remainder ( 497 ) | ||||||||||||||||||||||||||||||
591 | : | 497 | = | 1 | remainder ( 94 ) | ||||||||||||||||||||||||||||||
497 | : | 94 | = | 5 | remainder ( 27 ) | ||||||||||||||||||||||||||||||
94 | : | 27 | = | 3 | remainder ( 13 ) | ||||||||||||||||||||||||||||||
27 | : | 13 | = | 2 | remainder ( 1 ) | ||||||||||||||||||||||||||||||
13 | : | 1 | = | 13 | remainder ( 0 ) | ||||||||||||||||||||||||||||||
GCD = 1 |
This solution can be visualized using a Venn diagram.
The GCD equals the product of the numbers at the intersection.