Goldbach partition by primo

a=[3];i=4
exec"i+=2;c=1;s=`i`+':'\nfor p in a:c*=i%p!=c;s+=' %d+%d'%(p,i-p)*(i-p in i/2/p*a)\na+=[i-1]*c;print s;"*148

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

download

return to the top page