n=log2(Sn+4)-2
log2(Sn+4)=n+2
Sn+4=2^(n+2)
Sn=4*2^n-4
S(n-1)=4*2^(n-1)-4
an=Sn-S(n-1)=4*2^n-4*2^(n-1)=2*2^n=2^(n+1)