即S=1/2+1/4+1/8+1/16+...+1/(2的n次方) ①
则2S=1+1/2+1/4+1/8+...+1/2的n-1次方) ②
②-①得:S=1-1/(2的n次方)
所以原式=1-1/(2的n次方)