Goldbach partition by nn

for($=[,,,p=3];$[j=p+=2]=i=j<300;print(s))for(s=-~p+':';i++<j--;$[p]*=p%i)$[i]*$[j]?s+=' '+i+'+'+j:0

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

download

return to the top page