Gaussian Prime by hakusui

(-23..23).each{a->println((-23..23).sum{b->x=a*b?a*a+b*b:(a+b).abs();(2..<x).every{x%it}&(a*b||!(x-3&3))?"[]":"  "})}

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

download

return to the top page