# The LCM (1,222 and 9,695) = ? Calculate the Least (the Lowest) Common Multiple, LCM, by Using Two Methods: 1) The Prime Factorization of the Numbers and 2) The Euclidean Algorithm

## The least common multiple

lcm (1,222; 9,695) = ?

### Method 1. The prime factorization:

#### The prime factorization of a number: finding the prime numbers that multiply together to make that number.

#### 1,222 = 2 × 13 × 47

1,222 is not a prime number but a composite one.

#### 9,695 = 5 × 7 × 277

9,695 is not a prime number but a composite one.

** Prime number: a natural number that is only divisible by 1 and itself. A prime number has exactly two factors: 1 and itself. *

* Composite number: a natural number that has at least one other factor than 1 and itself.

### Calculate the least common multiple, lcm:

#### Multiply all the prime factors of the two numbers. If there are common prime factors then only the ones with the largest exponents are taken (the largest powers).

## The least common multiple:

lcm (1,222; 9,695) = 2 × 5 × 7 × 13 × 47 × 277 = 11,847,290

The two numbers have no prime factors in common

11,847,290 = 1,222 × 9,695

## Method 2. The Euclidean Algorithm:

### 1. Calculate the greatest (highest) common factor (divisor):

#### This algorithm involves the process of dividing numbers and calculating the remainders.

#### 'a' and 'b' are the two natural numbers, 'a' >= 'b'.

#### Divide 'a' by 'b' and get the remainder of the operation, 'r'.

#### If 'r' = 0, STOP. 'b' = the gcf (hcf, gcd) of 'a' and 'b'.

#### Else: Replace ('a' by 'b') and ('b' by 'r'). Return to the step above.

#### Step 1. Divide the larger number by the smaller one:

9,695 ÷ 1,222 = 7 + 1,141

Step 2. Divide the smaller number by the above operation's remainder:

1,222 ÷ 1,141 = 1 + 81

Step 3. Divide the remainder of the step 1 by the remainder of the step 2:

1,141 ÷ 81 = 14 + 7

Step 4. Divide the remainder of the step 2 by the remainder of the step 3:

81 ÷ 7 = 11 + 4

Step 5. Divide the remainder of the step 3 by the remainder of the step 4:

7 ÷ 4 = 1 + 3

Step 6. Divide the remainder of the step 4 by the remainder of the step 5:

4 ÷ 3 = 1 + 1

Step 7. Divide the remainder of the step 5 by the remainder of the step 6:

3 ÷ 1 = 3 + 0

At this step, the remainder is zero, so we stop:

1 is the number we were looking for - the last non-zero remainder.

This is the greatest (highest) common factor (divisor).

#### The greatest (highest) common factor (divisor):

gcf, hcf, gcd (1,222; 9,695) = 1

### 2. Calculate the least common multiple:

#### The least common multiple, Formula:

#### lcm (a; b) = ^{ (a × b) } / _{ gcf, hcf, gcd (a; b) }

#### lcm (1,222; 9,695) =

^{ (1,222 × 9,695) }/_{ gcf, hcf, gcd (1,222; 9,695) } =

^{ 11,847,290 }/_{ 1 } =

#### 11,847,290

## The least common multiple:

lcm (1,222; 9,695) = 11,847,290 = 2 × 5 × 7 × 13 × 47 × 277

### Why is it useful to calculate the least common multiple?

#### In order to add, subtract or sort fractions with different denominators, we must make their denominators the same. An easy way is to calculate the least common multiple of all the denominators (the least common denominator).

#### By definition, the least common multiple of two numbers is the smallest natural number that is: (1) greater than 0 and (2) a multiple of both numbers.

## Other similar operations with the least common multiple:

## Calculator: calculate the least common multiple, lcm

### Calculate the least common multiple of the numbers, LCM:

#### Method 1: Run the prime factorization of the numbers - then multiply all the prime factors of the numbers, taken by the largest exponents.

#### Method 2: The Euclidean algorithm:

lcm (a; b) = ^{(a × b)} / _{gcf (a; b) }

#### Method 3: The divisibility of the numbers.