product of n + 1/2^k from k=0 to n-1