Sn=n^2+2n
S1=A1=3
S2=A1+A2=8 A2=5
S3=S2+A3=15 A3=7
B2=S1=3
B4=A2+A3=12
B4=B2*q*q q=2
B1=3/2
Bn=3/2*2^(n-1)
Tn=B1(1-q^n)/(1-q)=3/2*(2^n-1)
Sn=n^2+2n
S1=A1=3
S2=A1+A2=8 A2=5
S3=S2+A3=15 A3=7
B2=S1=3
B4=A2+A3=12
B4=B2*q*q q=2
B1=3/2
Bn=3/2*2^(n-1)
Tn=B1(1-q^n)/(1-q)=3/2*(2^n-1)