The sum of the first n terms of sequence 1 / 29 / 4 25 / 8 65 / 16

The sum of the first n terms of sequence 1 / 29 / 4 25 / 8 65 / 16

an=n-1+1/2^n
Sn=n(n-1)/2+1-1/2^n