因为1/2^n = (2-1)/2^n = 1/2^(n-1) - 1/2^n
所以1/2 = 1 - 1/2
1/4 = 1/2 -1/4
...
1/256 = 1/128 - 1/256
1/512 = 1/256 - 1/512
所以原式=1+(1-1/2)+(1/2-1/4)+...+(1/256-1/512) = 1+1-1/512 = 2 - 1/512 = 1023/512
因为1/2^n = (2-1)/2^n = 1/2^(n-1) - 1/2^n
所以1/2 = 1 - 1/2
1/4 = 1/2 -1/4
...
1/256 = 1/128 - 1/256
1/512 = 1/256 - 1/512
所以原式=1+(1-1/2)+(1/2-1/4)+...+(1/256-1/512) = 1+1-1/512 = 2 - 1/512 = 1023/512