The GCD of given numbers is 1597.
Step 1 :
Divide $ 5702887 $ by $ 1597 $ and get the remainder
The remainder is zero => GCD is the last divisor $ \color{blue}{ \boxed { 1597 }} $.
We can summarize an algorithm into a following table.
5702887 | : | 1597 | = | 3571 | remainder ( 0 ) |
GCD = 1597 |
This solution can be visualized using a Venn diagram.
The GCD equals the product of the numbers at the intersection.