LCM( 29, 35, 31, 41 ) = 1290065
Step 1 : Write the given numbers in a horizontal line.
29 | 35 | 31 | 41 |
Step 2 : Divide the given numbers by smallest prime number. In this example we can divide by 5.
(if any number is not divisible by 5, write it down unchanged)
5 | 29 | 35 | 31 | 41 |
29 | 7 | 31 | 41 |
Step 3 : Continue dividing by prime numbers till we get 1 in all columns.
5 | 29 | 35 | 31 | 41 |
7 | 29 | 7 | 31 | 41 |
29 | 29 | 1 | 31 | 41 |
31 | 1 | 1 | 31 | 41 |
41 | 1 | 1 | 1 | 41 |
1 | 1 | 1 | 1 |
Step 4 : Multiply numbers in first column to get LCM.
LCM( 29, 35, 31, 41 ) = 5 · 7 · 29 · 31 · 41 = 1290065 .