What are the LCM and the GCF?
The least common multiple is the smallest number that is a multiple of every number in the list. The greatest common factor (also called GCD or HCF) is the largest number that divides them all.
Finding them by prime factorization
Break each number into primes: 12 = 2² × 3 and 18 = 2 × 3². The GCF uses the shared primes with the lowest power: 2 × 3 = 6. The LCM uses every prime with the highest power: 2² × 3² = 36.
What they are used for
The LCM gives the common denominator when adding fractions and solves problems about repeating events. The GCF is used to simplify fractions and split things into equal groups. For two numbers, LCM × GCF equals their product.