Hacker Newsnew | past | comments | ask | show | jobs | submitlogin

Sieve of Eratosthenes, visualized here:

http://xrd.github.io/angular-algorithms/web/index.html#/algo...

Spelling eratosthenes is harder than this elegant little algorithm.



I would never have made it through Project Euler 1-100 without that thing




Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: