Prime factorization of $$$3166$$$
Your Input
Find the prime factorization of $$$3166$$$.
Solution
Start with the number $$$2$$$.
Determine whether $$$3166$$$ is divisible by $$$2$$$.
It is divisible, thus, divide $$$3166$$$ by $$${\color{green}2}$$$: $$$\frac{3166}{2} = {\color{red}1583}$$$.
The prime number $$${\color{green}1583}$$$ has no other factors then $$$1$$$ and $$${\color{green}1583}$$$: $$$\frac{1583}{1583} = {\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: $$$3166 = 2 \cdot 1583$$$.
Answer
The prime factorization is $$$3166 = 2 \cdot 1583$$$A.