Ecosyste.ms: Awesome

An open API service indexing awesome lists of open source software.

Awesome Lists | Featured Topics | Projects

https://github.com/torvaney/sieve-of-erastosthenes


https://github.com/torvaney/sieve-of-erastosthenes

elm

Last synced: about 1 month ago
JSON representation

Awesome Lists containing this project

README

        

# The Sieve of Eratosthenes

A simple implementation of the sieve of Eratosthenes in Elm.

> In mathematics, the sieve of Eratosthenes, one of a number of prime number sieves, is a simple, ancient algorithm for finding all prime numbers up to any given limit. It does so by iteratively marking as composite (i.e., not prime) the multiples of each prime, starting with the multiples of 2.

[_Wikipedia_](https://en.wikipedia.org/wiki/Sieve_of_Eratosthenes)