Least Common Multiple Calculator
Easily find the least common multiple (LCM) of two or more numbers using our efficient calculator. Get instant and accurate results for any set of integers. Whether you're working on math problems, fraction simplification, or real-life scenarios like scheduling or calculations involving multiples, our LCM calculator simplifies the process. Find the LCM of numbers quickly and enhance your mathematical abilities. Start calculating with our Least Common Multiple Calculator now!
What is the Least Common Multiple (LCM)?
In mathematics, the least common multiple, also known as the lowest common multiple of two (or more) integers a and b, is the smallest positive integer that is divisible by both. It is commonly denoted as LCM(a, b).
Brute Force Method
There are multiple ways to find a least common multiple. The most basic is simply using a "brute force" method that lists out each integer's multiples.
Find LCM(18, 26)
18: 18, 36, 54, 72, 90, 108, 126, 144, 162, 180, 198, 216, 234
26: 52, 78, 104, 130, 156, 182, 208, 234
As can be seen, this method can be fairly tedious, and is far from ideal.
Prime Factorization Method
A more systematic way to find the LCM of some given integers is to use prime factorization. Prime factorization involves breaking down each of the numbers being compared into its product of prime numbers. The LCM is then determined by multiplying the highest power of each prime number together. Note that computing the LCM this way, while more efficient than using the "brute force" method, is still limited to smaller numbers. Refer to the example below for clarification on how to use prime factorization to determine the LCM:
Find LCM(21, 14, 38)
21 = 3 × 7
14 = 2 × 7
38 = 2 × 19
The LCM is therefore:
3 × 7 × 2 × 19 = 798
Greatest Common Divisor Method
A third viable method for finding the LCM of some given integers is using the greatest common divisor. This is also frequently referred to as the greatest common factor (GCF), among other names. Refer to the link for details on how to determine the greatest common divisor. Given LCM(a, b), the procedure for finding the LCM using GCF is to divide the product of the numbers a and b by their GCF, i.e. (a × b)/GCF(a,b). When trying to determine the LCM of more than two numbers, for example LCM(a, b, c) find the LCM of a and b where the result will be q. Then find the LCM of c and q. The result will be the LCM of all three numbers. Using the previous example:
Find LCM(21, 14, 38)
GCF(14, 38) = 2
GCF(266, 21) = 7
LCM(21, 14, 38) = 798
Note that it is not important which LCM is calculated first as long as all the numbers are used, and the method is followed accurately. Depending on the particular situation, each method has its own merits, and the user can decide which method to pursue at their own discretion.
Least Common Multiple Calculator Example
Sure! Let's calculate the least common multiple (LCM) of two numbers using a table. For example, let's find the LCM of 12 and 18.
To calculate the LCM, we can list the multiples of both numbers and find the smallest number that appears in both lists.
Multiples of 12: 12, 24, 36, 48, 60, ...
Multiples of 18: 18, 36, 54, 72, 90, ...
From the above lists, we can see that the smallest number that appears in both lists is 36. Therefore, the LCM of 12 and 18 is 36.
Here is the table representation for better understanding:
|Multiples of 12||Multiples of 18|
Therefore, based on the table, we can conclude that the LCM of 12 and 18 is 36.