GCF of 6 and 21
The greatest common factor of 6 and 21 is 3 — the largest number that divides both.
GCF is 3.
GCF of 6, 213
LCM42
Relatively prime?No
Step by step
- Prime factorize each number (table). The GCF uses each prime that appears in all of them, with its smallest power: 3 = 3
- Check with the Euclidean algorithm on 6 and 21:
21 = 3 × 6 + 3
6 = 2 × 3 + 0
The last non-zero remainder is 3. - Listing method: factors of 6: 1, 2, 3, 6; 21: 1, 3, 7, 21. The largest one they share is 3.
| Number | power of 2 | power of 3 | power of 7 | Prime factorization |
|---|---|---|---|---|
| 6 | 1 | 1 | 0 | 2 × 3 |
| 21 | 0 | 1 | 1 | 3 × 7 |
Quick answer
6 = 2 × 3, 21 = 3 × 7. The primes they share, at the lowest power, multiply to 3.
The LCM of 6 and 21 is 42. Simplify the fraction 6/21: divide by 3 → 2/7.
Related
factors of 6, factors of 21; GCF calculator for any numbers.
GCF of 6 and 21: questions
What is the GCF of 6 and 21?
3.
How do you find the GCF of 6 and 21?
Prime factorize: 2 × 3 and 3 × 7; multiply the shared primes at their lowest power.