Goldbach partition by primo

*a=3;i=4
?\x94.times{puts"#{i+=c=2}:#{a.map{|p|c&&=i%p!=1;" #{p}+#{i-p}"if[]!=a&[i-p]&&i/p>1}}";c&&a<<i-1}

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

download

return to the top page