S1:=1+3+5+7+−−−−+(2n−1)
[nthterm;a+(n−1)d;nthterm=1+(n−1)2=(2n−1)]
Sum to n terms of an AP: n21stterm+Lastterm;
S1=n2(1+2n−1)=(n2)
S2=1+5+9+13+−−−−+(2n−3)
[Here a = 1; d = 4; no. of terms = n/2, assuming in S1, number of terms are even]
S2=n22(1+2n−3)=n4×(2n−2)=(n)(n−1)2
So, S1S2=(n2)frac(n)(n−1)2=2n(n−1)
Now let us consider, the number of terms in S1 are odd;
Then number of terms in S2 would be =(n+1)2
Last term here =1+((n+1)2−1)4=1+2n+2−4=2n−1
S2=(n+1)2)2×(1+2n−1)=(n)(n+1)2
So, in this case the ratio S1S2=2n(n+1)