Example: 30 and 42
Factor them.
2 x 3 x 5 = 30
2 x 3 x 7 = 42
Combine the factors, eliminating duplicates.
2 x 3 x 5 x 7 = 210, the LCM
Chat with our AI personalities
To answer GCF and LCM questions.
You can use the numbers in common in the prime factorization to find the LCM (least common multiple of two numbers). Multiply all the prime factors together, but if the two numbers have a prime factor in common, only use that number once. Here are a few examples: Find the LCM of 40 and 35: The prime factorization of 40 is 2*2*2*5. The prime factorization of 35 is 5*7. The prime factorization both have a 5 in common, so you only need one five. The LCM then is 2*2*2*7*5 = 280. Find the LCM of 24 and 20: 24 = 2*2*2*3. 20 = 2*2*5. The prime factorization have two twos in common, so you only need one two from each pair. You will still need another 2 since the third 2 in the prime factorization of 24 does not have a pair in the factorization of 20. The LCM then is 2*2*2*3*5 = 120. Find the LCM of 15 and 4: 15 = 3*5 4 = 2*2 There are no matching pairs between the prime factorization, so find the LCM by multiplying all the numbers together: 2*2*3*5=60 Find the LCM of 60 and 100: 140 = 2*2*3*5 100 = 2*2*5*5 There are two pairs of 2s and a pair of 5. You can think of it like this: 140 = (2*2*5)*3 100 = (2*2*5)*5 The numbers in parentheses are pairs so you only need one of them. In this case, the LCM is (2*2*5)*3*5 = 300.
In finding the LCM or HCF of two or more numbers
The prime factorization of 560 is: 2, 5, and 7
Prime numbers help you to find the LCM and the GCF.