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