Sphenic Numbers by shinh

763.times{|n|2.upto(c=x=n){|i|n%i<1&&c+=(n/=i)%i>0?1:9};c==x+3&&puts(x)}

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

download

return to the top page