$$$20$$$ 的质因数分解
您的输入
求$$$20$$$的质因数分解。
解答
从数 $$$2$$$ 开始。
判断 $$$20$$$ 是否能被 $$$2$$$ 整除。
它可被整除,因此,将 $$$20$$$ 除以 $$${\color{green}2}$$$:$$$\frac{20}{2} = {\color{red}10}$$$。
判断 $$$10$$$ 是否能被 $$$2$$$ 整除。
它可被整除,因此,将 $$$10$$$ 除以 $$${\color{green}2}$$$:$$$\frac{10}{2} = {\color{red}5}$$$。
素数 $$${\color{green}5}$$$ 除了 $$$1$$$ 和 $$${\color{green}5}$$$ 之外没有其他因数:$$$\frac{5}{5} = {\color{red}1}$$$。
由于我们已经得到$$$1$$$,我们就完成了。
现在,只需统计这些因子(绿色数字)的出现次数,并写出质因数分解:$$$20 = 2^{2} \cdot 5$$$。
答案
质因数分解为$$$20 = 2^{2} \cdot 5$$$A。
Please try a new game Rotatly