LCM is the smallest integer which is a multiple of two or more numbers. For example, LCM of 4 and 6 is 12, and LCM of 10 and 15 is 30. As with the greatest common divisors, there are many methods for computing the least common multiples also. One method is to factor both numbers into their primes.