euler/ruby/euler007.rb

6 lines
59 B
Ruby
Raw Normal View History

require 'prime'
2014-04-25 23:59:14 +00:00
def solution
Prime.take(10001).last
2014-04-25 23:59:14 +00:00
end