The prime factorization of 124 is:
$$ 124 = 2\cdot2\cdot31 $$Which is the same as :
$$ 124 = 2^{2}\cdot31 $$Prime factorization can be nicely visualized by creating a factorization tree.
| 124 can be written as 2 × 62. |
|
| 62 can be written as 2 × 31. |
|
| The end nodes are the prime factors of the number 124. |
|