Find the Least Common Multiple of Two Numbers

A multiple is the result of multiplying a number by an integer. The least common multiple (LCM) of a group of numbers is the smallest number that is a multiple of all the numbers. To find the least common multiple you need to be able to identify the factors of the numbers you are working with. You can use a few different methods to find the least common multiple. These methods also work when finding the LCM of more than two numbers.

Steps

Listing all Multiples

  1. Assess your numbers. This method works best when you are working with two numbers that are less than 10. If you are working with larger numbers, it’s best to use a different method.
    • For example, you might need to find the least common multiple of 5 and 8. Since these are small numbers, it is appropriate to use this method.
  2. Write out the first several multiples of the first number. A multiple is a product of any number and an integer.[1] In other words, they are the numbers you would see in a multiplication table.
    • For example, the first several multiples of 5 are 5, 10, 15, 20, 25, 30, 35, and 40.
  3. Write out the first several multiples of the second number. Do this near the first set of multiples, so that they are easy to compare.
    • For example, the first several multiples of 8 are 8, 16, 24, 32, 40, 48, 56, and 64.
  4. Find the smallest multiple the numbers have in common. You might need to extend your list of multiples until you find one both numbers share. This number will be your least common multiple.[2]
    • For example, the lowest multiple 5 and 8 share is 40, so the least common multiple of 5 and 8 is 40.
Image: ca.wikipedia.org

Using Prime Factorization

  1. Assess your numbers. This method works best when both of the numbers you are working with are greater than 10. If you have smaller numbers, you can use a different method to find the least common multiple more quickly.
    • For example, if you need to find the least common multiple of 20 and 84, you should use this method.
  2. Factor the first number. You want to factor the number into its prime factors; that is, find the prime factors you can multiply together to get this number. One way to do this is by creating a Do a Factor Tree. Once you are done factoring, rewrite the prime factors as an equation.
    • For example, <math>\mathbf{2} \times 10 = 20</math> and <math>\mathbf{2} \times \mathbf{5} = 10</math>, so the prime factors of 20 are 2, 2, and 5. Rewriting as an equation, you get <math>20 = 2 \times 2 \times 5</math>.
  3. Factor the second number. Do this in the same way you factored the first number, finding the prime factors you can multiply together to get the number.
    • For example, <math>\mathbf{2} \times 42 = 84</math>, <math>\mathbf{7} \times 6 = 42</math>, and <math>\mathbf{3} \times \mathbf{2} = 6</math>, so the prime factors of 84 are 2, 7, 3, and 2. Rewriting as an equation, you get <math>84 = 2 \times 7 \times 3 \times 2</math>.
  4. Write down the factors each number shares. Write the factors as a multiplication sentence. As you write each factor, cross it off in each numbers factorization equation.
    • For example, both numbers share a factor of 2, so write <math>2 \times</math> and cross out a 2 in each number’s factorization equation.
    • Each number also shares a second 2, so change the multiplication sentence to <math>2 \times 2</math> and cross out a second 2 in each factorization equation.
  5. Add any leftover factors to the multiplication sentence. These are the factors you did not cross out when comparing the two groups of factors. Thus, these are factors that the two numbers do not share.[3]
    • For example, in the equation <math>20 = 2 \times 2 \times 5</math>, you crossed out both 2s, since these factors were shared with the other number. You have a factor of 5 left over, so add this to your multiplication sentence: <math>2 \times 2 \times 5</math>.
    • In the equation <math>84 = 2 \times 7 \times 3 \times 2</math>, you also crossed out both 2s. You have the factors 7 and 3 left over, so add these to your multiplication sentence: <math>2 \times 2 \times 5 \times 7 \times 3</math>.
  6. Calculate the least common multiple. To do this, multiply together all of the factors in your multiplication sentence.
    • For example, <math>2 \times 2 \times 5 \times 7 \times 3 = 420</math>. So, the least common multiple of 20 and 84 is 420.

Using the Grid or Ladder Method

  1. Draw a tic-tac-toe grid. A tic-tac-toe grid is two sets of parallel lines that intersect each other perpendicularly. The lines form three rows and three columns and looks like the pound key (#) on a phone or keyboard. Write your first number in the top-center square of the grid. Write your second number in the top-right square of the grid.[4]
    • For example, if you are trying to find the least common multiple of 18 and 30, write 18 in the top center of your grid, and 30 in the top right of your grid.
  2. Look for a factor that is common to both numbers. Write this number in the top-left square of your grid. It is helpful to use prime factors, but you don’t necessarily have to.
    • For example, since 18 and 30 are both even numbers, you know that that they both have a factor of 2. So write 2 in the top-left of the grid.
  3. Divide the factor into each number. Write the quotient in the square below either number. A quotient is the answer to a division problem.
    • For example, <math>18 \div 2 = 9</math>, so write 9 under 18 in the grid.
    • <math>30 \div 2 = 15</math>, so write 15 under 30 in the grid.
  4. Find a factor that is common to the two quotients. If there is no factor common to both quotients, you can skip this and the next step. If there is a common factor, write it in the middle-left square of the grid.
    • For example, 9 and 15 both have a factor of 3, so you would write 3 in the middle-left of the grid.
  5. Divide this new factor into each quotient. Write this new quotient below the first ones.
    • For example, <math>9 \div 3 = 3</math>, so write 3 under 9 in the grid.
    • <math>15 \div 3 = 5</math>, so write 5 under 15 in the grid.
  6. Extend your grid if necessary. Follow this same process until you reach a point where the last set of quotients have no common factor.
  7. Draw a circle around the numbers in the first column and last row of your grid. You can think of it as drawing an “L” for “least common multiple.” Write a multiplication sentence using all of these factors.[5]
    • For example, since 2 and 3 are in the first column of the grid, and 3 and 5 are in the last row of the grid, you would write the sentence <math>2 \times 3 \times 3 \times 5</math>.
  8. Complete the multiplication. When you multiply all of these factors together, the result is the least common multiple of your two original numbers.[4]
    • For example, <math>2 \times 3 \times 3 \times 5 = 90</math>. So, the least common multiple of 18 and 30 is 90.

Using Euclid’s Algorithm

  1. Understand the vocabulary of division. The dividend is the number being divided. The divisor is the number the dividend is being divided by. The quotient is the answer to the division problem. The remainder is the amount left over after a number is divided by another.[6]
    • For example, in the equation <math>15 \div 6 = 2 \; \text{remainder} \; 3</math>:
      15 is the dividend
      6 is the divisor
      2 is the quotient
      3 is the remainder.
  2. Set up the formula for the quotient-remainder form. The formula is <math>\text{dividend} = \text{divisor} \times \text{quotient} + \text{remainder}</math>.[7] You will use this form to set up Euclid’s algorithm to find the greatest common divisor of two numbers.
    • For example, <math>15 = 6 \times 2 + 3</math>.
    • The greatest common divisor is the largest divisor, or factor, that two numbers share.[8]
    • In this method, you first find the greatest common divisor, and then use it to find the least common multiple.
  3. Use the larger of the two numbers as the dividend. Use the smaller of the two numbers as the divisor. Set up an equation in quotient-remainder form for these two numbers.
    • For example, if you are trying to find the least common multiple of 210 and 45, you would calculate <math>210 = 45 \times 4 + 30</math>.
  4. Use the original divisor as the new dividend. Use the remainder as the new divisor. Set up an equation in quotient-remainder form for these two numbers.
    • For example, <math>45 = 30 \times 2 + 15</math>.
  5. Repeat this process until you have a remainder of 0. For each new equation, use the previous equation’s divisor as the new dividend, and the previous remainder as the new divisor.[9]
    • For example, <math>30 = 15 \times 2 + 0</math>. Since the remainder is 0, you need not divide any further.
  6. Look at the last divisor you used. This is the greatest common divisor for the two numbers.[9]
    • For example, since the last equation was <math>30 = 15 \times 2 + 0</math>, the last divisor was 15, and so 15 is the greatest common divisor of 210 and 45.
  7. Multiply the two numbers. Divide the product by the greatest common divisor. This will give you the least common multiple of the two numbers.[10]
    • For example, <math>210 \times 45 = 9450</math>. Dividing by the greatest common divisor, you get <math>\frac{9450}{15} = 630</math>. So, 630 is the least common multiple of 210 and 45.

Tips

  • If you need to find the LCM of more than two numbers, the above methods can be tweaked. For instance, to find the LCM of 16, 20, and 32, you could start by finding the LCM of 16 and 20 (which is 80), and then find the LCM of 80 and 32, which turns out to be 160.
  • The LCM has many uses. The most common is that, whenever you add or subtract fractions, they must have the same denominator; if they do not, you need to convert each fraction to some equivalent fraction so they will share the same denominator. The best way to do that is to find the lowest common denominator (LCD) -- which is just the LCM of the denominators.

Related Articles

Sources and Citations