已知数列an的前n项和为Sn,a1=1,Sn=2an+1,则Sn=?