algorithm 01
Sieve of Eratosthenes
Counts the primes below n by striking out the multiples of each prime.
countPrimes.js
Pick n and press Run.
algorithm 01
Counts the primes below n by striking out the multiples of each prime.
countPrimes.js
Pick n and press Run.