Greatest Common Divisor (GCD) of 118 and 151
The greatest common divisor (GCD) of 118 and 151 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 118 and 151?
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 | 118 ÷ 151 = 0 remainder 118 |
| 2 | 151 ÷ 118 = 1 remainder 33 |
| 3 | 118 ÷ 33 = 3 remainder 19 |
| 4 | 33 ÷ 19 = 1 remainder 14 |
| 5 | 19 ÷ 14 = 1 remainder 5 |
| 6 | 14 ÷ 5 = 2 remainder 4 |
| 7 | 5 ÷ 4 = 1 remainder 1 |
| 8 | 4 ÷ 1 = 4 remainder 0 |
Examples of GCD Calculations
| Numbers | GCD |
|---|---|
| 47 and 102 | 1 |
| 200 and 163 | 1 |
| 109 and 32 | 1 |
| 173 and 98 | 1 |
| 106 and 11 | 1 |