The Least Common Multiple (LCM) is the smallest number that both numbers can divide into evenly.
Prime Factorization can be used to calculate the LCM of an two numbers. Given a list of prime factors for two numbers, the formula for the LCM is given by:
Where:
In other words multiply every factor together but only keep the duplicate factors with the highest power.
For example: