Utilities
Prime checker
Trial division up to the square root. One and zero are not prime.
No file requiredDrop several to batch them into one zip. Paste works too. Nothing is uploaded.
R runs. Esc cancels. D downloads.
0%
Ready when you are.
- Before
- —
- After
- —
How Prime checker works
- Enter a whole number.
- The page tests divisibility up to the square root.
- Even numbers above 2 fail immediately.
A prime has exactly two positive divisors: 1 and itself. This check is exact for integers that fit in a safe JavaScript number.
Questions
Does Prime checker upload the file?
No. Prime checker runs in this browser. Nothing is uploaded.
What does Prime checker produce?
A prime has exactly two positive divisors: 1 and itself. This check is exact for integers that fit in a safe JavaScript number.
How is Prime checker ahead of the usual version?
1 options are on the page before you run, and Run is the R key.