3+2(2^(n-1)-1)/(2-1)
=3+2(2^(n-1)-1)
=3+(2^n-2)
=2^n+1