The prime factorization of 128 is:
$$ 128 = 2\cdot2\cdot2\cdot2\cdot2\cdot2\cdot2 $$Which is the same as :
$$ 128 = 2^{7} $$Prime factorization can be nicely visualized by creating a factorization tree.
128 can be written as 2 × 64. |
|
64 can be written as 2 × 32. |
|
32 can be written as 2 × 16. |
|
16 can be written as 2 × 8. |
|
8 can be written as 2 × 4. |
|
4 can be written as 2 × 2. |
|
The end nodes are the prime factors of the number 128. |
|