sum (2+(-1)^(k+1))/2^k from k=0 to infinity