The number of terms in an A.P. is even; the sum of the odd terms in it is 24 and that of the even terms is 30. If the last term exceeds the first term by 1021, then the number of terms in the A.P. is:
Solutions · 1
Official solution
Let there be 2n terms with first term a, common difference d. Odd-position terms (n of them) sum to
\[n[a+(n-1)d]=24 \ \ (i)\]
Even-position terms sum to
\[n[a+d+(n-1)d]=30 \ \ (ii)\]
Subtracting: nd=6 ... (iii)
Last term exceeds first by 221: a+(2n−1)d−a=221⇒2nd−d=221⇒12−d=221⇒d=23.
From (iii): n=3/26=4. Total terms =2n=8.