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 zero => GCD is the last divisor .
We can summarize an algorithm into a following table.
11857 | : | 6897 | = | 1 | remainder ( 4960 ) | ||||||||||||||||||||||||||||
6897 | : | 4960 | = | 1 | remainder ( 1937 ) | ||||||||||||||||||||||||||||
4960 | : | 1937 | = | 2 | remainder ( 1086 ) | ||||||||||||||||||||||||||||
1937 | : | 1086 | = | 1 | remainder ( 851 ) | ||||||||||||||||||||||||||||
1086 | : | 851 | = | 1 | remainder ( 235 ) | ||||||||||||||||||||||||||||
851 | : | 235 | = | 3 | remainder ( 146 ) | ||||||||||||||||||||||||||||
235 | : | 146 | = | 1 | remainder ( 89 ) | ||||||||||||||||||||||||||||
146 | : | 89 | = | 1 | remainder ( 57 ) | ||||||||||||||||||||||||||||
89 | : | 57 | = | 1 | remainder ( 32 ) | ||||||||||||||||||||||||||||
57 | : | 32 | = | 1 | remainder ( 25 ) | ||||||||||||||||||||||||||||
32 | : | 25 | = | 1 | remainder ( 7 ) | ||||||||||||||||||||||||||||
25 | : | 7 | = | 3 | remainder ( 4 ) | ||||||||||||||||||||||||||||
7 | : | 4 | = | 1 | remainder ( 3 ) | ||||||||||||||||||||||||||||
4 | : | 3 | = | 1 | remainder ( 1 ) | ||||||||||||||||||||||||||||
3 | : | 1 | = | 3 | remainder ( 0 ) | ||||||||||||||||||||||||||||
GCD = 1 |
This solution can be visualized using a Venn diagram.
The GCD equals the product of the numbers at the intersection.