Prime factorization of $$$2798$$$
Your Input
Find the prime factorization of $$$2798$$$.
Solution
Start with the number $$$2$$$.
Determine whether $$$2798$$$ is divisible by $$$2$$$.
It is divisible, thus, divide $$$2798$$$ by $$${\color{green}2}$$$: $$$\frac{2798}{2} = {\color{red}1399}$$$.
The prime number $$${\color{green}1399}$$$ has no other factors then $$$1$$$ and $$${\color{green}1399}$$$: $$$\frac{1399}{1399} = {\color{red}1}$$$.
Since we have obtained $$$1$$$, we are done.
Now, just count the number of occurences of the divisors (green numbers), and write down the prime factorization: $$$2798 = 2 \cdot 1399$$$.
Answer
The prime factorization is $$$2798 = 2 \cdot 1399$$$A.