Arithmetic Home Contents
Part II. ON THE DIVISIBILITY OF NUMBERS•Chapter II. Decomposition of Numbers into Prime Factors

§ 91. Prime Factorization of a Composite Number

Any composite number can be decomposed into prime factors, that is, represented as a product of prime numbers. For example, to decompose 12 into prime factors means to represent this number as follows: 12 = 2 · 2 · 3.

Suppose it is required to decompose some composite number into prime factors, for example, 420. To do this, we find (using divisibility rules) the smallest prime number by which 420 is divisible; such a number is 2. Let us divide 420 by 2:

420: 2 = 210; hence, 420 = 210 · 2. (1)

Now we look for the smallest prime number by which the composite number 210 is divisible; such a number is 2. Let us divide 210 by 2:

210: 2 = 105, hence, 210 = 105 · 2.

Let us replace the number 210 in equation (1) with the product equal to it:

420 = 105 · 2 · 2. (2)

The smallest prime number by which the composite number 105 is divisible is 3. Let us divide 105 by 3:

105 : 3 = 35, hence, 105 = 35 · 3.

Let us replace the number 105 in equation (2) with the product equal to it:

420 = 35 · 3 · 2 · 2. (3)

The smallest prime number by which the composite number 35 is divisible is 5; dividing 35 by 5, we find 7; hence, 35 = 7 · 5. Replacing the number 35 in equation (3) with the product equal to it, 35 = 7 · 5, we obtain:

420 = 7 · 5 · 3 · 2 · 2.

This is the required decomposition, since now all factors are prime numbers.

Since the product does not change when the order of the factors is changed, they can be written in any order; usually they are written from smaller to larger, that is, as follows:

420 = 2 · 2 · 3 · 5 · 7.

The decomposition into prime factors is most conveniently written as follows:

4202
2102
1053
355
77
1

that is, the given composite number is written and a vertical line is drawn to its right. To the right of the line, the smallest prime number by which the given composite number is divisible is placed, and the given number is divided by it. The digits of the quotient are written under the dividend. This quotient is treated in the same way as the given number. The operations are continued until the quotient becomes one. Then all the numbers standing to the right of the line will be the prime factors of the given number.

In the example considered, we each time looked for the smallest prime divisor of the obtained number; most often this is the most convenient method of decomposition, because the smaller the number, the easier it is to divide by it; moreover, for most small divisors, simple divisibility rules exist. However, the indicated path is not mandatory, and often the decomposition into prime factors can be more simply performed in a different order. Thus, in our same example, we immediately see that 420 is divisible by 10 = 2 · 5. Therefore, having performed the decomposition 42 = 2 · 21 = 2 · 3 · 7 (mentally), we can write 420 = 10 · 42 = 2 · 5 · 2 · 3 · 7 = 2 · 2 · 3 · 5 · 7.

If it is required, for example, to decompose the number 13000 into factors, we can immediately notice that 13000 = 13 · 1000, and since 13 is a prime number, it remains to decompose the number 1000 = 10 · 10 · 10 = 2 · 5 · 2 · 5 · 2 · 5 into prime factors, and we immediately obtain:

13000 = 2 · 2 · 2 · 5 · 5 · 5 · 13.

Let us take another example. Let us decompose 8874 into prime factors:

88742
44373
14793
49317
2929
1

Having reached the quotient 493, we have difficulty deciding by which number it is divisible. In such cases, we turn to the table of prime numbers (in the reference appendix). If a number that caused us difficulty is found in it, then it is divisible only by itself. The number 493 is not found in the table of prime numbers; hence, this number is composite, and therefore we try to divide it by prime numbers: 7, 11, 13, etc., until we reach a division without a remainder. It turns out that 493 is divisible by 17, and the quotient is 29. Now we can finish the decomposition.

From this example, it is seen that sometimes it is very difficult to perform the decomposition of a composite number, since during the decomposition we may encounter a large number, for which it is difficult to decide whether it is prime or composite; and if it is composite, it is not always easy to find its smallest prime divisor.

Brock and Otto — story illustration for § 91 “Prime Factorization of a Composite Number”
👨‍👩‍👧 In Plain Words (Kids & Parents)
Ask your child: Ask your child to demonstrate with numbers 12 and 3 on the right stage why the main rule of “Prime Factorization of a Composite Number” holds true.
Quick reference without leaving:

Study Guide for Parents, Teachers & Family Co-Learning — Lesson 91. Prime Factorization of a Composite Number

Core Idea in Plain Language

Any big number that isn't prime can be broken down into a list of smaller prime numbers multiplied together. You do this by dividing the number by the smallest prime that fits, writing down the result, and repeating until you only have 1 left.

The operations are continued until the quotient becomes one. Then all the numbers standing to the right of the line will be the prime factors of the given number.
All factors are prime; factorization complete.

Key Mathematical Terms:

Composite numberPrime factorsDivisibility rulesQuotient

Common Student Mistake & Socratic Fix

Typical pitfall: Billy stops the factorization of 420 as soon as he gets a quotient of 35, writing 420 = 2 · 2 · 3 · 35, because he thinks 35 is a prime number since it is not divisible by 2 or 3.

How to guide correction: Billy must check if 35 is prime. Since 35 ends in 5, it is divisible by 5. He should divide 35 by 5 to get 7. Since 7 is prime, the correct factorization is 420 = 2 · 2 · 3 · 5 · 7.

Complete 4-Step Reasoning Walkthrough

  1. 1. Find the smallest prime factor of 420420 = 210 · 2

    Brock and Otto start with 420. They find the smallest prime number that divides it, which is 2. Dividing 420 by 2 gives 210.

  2. 2. Factor the quotient 210210 = 105 · 2

    Otto takes the number 210. They again find the smallest prime factor, which is 2. Dividing 210 by 2 gives 105. They replace 210 in the equation.

  3. 3. Factor the quotient 105105 = 35 · 3

    Brock handles 105 similarly. The smallest prime factor is 3. Dividing 105 by 3 gives 35. They replace 105 in the equation with the product.

  4. 4. Factor the quotient 3535 = 7 · 5

    Otto finishes with 35. Its smallest prime factor is 5. Dividing 35 by 5 gives 7. Since 7 is prime, the factorization is complete.

Graded Practice Problems & Worked Solutions

  1. Problem 1 (§ 91). In the factorization of the number 420 = 2 · 2 · 3 · 5 · 7, how many times does the prime factor 2 repeat?

    Hint: Look at the final product 420 = 2 · 2 · 3 · 5 · 7. Count the number of times the digit 2 appears in the multiplication sequence.

    Worked solution: Identify the prime factors in the expression: 2, 2, 3, 5, 7. Count the occurrences of the number 2. It appears twice. Therefore, the prime factor 2 repeats 2 times.
  2. Problem 2 (§ 91). By what smallest prime number is the composite quotient 105 divisible when factoring the number 420?

    Hint: Check if 105 is divisible by 2 (it is odd, so no). Check if 105 is divisible by 3 by summing its digits: 1 + 0 + 5 = 6.

    Worked solution: The number 105 is odd, so it is not divisible by 2. Sum the digits of 105: 1 + 0 + 5 = 6. Since 6 is divisible by 3, 105 is divisible by 3. Thus, the smallest prime divisor of 105 is 3.
  3. Problem 3 (§ 91). How many prime factors (counting repetitions) are there in the factorization of the number 12 = 2 · 2 · 3?

    Hint: List all the numbers in the product 2 · 2 · 3. Count the total number of factors in the list.

    Worked solution: The factorization is given as 12 = 2 · 2 · 3. The factors are 2, 2, and 3. Counting them, we have three factors in total.

How This Lesson Connects Across the Curriculum