Kolakoski Sequence by teebee

a=[n=0];1e4.times{print a[it]=1+n%2;--a[n]||n++}

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

download

return to the top page