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