Skip to content

LumenNoctis/Primes

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

5 Commits
 
 
 
 
 
 

Repository files navigation

Sieve_of_Eratosthenes

Sift the Two's and Sift the Three's

The Sieve of Eratosthenes.

When the multiples sublime,

The numbers the remain are Prime

Run

Run: ./Sieve [number] [output_file]

number as the max value of the primes generated

output as the output filename


Up(or never)coming features

Format type :

./Sieve "min=x max=y amoutn=z output=a"

Where:

  • min Minimum prime value

  • max Maximum prime value

  • amount Maximum amount of primes generated

  • output output filename (If the filename is a number, write to corresponding file descriptor)

Implement Eratosthenes (inc & segmented)

Sieve of Atkins to look into for more uwu

Disclaimer: This is actually Euler's Sieve, not Erathostene's >.> hehe gottem

About

Prime number generator for your everyday needs

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors

Languages