A(5)=13,A(6)=21,A(7)=31.B(3)=−3. However I think the problem is not very correct. Actually may be it was meant, A=Σ(n2−3n+3). Hence A=Σn2−3Σn+Σ3=6n(n+1)(2n+1)−32n(n+1)+3n =3n(n2−3n+5). And B is given by Σ(−1)nn. For this let the sum be upto 2n terms. Then subtracting Σn we get the sum as −2(1+3+⋯+2n−1)=−2n2 . Hence required sum is −2n2=B−22n(2n+1)⇒B=n. If number of terms is 2n+1, then B=n−(2n+1)=−n−1.
Comments