质因数分解计算器
把整数分解为质因数,判断是否为质数,并列出它的所有约数。
输入
提示:按 Ctrl + Enter 运行
已保存的设置
下方的详细帮助目前仅提供英文版。
关于此工具
Every whole number above 1 is either prime or a unique product of primes. This calculator finds that product, says whether the number is prime, counts its divisors, adds them up and lists them all. It is useful for simplifying fractions and radicals, checking divisibility, and exploring number theory homework.
使用方法
- Enter a whole number from 2 to 10,000,000,000,000.
- Run the factorization.
- Read the factorization in exponent form and the prime check.
- Use the divisor list for problems about factors and multiples.
计算原理
Trial division by 2, 3 and then candidate primes up to √n. The number of divisors is the product of (exponent + 1) for each prime; the sum of divisors uses the standard divisor-function formula.
trial division by primes up to √n计算示例
The number 1001 factors as 7 × 11 × 13. It has 8 divisors (1, 7, 11, 13, 77, 91, 143 and 1001) whose sum is 1,344. Entering 97 shows that it is prime, with only the divisors 1 and 97.
示例输入和结果
整数(2 至 10,000,000,000,000): 360 → 质因数分解: 2³ × 3² × 5 → 质数: 否 → 约数个数: 24 → 约数之和: 1,170
局限性
- Numbers from 2 to 10,000,000,000,000.
- Whole numbers only.
- Divisor lists can be long for highly composite numbers.
最后更新:
常见问题
Is 1 a prime number?
No. Primes have exactly two divisors, 1 and themselves; 1 has only one.
Why is there an upper limit?
Trial division slows down for very large numbers; 10 trillion keeps results fast in a browser.
How can I test divisibility quickly by hand?
A number is divisible by 3 if its digits add up to a multiple of 3, by 9 if they add up to a multiple of 9, and by 11 if the alternating sum of its digits is a multiple of 11. 1001 passes the 11 test: 1 − 0 + 0 − 1 = 0.
How is this used to simplify square roots?
Pair up prime factors: √360 = √(2³ × 3² × 5) = 6√10.
故障排除
It rejects my number.
It is below 2, above the limit or not a whole number.
It takes a moment for large primes.
Proving a large number prime means testing many divisors; wait a few seconds.
I need the GCD of two numbers.
Use the GCD and LCM calculator.
隐私 & 免费使用
我的输入会被保存吗?
你的数据只保留在此标签页中。我们不会收到你的文件、粘贴的文本或计算数值。
这个工具免费吗?
是的。无需注册或付费。