Given:
The terms of a sequence are:

To find:
The number of terms whose sum is -25.
Solution:
We have, the given sequence:

Here, the first term is -6.


Similarly,


The difference between consecutive terms are same. So, the given sequence is an arithmetic sequence with common difference 0.5.
The sum of n terms of an arithmetic sequence is:
![S_n=(n)/(2)[2a+(n-1)d]](https://img.qammunity.org/2022/formulas/mathematics/high-school/hc3wqexc72lrzn5c01nbmdy9e4mhx1w0aj.png)
Where, a is the first term, d is the common difference.
Putting
, we get
![-25=(n)/(2)[2(-6)+(n-1)0.5]](https://img.qammunity.org/2022/formulas/mathematics/college/l9yz3s4fyvnbc0jmkpy94e3is69ue0hw2a.png)
![-50=n[-12+0.5n-0.5]](https://img.qammunity.org/2022/formulas/mathematics/college/7xgt2yhk900thjdblnzbc2tx2zv9zga17w.png)


Splitting the middle term, we get



Using zero product property, we get
and

and

and

Therefore, the sum of either 5 or 20 terms is -25.