Tuesday, 13 May 2014

Primes!


Sieve of Eratosthenes

Sieve of Eratosthenes is an algorithm that gets all prime numbers under a specified number. It's fast and super easy to understand. This is my implementation of it.

My code and demo here:
http://jsbin.com/kixer/3/edit

No comments:

Post a Comment