Sha256: 0f3702a68e7bb971cc3f80341c31834edff1d361328d327a6262151c17f1fdd7
Contents?: true
Size: 205 Bytes
Versions: 21
Compression:
Stored size: 205 Bytes
Contents
{ min = 1 max = 20 step = [2, 3, 5, 7, 11, 13, 17].reduce do |acc, el| acc * el end (step..(step * step)).step(step).detect do |i| (min..max).all? do |j| i % j == 0 end end
Version data entries
21 entries across 21 versions & 3 rubygems