for(n=1,100,print(n" : "2^(n>>k=valuation(n,2)+1)*k+=k-1))
Note that non-ascii characters in the above source code will be escaped (such as \x9f).
download
return to the top page