Sha256: 278ec4fc2a2f81b1c0052ccec43127bb047a6d5e06142d320052124a4f201074
Contents?: true
Size: 75 Bytes
Versions: 15
Compression:
Stored size: 75 Bytes
Contents
class Integer def rough?(k) prime_factors.all?{|f| f >= k} end end
Version data entries
15 entries across 15 versions & 1 rubygems