require 'prime'
count = 1
number = 2
until count == 10001
number += 1
count += 1 if number.prime?
end
p number
Created
September 12, 2015 18:55
-
-
Save user512/4ff8759ec947928631e7 to your computer and use it in GitHub Desktop.
best question 7
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment