Goldbach partition by shinh

3.upto(?\x96){|i|puts"#{l=i*2}:#{(2..i).map{|j|" #{j}+#{l-j}"if/^(  +)\1+$/!~' '*j+$/+' '*(l-j)}}"}

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

download

return top