The prime factorization of 126 is:
$$ 126 = 2\cdot3\cdot3\cdot7 $$Which is the same as :
$$ 126 = 2\cdot3^{2}\cdot7 $$Prime factorization can be nicely visualized by creating a factorization tree.
126 can be written as 2 × 63. |
|
63 can be written as 3 × 21. |
|
21 can be written as 3 × 7. |
|
The end nodes are the prime factors of the number 126. |
|