A006520 by test

set {1..500}
for i;{ echo $[x+=i&-i];}

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

download

return top