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