Goldbach partition by hikaru

n=6;main(i,j,r){for(;n<301;n+=2){printf("%d:",n);for(i=2;++i<=n/2;j-1||printf(" %d+%d",i,r))for(r=n-i,j=n;(i==j||i%j)&&(r==j||r%j);j--);puts("");}}

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

download

return to the top page