sum 1/sqrt(2^i) from i=0 to i=k-1