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