1
an=Sn-Sn-1=3^n-3^(n-1)=2 * 3^(n-1)
2
bn+1=bn+(2n-1)
bn=bn-1+(2n-3)
..
b2=b1+1
b1=-1
Sbn=Sbn-1 -1 +[1+(2n-3)](n-1)/2
Sbn-Sbn-1=(n-1)^2-1
bn=(n-1)^2-1
1
an=Sn-Sn-1=3^n-3^(n-1)=2 * 3^(n-1)
2
bn+1=bn+(2n-1)
bn=bn-1+(2n-3)
..
b2=b1+1
b1=-1
Sbn=Sbn-1 -1 +[1+(2n-3)](n-1)/2
Sbn-Sbn-1=(n-1)^2-1
bn=(n-1)^2-1