LCM( 640, 240, 360, 580 ) = 167040
Step 1 : Write the given numbers in a horizontal line.
640 | 240 | 360 | 580 |
Step 2 : Divide the given numbers by smallest prime number. In this example we can divide by 2.
(if any number is not divisible by 2, write it down unchanged)
2 | 640 | 240 | 360 | 580 |
320 | 120 | 180 | 290 |
Step 3 : Continue dividing by prime numbers till we get 1 in all columns.
2 | 640 | 240 | 360 | 580 |
2 | 320 | 120 | 180 | 290 |
2 | 160 | 60 | 90 | 145 |
2 | 80 | 30 | 45 | 145 |
2 | 40 | 15 | 45 | 145 |
2 | 20 | 15 | 45 | 145 |
2 | 10 | 15 | 45 | 145 |
3 | 5 | 15 | 45 | 145 |
3 | 5 | 5 | 15 | 145 |
5 | 5 | 5 | 5 | 145 |
29 | 1 | 1 | 1 | 29 |
1 | 1 | 1 | 1 |
Step 4 : Multiply numbers in first column to get LCM.
LCM( 640, 240, 360, 580 ) = 2 · 2 · 2 · 2 · 2 · 2 · 2 · 3 · 3 · 5 · 29 = 167040 .