Updated 09-16-2017
The Sieve of Eratosthenes algorithm implemented in Python. Finds all primes below input n, returns largest prime as output. More information.
Input: 1000
Output: 997
Python 2 script
Python 3 script
| Name | Name | Last commit date | ||
|---|---|---|---|---|
Updated 09-16-2017
The Sieve of Eratosthenes algorithm implemented in Python. Finds all primes below input n, returns largest prime as output. More information.
Input: 1000
Output: 997
Python 2 script
Python 3 script