Kolakoski Sequence by clock

s="122"for n=3,6667 do s=s..s:sub(n,n)^5%21*(2-n%2)end
print(s)

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

download

return to the top page