The prime factorization of 5012 is:
$$ 5012 = 2\cdot2\cdot7\cdot179 $$Which is the same as :
$$ 5012 = 2^{2}\cdot7\cdot179 $$Prime factorization can be nicely visualized by creating a factorization tree.
| 5012 can be written as 2 × 2506. |
|
| 2506 can be written as 2 × 1253. |
|
| 1253 can be written as 7 × 179. |
|
| The end nodes are the prime factors of the number 5012. |
|