Gaussian Prime by nn

x,y=-24,z;main(i,v){for(;y++<23;puts(""))for(x=-24;x++<23;printf(i-1?"  ":"[]"))for(z=abs(x+y),i=v=x*y?x*x+y*y:z%4-3?4:z;v%--i;);}

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

download

return to the top page