Least Common Multiple (LCM) of 20 and 157
The least common multiple (LCM) of 20 and 157 is 3140.
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 20 and 157?
First, calculate the GCD of 20 and 157 using the Euclidean algorithm. Then use the formula above to find the LCM.
Step-by-Step GCD Calculation
| Step | Calculation |
|---|---|
| 1 | 20 ÷ 157 = 0 remainder 20 |
| 2 | 157 ÷ 20 = 7 remainder 17 |
| 3 | 20 ÷ 17 = 1 remainder 3 |
| 4 | 17 ÷ 3 = 5 remainder 2 |
| 5 | 3 ÷ 2 = 1 remainder 1 |
| 6 | 2 ÷ 1 = 2 remainder 0 |
Examples of LCM Calculations
| Numbers | LCM |
|---|---|
| 87 and 178 | 15486 |
| 71 and 29 | 2059 |
| 34 and 180 | 3060 |
| 23 and 103 | 2369 |
| 141 and 148 | 20868 |