calculate lcm of 18 and 24
Let's evaluate: ppcm(18, 24)
Let's decompose: 18 into prime factors:
2×9
2×3×3
2×32
Let's decompose: 24 into prime factors:
2×12
22×6
23×3
To obtain the LCM, we keep all the prime factors with the greatest exponent: 2^3*3^2
23×32
8×9
Result:   72