Goldbach partition by 7gyou

q[],s;main(i,j){for(;s<21;s&&puts(""))for(s=!++i,j=2;q[i]+=i%j==0,j++<i/2;)q[j]|q[i-j]||printf(" %d+%d\0%d:"+!s++*7,!s?--j,i:j,i-j);}

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

download

return to the top page