The correct option is A
(1/2)(k−i−1j−i−3+1)(i+1+k)
First term = i+1
Second term = j-2
Last term = k
As the difference between first term and second term gives common difference,
d=a2−a1
d=(j−2)−(i+1)=j−i−3
In an AP, nth term is equal to,
an=a+(n−1)d
As k is last term,
⇒k=i+1+(n−1)(j−i−3)Thus n=(k−i−1)(j−i−3)+1
S= n2(First term + last term)
where S is the sum of the nth terms
Put n=(k−i−1j−i−3)+1
The Sum of n tems will be as the first term is i+1 and the last term is k
Sum is equal to (12)(k−i−1j−i−3+1)(i+1+k)
Hence, option a is correct.