How to use it
- Type the numbers separated by spaces or commas, for example 12 18 30.
- Read the LCM and the GCF at the top.
- Follow the prime factorization and the division table to see how each one is found.
Questions and answers
How do you find the LCM with prime factorization?
Factor each number into primes, take every prime that appears, each with its highest power, and multiply. 12 = 2² × 3 and 18 = 2 × 3², so LCM = 2² × 3² = 36.
How do you find the GCF?
Take only the primes that appear in every number, each with its lowest power. For 12 and 18 that is 2 × 3 = 6. Two numbers with GCF 1 are called relatively prime.
Is there a shortcut for two numbers?
Yes: LCM × GCF = the product of the two numbers. For 12 and 18, 36 × 6 = 216 = 12 × 18. This does not work for three or more numbers.