Using prime factorization
12 = 2² × 3, 18 = 2 × 3², 30 = 2 × 3 × 5. The GCF takes the lowest power of primes that appear in every number: 2 × 3 = 6. The LCM takes the highest power of every prime: 2² × 3² × 5 = 180.
GCF(a, b) × LCM(a, b) = a × b
GCF and LCM of common pairs
| Numbers | GCF | LCM |
|---|---|---|
| 4, 6 | 2 | 12 |
| 6, 8 | 2 | 24 |
| 8, 12 | 4 | 24 |
| 9, 12 | 3 | 36 |
| 12, 15 | 3 | 60 |
| 12, 16 | 4 | 48 |
| 15, 20 | 5 | 60 |
| 16, 24 | 8 | 48 |
| 18, 24 | 6 | 72 |
| 24, 36 | 12 | 72 |
| 7, 9 | 1 | 63 |