Skip to content

sarrvesh/sieveOfEratosthenes

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

17 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

sieveOfEratosthenes

The sieve of Eratosthenes is a simple algorithm to generate a list of prime numbers upto a given limit. This procedure is attributed to the Greek mathematician Eratoshthenes of Cyrene.

Dependencies

Installation

Typical installation command:

mkdir build
cd build
cmake ../
make

If GMP is installed in a non-default location, you should run cmake with:

cmake ../ -DGMP_ROOT_DIR=<GMP install location>

About

C implementation of the Sieve of Eratosthenes

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published