J-Kit
Português

Prime Number Checker

Check if a number is prime, find its prime factors, and explore its properties.

Details below
About this tool

Deterministic primality testing with Miller-Rabin.

A prime number is an integer greater than 1 divisible only by 1 and itself. This tool uses deterministic Miller-Rabin with 12 fixed witnesses, guaranteeing correct results for any positive integer up to 10²⁴. For composite numbers, the full prime factorization is computed via optimized trial division.

How to use

Enter the number to check its primality.

  1. Enter the positive integer you want to check.
  2. The tool shows whether it is prime, composite, one, or zero.
  3. For composite numbers, see the full prime factorization and whether it is a perfect square or cube.
References

Sources and references for this tool

These references help contextualize formulas, standards, APIs and limitations used on this page. They do not replace professional validation when a result has legal, financial, medical or operational impact.

FAQ

Frequently asked questions

A prime number is an integer greater than 1 that has no positive integer divisors other than 1 and itself. The first primes are 2, 3, 5, 7, 11, 13…

Mathematics