From: Paul Battley Date: 2006-08-02T20:16:36+09:00 Subject: Re: golfing Eratosthenes On 02/08/06, Robert Dober wrote: > Enumerations, all the way ;) > > p (2..100).select{|d|!(2..d-1).find{|c|d%c==0}} You can shave a byte off: p (2..100).reject{|d|(2..d-1).find{|c|d%c==0}} Paul.