LCM of 12 and 18 by prime factorization
Find the smallest positive integer that is divisible by both 12 and 18, useful when aligning two gear cycles or finding a common denominator for 1/12 + 1/18.
ResultLCM(12, 18) = 36
Factor each number: 12 = 2^2 x 3 and 18 = 2 x 3^2. Take the highest power of every prime that appears in either factorization, giving 2^2 x 3^2 = 4 x 9 = 36. Cross-check with the GCF identity: GCF(12, 18) = 6, so LCM = (12 x 18) / 6 = 216 / 6 = 36.