Rather than scraping a Ruby version of this algorithm off the net I wanted to create my own based on its description here. However I cannot figure out two things
<
or
x = [] Prime.each(123) do |p| x << p end
There may be a way to use inject here but the inception thing hurts my head today.