The prime factorization of 1798 is:
$$ 1798 = 2\cdot29\cdot31 $$Prime factorization can be nicely visualized by creating a factorization tree.
| 1798 can be written as 2 × 899. |
|
| 899 can be written as 29 × 31. |
|
| The end nodes are the prime factors of the number 1798. |
|