JESUS CHRIST IS THE ONLY TRUE GOD
Math calculator

Prime Number Checker

Check whether a safe integer is prime.

Your calculationPrivate in your browser
Report a result

Start with a worked example

Open the worked example for Prime test. The example starts with Integer = 97.

Prime Checker formula

A prime integer n≥2 has no positive divisors other than 1 and n.

Inputs and units

Inputs and example values for Prime Checker
InputFormat / rangeExample
IntegerWhole number, min 0, max 100000000000097

Worked example

The values listed in Inputs and units give Prime for Prime test.

Prime test
Prime

Results and assumptions

The worked example uses the units shown in its input table. Use those same units to reproduce it.

Fix an input or unexpected result

Integer is required. Enter integer using the format and bounds in the input table. Zero and an empty field are different: use zero only if it is allowed and represents your data.

See how to check a result or report an issue.