Problem Statement
Find the LCM of 18, 24 and 30.
Explanation
Prime factors: 18 = 2×3², 24 = 2³×3, 30 = 2×3×5. Take highest powers: 2³×3²×5 = 360.
LCM uses the maximum exponent of each prime across the numbers.
Code Solution
SolutionRead Only
LCM = 2^3 × 3^2 × 5 = 360
