Collatz Parity by tyos

q={"#"," "}for t=256,-256,-1 do
s=""for j=1,64 do
s=s..q[2-t%2]t=t/2+t%2*(t+.5)end
print(s.."|")end

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

download

return to the top page