y=(1/2)^(x+1)-1
y+1=(1/2)^(x+1)
x+1=log(1/2)(y+1)
x=log(1/2)(y+1)-1
即g(x)=log(1/2)(x+1)-1
g(x+1)=log(1/2)(x+2)-1