Blue cells are prime; 1 is neither prime nor composite. Inputs outside 1–100 are not cells in this teaching grid.
Deterministic integer test. The displayed square root is approximate; the divisibility stopping condition uses exact integer products.
Exact value & calculation details
Prime
Quantity
Value
Input
97
Classification
Prime
Factorization witness
Not applicable
Understand the calculation
Concept & meaning
Prime numbers are integers greater than 1 with no positive divisors other than 1 and themselves. Composite numbers have a nontrivial factor pair.
Formula & special cases
If n = a × b is composite, at least one factor is no larger than √n. Testing divisors through that bound is sufficient. This tool uses deterministic trial division within its stated range.
Precision & limitations
The 1–100 number map is a teaching aid. An input outside this range is still checked, but is not a cell in that small reference grid.