Goldbach partition by twice11

sub p(){$p==$_||$_%$p++&&p()}for$n(3..150){$k=2*$n.":";$p=2,p()and$_=$k-($a=$_),$p=2,p()and$k.=" $a+$_"for(2..$n);print"$k\n"}

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

download

return to the top page