GCF of 7 and 18
The greatest common factor of 7 and 18 is 1 — they are relatively prime.
GCF is 1.
GCF of 7, 181
LCM126
Relatively prime?Yes
Step by step
- Prime factorize each number (table). The GCF uses each prime that appears in all of them, with its smallest power: no common prime, so the GCF is 1
- Check with the Euclidean algorithm on 7 and 18:
18 = 2 × 7 + 4
7 = 1 × 4 + 3
4 = 1 × 3 + 1
3 = 3 × 1 + 0
The last non-zero remainder is 1. - Listing method: factors of 7: 1, 7; 18: 1, 2, 3, 6, 9, 18. The largest one they share is 1.
| Number | power of 2 | power of 3 | power of 7 | Prime factorization |
|---|---|---|---|---|
| 7 | 0 | 0 | 1 | 7 |
| 18 | 1 | 2 | 0 | 2 × 32 |
Quick answer
7 = 7, 18 = 2 × 32. The primes they share, at the lowest power, multiply to 1.
The LCM of 7 and 18 is 126. 7/18 is already in simplest form.
Related
factors of 7, factors of 18; GCF calculator for any numbers.
GCF of 7 and 18: questions
What is the GCF of 7 and 18?
1.
How do you find the GCF of 7 and 18?
Prime factorize: 7 and 2 × 3²; multiply the shared primes at their lowest power.