The arithmetic progression has a total of 2K terms, where, K is natural number.
Let the first term of the A.P be a and the common difference be d.
Last term of the A.P = a+(2K−1)d
Difference between the last term and the first term of the A.P = a+(2K−1)d −a=(2K−1)d
Difference = 27 (given)
(2K−1)d=27 ⟶ i
Now, it is given that the sum of all the odd and even terms are 40 and 55 respectively.
Odd terms : 1st term, 3rd term, 5th term, ....., (2K−1)th term
Odd terms : a, (a+2d), (a+4d), ....., (a+(2K−2)d)
Total number of odd terms = K
Sum of all the odd terms = 2K×(a+(a+(2K−2)d))=40
2K×(2a+(2K−1)d−d)=40
2K×(2a+27−d)=40 ⟶ ii
Even terms : 2nd term, 4th term, 6th term, ....., (2K)th term
Even terms : (a+d), (a+3d), (a+5d), ....., (a+(2K−1)d)
Total number of even terms = K
Sum of all the even terms = 2K×((a+d)+(a+(2K−1)d))=55
2K×(2a+27+d)=55 ⟶ iii
Divide equation iii by equation ii,
(2a+27)−d(2a+27)+d=4055=811
8(2a+27)+8d=11(2a+27)−11d
3(2a+27)=19d
2a+27=319d ⟶ iv
Insert the value of (2a+27) in equation ii from equation iv,
2K×(319d−d)=40
2K×(316d)=40
Kd=15 ⟶ v
Insert the value of d from equation v to equation i to find the value of K.
(2K−1)×K15=27
(2K−1)×5=9K
10K−5=9K
K=5
Hence, the value of K is 5.
\therefore\ The required answer is B.