Greatest Common Divisor (GCD) of 134 and 171
The greatest common divisor (GCD) of 134 and 171 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 134 and 171?
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 | 134 ÷ 171 = 0 remainder 134 |
| 2 | 171 ÷ 134 = 1 remainder 37 |
| 3 | 134 ÷ 37 = 3 remainder 23 |
| 4 | 37 ÷ 23 = 1 remainder 14 |
| 5 | 23 ÷ 14 = 1 remainder 9 |
| 6 | 14 ÷ 9 = 1 remainder 5 |
| 7 | 9 ÷ 5 = 1 remainder 4 |
| 8 | 5 ÷ 4 = 1 remainder 1 |
| 9 | 4 ÷ 1 = 4 remainder 0 |
Examples of GCD Calculations
| Numbers | GCD |
|---|---|
| 84 and 81 | 3 |
| 139 and 84 | 1 |
| 180 and 178 | 2 |
| 142 and 178 | 2 |
| 37 and 140 | 1 |