Kolakoski Sequence by twobit

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

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

download

return to the top page