Q: What is the prime factorization of the number 123,456,787?

 A:
  • The prime factors are: 31 x 31 x 128,467
    • or also written as { 31, 31, 128,467 }
  • Written in exponential form: 312 x 128,4671

Why is the prime factorization of 123,456,787 written as 312 x 128,4671?

What is prime factorization?

Prime factorization or prime factor decomposition is the process of finding which prime numbers can be multiplied together to make the original number.

Finding the prime factors of 123,456,787

To find the prime factors, you start by dividing the number by the first prime number, which is 2. If there is not a remainder, meaning you can divide evenly, then 2 is a factor of the number. Continue dividing by 2 until you cannot divide evenly anymore. Write down how many 2's you were able to divide by evenly. Now try dividing by the next prime factor, which is 3. The goal is to get to a quotient of 1.

If it doesn't make sense yet, let's try it...

Here are the first several prime factors: 2, 3, 5, 7, 11, 13, 17, 19, 23, 29...

Let's start by dividing 123,456,787 by 2

123,456,787 ÷ 2 = 61,728,393.5 - This has a remainder. Let's try another prime number.
123,456,787 ÷ 3 = 41,152,262.3333 - This has a remainder. Let's try another prime number.
123,456,787 ÷ 5 = 24,691,357.4 - This has a remainder. Let's try another prime number.
...
Keep trying increasingly larger numbers until you find one that divides evenly.
...
123,456,787 ÷ 31 = 3,982,477 - No remainder! 31 is one of the factors!
3,982,477 ÷ 31 = 128,467 - No remainder! 31 is one of the factors!
128,467 ÷ 31 = 4,144.0968 - There is a remainder. We can't divide by 31 evenly anymore. Let's try the next prime number
128,467 ÷ 37 = 3,472.0811 - This has a remainder. 37 is not a factor.
128,467 ÷ 41 = 3,133.3415 - This has a remainder. 41 is not a factor.
128,467 ÷ 43 = 2,987.6047 - This has a remainder. 43 is not a factor.
...
Keep trying increasingly larger numbers until you find one that divides evenly.
...
128,467 ÷ 128,467 = 1 - No remainder! 128,467 is one of the factors!

The orange divisor(s) above are the prime factors of the number 123,456,787. If we put all of it together we have the factors 31 x 31 x 128,467 = 123,456,787. It can also be written in exponential form as 312 x 128,4671.

Factor Tree

Another way to do prime factorization is to use a factor tree. Below is a factor tree for the number 123,456,787.

123,456,787
Factor Arrows
313,982,477
Factor Arrows
31128,467

More Prime Factorization Examples

123,456,785123,456,786123,456,788123,456,789
51 x 24,691,357121 x 31 x 20,576,131122 x 71 x 131 x 171 x 711 x 281132 x 3,6071 x 3,8031

Try the factor calculator

Explore more about the number 123,456,787:


Ask a Question