Skip to main content
返回上级

质数检查器

Check if a number 是质数, perform 质因数分解, and find adjacent primes

数字输入

范围: -1000000 to 1000000

快速示例
Verification 结果

Enter an integer and click '检查质数' to 开始

质数知识

什么是质数?

A 质数 number is a natural number greater than 1 that has no positive divisors 其他 than 1 and itself. 2 is the smallest 质数 and the only even 质数.

质数的性质

There are infinitely many primes, with no largest 质数. Primes have important 应用 in cryptography and computer science.

质因数分解

Any integer greater than 1 can be uniquely represented as a product of primes, known as the Fundamental Theorem of Arithmetic.

特殊数字

0 and 1 are neither 质数 nor 合数. Negative 个数字 can also be factorized, but usually only positive primes are considered.