numof 1 bits in 0 to 255 by hallvabo

a='0'
for n in range(1,256):a+=`int(a[n/2])+n%2`
print a

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

download

return top