1.upto($$){|i|s=2;p(i)if(1..i).all?{|j|s>j ?i%j>0||s+=j:p}}
Note that non-ascii characters in the above source code will be escaped (such as \x9f).
download
return to the top page