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 |
|---|---|
| 114 and 85 | 9690 |
| 47 and 133 | 6251 |
| 35 and 54 | 1890 |
| 109 and 120 | 13080 |
| 130 and 21 | 2730 |