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=\dfrac{n}{2}[2a+(n-1)d]](https://tex.z-dn.net/?f=S_n%3D%5Cdfrac%7Bn%7D%7B2%7D%5B2a%2B%28n-1%29d%5D)
Where, a is the first term, d is the common difference.
Putting
, we get
![-25=\dfrac{n}{2}[2(-6)+(n-1)0.5]](https://tex.z-dn.net/?f=-25%3D%5Cdfrac%7Bn%7D%7B2%7D%5B2%28-6%29%2B%28n-1%290.5%5D)
![-50=n[-12+0.5n-0.5]](https://tex.z-dn.net/?f=-50%3Dn%5B-12%2B0.5n-0.5%5D)


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.