How it works
Trial division tests possible factors through the square root; zero and one are not primes.
Try an example
Integer: 97. The form starts with these values; change them to explore your own case.
Example result: Prime
- Trial division through floor(sqrt(n)).
Learn more in Exact number theory and congruences.
Results are calculated locally. Floating-point tools provide numerical approximations, not formal proof certificates.