numof 1 bits in 0 to 255 by primo

a=[0]
exec"a+=[n+1for n in a];"*8
print''.join(map(str,a))

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

download

return to the top page