2+[3{3^(n-1)-1}/2]
=2 + (3^n - 3)/2
=(3^n + 1)/2
=(1/2)*(3^n + 1)