Least Common Multiple (LCM) of 31 and 138
The least common multiple (LCM) of 31 and 138 is 4278.
What is the Least Common Multiple (LCM)?
The LCM of two integers is the smallest positive integer that is divisible by both numbers. It is often used to find common denominators and solve problems involving periodic events.
Formula for LCM
The LCM of two numbers can be calculated using their GCD:
LCM(a, b) = |a × b| ÷ GCD(a, b)
How to Calculate the LCM of 31 and 138?
First, calculate the GCD of 31 and 138 using the Euclidean algorithm. Then use the formula above to find the LCM.
Step-by-Step GCD Calculation
| Step | Calculation |
|---|---|
| 1 | 31 ÷ 138 = 0 remainder 31 |
| 2 | 138 ÷ 31 = 4 remainder 14 |
| 3 | 31 ÷ 14 = 2 remainder 3 |
| 4 | 14 ÷ 3 = 4 remainder 2 |
| 5 | 3 ÷ 2 = 1 remainder 1 |
| 6 | 2 ÷ 1 = 2 remainder 0 |
Examples of LCM Calculations
| Numbers | LCM |
|---|---|
| 183 and 180 | 10980 |
| 134 and 158 | 10586 |
| 58 and 103 | 5974 |
| 185 and 30 | 1110 |
| 15 and 127 | 1905 |