🔢 公因数计算器Common Factor Calculator
输入两个或多个整数,列出它们的全部公因数,并给出最大公因数(GCF)和各数的因数个数。List every common factor of two or more whole numbers, with the greatest common factor (GCF) and how many factors each number has.
使用说明与常见问题How-to & FAQ
「公因数计算器」是什么?What is the Common Factor Calculator tool?
输入两个或多个整数,列出它们的全部公因数,并给出最大公因数(GCF)和各数的因数个数。List every common factor of two or more whole numbers, with the greatest common factor (GCF) and how many factors each number has.
如何使用「公因数计算器」?How do I use the Common Factor Calculator tool?
在「公因数计算器」中,填写「整数(用空格或逗号分隔)」等参数,结果会随输入实时计算并显示在下方。In the Common Factor Calculator: Fill in "Whole numbers (space or comma separated)"; results are recalculated instantly as you type.
公因数怎么求?How are common factors found?
所有公因数正好是这些数的最大公因数(GCF)的全部因数。工具先用辗转相除法求 GCF,再列出 GCF 的因数。The common factors are exactly the factors of the greatest common factor. The tool finds the GCF with Euclid's algorithm, then lists its divisors.
负数可以吗?Do negative numbers work?
可以,因数按绝对值计算,例如 −12 和 18 的公因数是 1、2、3、6。Yes — factors use absolute values, so −12 and 18 share 1, 2, 3 and 6.
0 怎么处理?What about 0?
0 能被任何整数整除,所以 0 和 18 的公因数就是 18 的全部因数;如果所有数都是 0,则没有最大公因数,工具会提示。小数不是整数,会被拒绝。Every whole number divides 0, so the common factors of 0 and 18 are simply the factors of 18. If every number is 0 there is no greatest common factor and the tool says so. Decimals are not whole numbers and are rejected.
计算精度如何?How precise are the results?
「公因数计算器」使用 JavaScript 双精度浮点数(约 15–16 位有效数字);极大或极小的数值可能存在精度误差。The Common Factor Calculator uses double-precision floating point (about 15–16 significant digits); very large or very small values may lose precision.
「公因数计算器」免费吗?需要注册吗?Is the Common Factor Calculator free? Do I need an account?
「公因数计算器」完全免费,无需注册或安装,打开网页即可使用,手机和电脑都能用;输入的内容只在你的浏览器本地处理。The Common Factor Calculator is completely free with no sign-up or install and works on phones and desktops; what you enter is processed only in your browser.