Greatest Common Divisor (GCD) of 106 and 172
The greatest common divisor (GCD) of 106 and 172 is 2.
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 106 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 | 106 ÷ 172 = 0 remainder 106 |
| 2 | 172 ÷ 106 = 1 remainder 66 |
| 3 | 106 ÷ 66 = 1 remainder 40 |
| 4 | 66 ÷ 40 = 1 remainder 26 |
| 5 | 40 ÷ 26 = 1 remainder 14 |
| 6 | 26 ÷ 14 = 1 remainder 12 |
| 7 | 14 ÷ 12 = 1 remainder 2 |
| 8 | 12 ÷ 2 = 6 remainder 0 |
Examples of GCD Calculations
| Numbers | GCD |
|---|---|
| 127 and 126 | 1 |
| 16 and 176 | 16 |
| 123 and 150 | 3 |
| 112 and 48 | 16 |
| 125 and 82 | 1 |