Number Sequence MEDIUM by teebee

END{for(;255>k=n;i=l+=++n~2^l){for(r=0;i;k/=2)r+=r+int(n/2^--i+k-k%1)%2;print r}}

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

download

return to the top page