Goldbach partition by murky-satyr

3.upto(?\x96){|i|s="#{i*2}:";3.upto(i){|x|(t=x,i*2-x).all?{|x|2**~-x%x==1}&&s<<' '+t*'+'};puts s}

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

download

return top