primegen is a small, fast library to generate prime numbers in order. Can generate primes up to 1000000000000000, although it is not optimized for primes past 32 bits. It uses the Sieve of Atkin instead of the traditional Sieve of Eratosthenes.
primegen is a small, fast library to generate prime numbers in order. Can generate primes up to 1000000000000000, although it is not optimized for primes past 32 bits. It uses the Sieve of Atkin instead of the traditional Sieve of Eratosthenes.
To install primegen, run the following command in macOS terminal (Applications->Utilities->Terminal)
sudo port install primegen
To see what files were installed by primegen, run:
port contents primegen
To later upgrade primegen, run:
sudo port selfupdate && sudo port upgrade primegen
Reporting an issue on MacPorts Trac
The MacPorts Project uses a system called Trac to file tickets to report bugs and enhancement requests.
Though anyone may search Trac for tickets, you must have a GitHub account in order to login to Trac to create tickets.