Sphenic Numbers by usa

require"mathn";1.upto(762){|i|(a=i.prime_division).size==3&&a.all?{|x,y|y<2}&&p(i)}

Note that non-ascii characters in the above source code will be escaped (such as \x9f).

download

return to the top page