limit=ARGV[0].to_i; crosslimit=Math.sqrt(limit); sieve=[0]*limit; i=0; while i