Prime

Prime number utility.

Enter an integer to get prime information.

Is Prime:

?

Next Prime:

?

Details

Prime number checks are accomplished with 20 iterations of the Miller-Rabin primality test. Next prime checks utilize 6k±1 wheel factorization to identify candidates. Random numbers for prime checks are generated with the Rando.js library.