Least Common Multiple (LCM) of 31 and 189
The least common multiple (LCM) of 31 and 189 is 5859.
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 189?
First, calculate the GCD of 31 and 189 using the Euclidean algorithm. Then use the formula above to find the LCM.
Step-by-Step GCD Calculation
| Step | Calculation |
|---|---|
| 1 | 31 ÷ 189 = 0 remainder 31 |
| 2 | 189 ÷ 31 = 6 remainder 3 |
| 3 | 31 ÷ 3 = 10 remainder 1 |
| 4 | 3 ÷ 1 = 3 remainder 0 |
Examples of LCM Calculations
| Numbers | LCM |
|---|---|
| 168 and 69 | 3864 |
| 42 and 160 | 3360 |
| 64 and 21 | 1344 |
| 104 and 130 | 520 |
| 184 and 179 | 32936 |