18 = 3 * 3 * 2 * 1
45 = 5 * 3 * 3 * 1
НОК (18 и 45) = 3 * 3 * 2 * 5 * 1 = 90
30 = 2 * 3 * 5 * 1
40 = 2 * 2 * 2 * 5 * 1
НОК (30 и 40) = 2 * 2 * 2 * 3 * 5 * 1= 120
210 = 2 * 3 * 5 * 7 * 1
350 = 5 * 2 * 5 * 7 * 1
НОК (210 и 350) = 5 * 5 * 2 * 3 * 7 * 1 = 1050
20 = 2 * 2 * 5 * 1
70 = 2 * 5 * 7 * 1
15 = 3 * 5 * 1
НОК (20, 70 и 15) = 2 * 2 * 5 * 3 * 7 * 1 = 420