Maths WorkshopMaths problems with full solutions
Exercise 457Number theory › Divisibility and gcdHigh schoolAdded 3 Nov 2026

LCM of three numbers

#lcm#three numbers#prime factorization

Statement

Compute lcm⁡(12,18,30)\operatorname{lcm}(12,18,30).

Hint

Prime factorization: take the largest exponent of each prime.

Show solutionHide solution

Solution

Factorizations.
12=22⋅3,18=2⋅32,30=2⋅3⋅5.12=2^2\cdot3,\qquad 18=2\cdot3^2,\qquad 30=2\cdot3\cdot5.

LCM. Largest exponent of each prime: 22⋅32⋅5=4⋅9⋅5=1802^2\cdot3^2\cdot5=4\cdot9\cdot5=180.

Conclusion. lcm⁡(12,18,30)=180\operatorname{lcm}(12,18,30)=180.

Check. 180=15⋅12=10⋅18=6⋅30180=15\cdot12=10\cdot18=6\cdot30. Correct.