quick-is-prime

Test if a number is prime in constant time, using a cached Sieve of Eratosthenes.

Browse on unpkg