This function can be found in the package Primes.jl
. So you need to do Pkg.add("Primes")
aonce to add to the current environment and then you can load it with using Primes
. Afterwards the function isprime
will be available.
1 Like