Goldbach partition by 51b

void main(){for(int n=4,m,k,l;n<300;printf=\n)for(printf("%d:",n+=2),m=1;2*m++<n;k-1||printf(" %d+%d",m,l))for(k=l=n-m;l%--k&&(k/m+m%k);){}}

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

download

return to the top page