该数列的通项: 2(n-1) + (2^n-1)/2^n= 2n-1 -1/2^n
前n项和= 2(1+2+3+...+n)- 1*n -(1/2+1/4+1/8+...+1/2^n)
=n(n+1)-n-(1- 1/2^n)
=n^2-1+1/2^n
该数列的通项: 2(n-1) + (2^n-1)/2^n= 2n-1 -1/2^n
前n项和= 2(1+2+3+...+n)- 1*n -(1/2+1/4+1/8+...+1/2^n)
=n(n+1)-n-(1- 1/2^n)
=n^2-1+1/2^n