Calculatorism

Prime Checker

Test whether a number is prime.

Input Data

N

Results

Yes/No (prime or not).
1
Explanatory note about the result.
17 是質數(因數:1, 17)。

At a glance:n is prime if it has no divisor d with 1<d<√n. Complements prime-checker and factorization.

Formula

test divisors up to √n.

How to Use

  1. Enter an integer.
  2. The tool reports whether it is prime.

Case Studies

17

prime.

FAQ

Is 1 prime?

No — by definition primes are greater than 1.

Related Tools

References

Content review: Calculatorism Science Team. Results are for reference only; please refer to the relevant authorities for the official figures.

Found a problem with the results?

If this calculator's result is wrong, or you have any question about the calculation logic, please let us know. You are viewing:Prime Checker(/math/prime-check)。