an=Sn-S(n-1)
=2^n-1-[2^(n-1)-1]
=2^(n-1)
an^2=4^(n-1)
a1^2=1
a1^2+a2^2+...+an^2=(1-4^n)/(1-4)=(4^n-1)/3