
Greatest Common Divisor (GCD) of 111 and 172
The greatest common divisor (GCD) of 111 and 172 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 111 and 172?
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 | 111 ÷ 172 = 0 remainder 111 |
2 | 172 ÷ 111 = 1 remainder 61 |
3 | 111 ÷ 61 = 1 remainder 50 |
4 | 61 ÷ 50 = 1 remainder 11 |
5 | 50 ÷ 11 = 4 remainder 6 |
6 | 11 ÷ 6 = 1 remainder 5 |
7 | 6 ÷ 5 = 1 remainder 1 |
8 | 5 ÷ 1 = 5 remainder 0 |
Examples of GCD Calculations
Numbers | GCD |
---|---|
57 and 152 | 19 |
117 and 155 | 1 |
82 and 30 | 2 |
150 and 11 | 1 |
65 and 134 | 1 |