Generates 25 prime numbers from 2 to 97
require 'mathn' list_primes = Prime.new puts list_primes.each { |prime| print prime, " "; break unless prime < 90 }