a1=S1=5+3=8;
a2=S2-S1=(5x4+3x2)-8=18;
a3=S3-S2=5x9+3x3-(5x4+3x2)=28
an=Sn-S(n-1)=5n^2+3n-[5(n-1)^2+3(n-1)]=10n-2