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
| Input | Format / range | Example |
|---|---|---|
| Integer | Whole number, min 0, max 1000000000000 | 97 |
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.
