Collatz Parity by chocobi

class C{static void Main(){for(int n,i=257;--i>-257;){var s="";for(n=i;s.Length<64;n=(n%2!=0?3*n+1:n)/2)s+=" #"[n&1];System.Console.Write(s+"|\n");}}}

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

download

return to the top page