Kolakoski Sequence by teebee

s=122
do i=3 to 6667
do substr(s,i,1)
s=s""2-i//2
end
end
say s

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

download

return to the top page