Sn=(2-1)+(2-1/2)+(2-1/4)+............{2-1/2^(n-1)} =2*n-[1+1/2+1/4+..........1/2^(n-1)] =2n-{2-1/2^(n-1)] =2n-2+1/2^(n-1)