s='6' for n in range(100): m,p=1<<n,[''] for v in p: if int(v+s)%m<1:s=v+s;break p+='6'+v,'7'+v print(s)
Note that non-ascii characters in the above source code will be escaped (such as \x9f).
download
return to the top page