is_prime


is_prime, an R code which implements various versions of the sieve of Eratosthenes to determine whether a given integer is prime.

Licensing:

The computer code and data files made available on this web page are distributed under the MIT license

Languages:

is_prime is available in a C version and a C++ version and a Fortran90 version and a MATLAB version and an Octave version and a Python version and an R version.

Related Data and Programs:

is_prime_test

Source Code:


Last modified on 29 December 2022.