Euler Project in Ruby - Problem 10
Exercise 9 description:
The sum of the primes below 10 is 2 + 3 + 5 + 7 = 17.
Find the sum of all the primes below two million.
Ruby code: http://ideone.com/FmtZf or https://gist.github.com/3036526
Note: This is bad code. You can improve efficiency by skipping even numbers or optimally, by using this math: http://en.wikipedia.org/wiki/Sieve_of_Eratosthenes











