Kolakoski Sequence by rolf

s="122";i=2;exec's+=s[i%2]*int(s[i]);i+=1;'*6665;print s

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

download

return to the top page