The prime factorization of 987 is:
$$ 987 = 3\cdot7\cdot47 $$Prime factorization can be nicely visualized by creating a factorization tree.
| 987 can be written as 3 × 329. |
|
| 329 can be written as 7 × 47. |
|
| The end nodes are the prime factors of the number 987. |
|