Thue morse constant by Europe2048

n=x=1\x0d
while n<4096:x+=2**n;n=n+2^-(n^n+2)%3\x0d
print('0.'+str(x*5**1000>>3096))

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

To protect the system from spam, please input your favorite sport (hint: I believe its name must start with 'g', case insensitive)

download

return to the top page