logistic_guy
Full Member
- Joined
- Apr 17, 2024
- Messages
- 617
here is the question
How to find the common greatest divisor of two large numbers, the first consists of 17 digits and the second consists of 16 digits?
it's easy when the numbers small like 50 and 90
\(\displaystyle 50 = 2 \times 5 \times 5 = 2 \times 5^2\)
\(\displaystyle 90 = 2 \times 3 \times 3 \times 5 = 2 \times 3^2 \times 5 \)
\(\displaystyle \text{gcd}(50,90) = 2 \times 5 = 10\)
How to find the common greatest divisor of two large numbers, the first consists of 17 digits and the second consists of 16 digits?
it's easy when the numbers small like 50 and 90
\(\displaystyle 50 = 2 \times 5 \times 5 = 2 \times 5^2\)
\(\displaystyle 90 = 2 \times 3 \times 3 \times 5 = 2 \times 3^2 \times 5 \)
\(\displaystyle \text{gcd}(50,90) = 2 \times 5 = 10\)