Kolakoski Sequence by teebee

dim a(9999)
do
a(i)=x
?1+x,"";
a(n)=!a(n)
if a(n)n=n+1:x=!x
i=i+1loop

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

download

return to the top page