Least Common Multiple (LCM) of 104 and 158
The least common multiple (LCM) of 104 and 158 is 8216.
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 104 and 158?
First, calculate the GCD of 104 and 158 using the Euclidean algorithm. Then use the formula above to find the LCM.
Step-by-Step GCD Calculation
| Step | Calculation |
|---|---|
| 1 | 104 ÷ 158 = 0 remainder 104 |
| 2 | 158 ÷ 104 = 1 remainder 54 |
| 3 | 104 ÷ 54 = 1 remainder 50 |
| 4 | 54 ÷ 50 = 1 remainder 4 |
| 5 | 50 ÷ 4 = 12 remainder 2 |
| 6 | 4 ÷ 2 = 2 remainder 0 |
Examples of LCM Calculations
| Numbers | LCM |
|---|---|
| 15 and 40 | 120 |
| 162 and 108 | 324 |
| 66 and 193 | 12738 |
| 114 and 35 | 3990 |
| 189 and 164 | 30996 |