The prime factorization of 125 is:
$$ 125 = 5\cdot5\cdot5 $$Which is the same as :
$$ 125 = 5^{3} $$Prime factorization can be nicely visualized by creating a factorization tree.
| 125 can be written as 5 × 25. |
|
| 25 can be written as 5 × 5. |
|
| The end nodes are the prime factors of the number 125. |
|