Home · Utilities · Prime checker

Prime checker

Trial division up to the square root. One and zero are not prime.

    Recent

    Files you add show up here, on this device.

    R runs. Esc cancels. D downloads.

    Ready when you are.

    Before
    —
    After
    —

    Try next

    How Prime checker works

    1. Enter a whole number.
    2. The page tests divisibility up to the square root.
    3. 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.