numof 1 bits in 0 to 255 by pooq

for i=1to 256?n,"";:n=n+1-log(and(-i,i),2)next

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

download

return to the top page