meid-up

Pages

  • Beep
  • Boop
  • Creating
  • Coding
  • Drawing

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
Posted by Mei at 17:10
Email ThisBlogThis!Share to XShare to FacebookShare to Pinterest

No comments:

Post a Comment

Newer Post Older Post Home
Subscribe to: Post Comments (Atom)

Me

My photo
Mei
View my complete profile

History

  • ►  2023 (1)
    • ►  October (1)
  • ►  2021 (1)
    • ►  January (1)
  • ►  2016 (1)
    • ►  March (1)
  • ►  2015 (2)
    • ►  January (2)
  • ▼  2014 (54)
    • ►  September (2)
    • ►  August (6)
    • ►  July (4)
    • ►  June (1)
    • ▼  May (6)
      • The Monty Hall Problem
      • Clojure Bridge!
      • ~ R A I N B O W ~* \(^ W ^)/
      • Murrrrr~
      • Primes!
      • Lamb durr~
    • ►  April (4)
    • ►  March (7)
    • ►  February (8)
    • ►  January (16)
Powered by Blogger.