Least Common Multiple (LCM) of 157 and 128
The least common multiple (LCM) of 157 and 128 is 20096.
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 157 and 128?
First, calculate the GCD of 157 and 128 using the Euclidean algorithm. Then use the formula above to find the LCM.
Step-by-Step GCD Calculation
| Step | Calculation |
|---|---|
| 1 | 157 ÷ 128 = 1 remainder 29 |
| 2 | 128 ÷ 29 = 4 remainder 12 |
| 3 | 29 ÷ 12 = 2 remainder 5 |
| 4 | 12 ÷ 5 = 2 remainder 2 |
| 5 | 5 ÷ 2 = 2 remainder 1 |
| 6 | 2 ÷ 1 = 2 remainder 0 |
Examples of LCM Calculations
| Numbers | LCM |
|---|---|
| 140 and 145 | 4060 |
| 80 and 24 | 240 |
| 158 and 160 | 12640 |
| 142 and 187 | 26554 |
| 171 and 117 | 2223 |