# LCM calculator

# LCM calculator

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

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

**Here is an example:**

**Find the LCM of 12, 18, and 30.**

- Prime factorizations:
- 12 = 2^2 * 3^1
- 18 = 2^1 * 3^2
- 30 = 2^1 * 3^1 * 5^1

- Unique prime factors: 2, 3, 5.
- Highest powers:
- 2: 2^2 (from 12)
- 3: 3^2 (from 18)
- 5: 5^1 (from 30)

- 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:**

- Find the prime factors of each number.
- Write the prime factors of each number using exponent notation.
- Find the highest exponent for each prime factor.
- Multiply the prime factors using the highest exponents.

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

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

Therefore, the LCM of 12 and 18 is 36.