# LCM calculator

To find the LCM of two or more numbers, you can follow these steps:

1. Write down the prime factorization of each number.
2. Identify all the unique prime factors among the numbers.
3. For each unique prime factor, find the highest power to which it occurs in any of the numbers.
4. Multiply together all the prime factors raised to their respective highest powers.

Here is an example:

Find the LCM of 12, 18, and 30.

1. Prime factorizations:
• 12 = 2^2 * 3^1
• 18 = 2^1 * 3^2
• 30 = 2^1 * 3^1 * 5^1
2. Unique prime factors: 2, 3, 5.
3. Highest powers:
• 2: 2^2 (from 12)
• 3: 3^2 (from 18)
• 5: 5^1 (from 30)
4. LCM = 2^2 * 3^2 * 5^1 = 180.

Therefore, the LCM of 12, 18, and 30 is 180.

## LCM

LCM (Least Common Multiple) is the smallest positive integer that is divisible by two or more given integers without a remainder. It is also known as the Lowest Common Multiple.

To find the LCM of two or more numbers, you can follow these steps:

1. Find the prime factors of each number.
2. Write the prime factors of each number using exponent notation.
3. Find the highest exponent for each prime factor.
4. Multiply the prime factors using the highest exponents.

For example, let’s find the LCM of 12 and 18:

1. The prime factors of 12 are 2, 2, and 3.
2. The prime factors of 18 are 2, 3, and 3.
3. The highest exponent for 2 is 2, and for 3, it is 2.
4. LCM = 2^2 * 3^2 = 36.

Therefore, the LCM of 12 and 18 is 36.