
Greatest Common Divisor (GCD) of 120 and 187
The greatest common divisor (GCD) of 120 and 187 is 1.
What is the Greatest Common Divisor (GCD)?
The GCD of two integers is the largest positive integer that divides both numbers without leaving a remainder. It is useful in simplifying fractions, finding common factors, and in number theory.
How to Calculate the GCD of 120 and 187?
We use the Euclidean algorithm, which involves the following steps:
- Divide the larger number by the smaller number.
- Replace the larger number with the smaller number and the smaller number with the remainder from the division.
- Repeat this process until the remainder is zero.
- The non-zero remainder just before zero is the GCD.
Step-by-Step Euclidean Algorithm
Step | Calculation |
---|---|
1 | 120 ÷ 187 = 0 remainder 120 |
2 | 187 ÷ 120 = 1 remainder 67 |
3 | 120 ÷ 67 = 1 remainder 53 |
4 | 67 ÷ 53 = 1 remainder 14 |
5 | 53 ÷ 14 = 3 remainder 11 |
6 | 14 ÷ 11 = 1 remainder 3 |
7 | 11 ÷ 3 = 3 remainder 2 |
8 | 3 ÷ 2 = 1 remainder 1 |
9 | 2 ÷ 1 = 2 remainder 0 |
Examples of GCD Calculations
Numbers | GCD |
---|---|
128 and 117 | 1 |
35 and 110 | 5 |
65 and 160 | 5 |
199 and 74 | 1 |
154 and 160 | 2 |