How many terms of the AP: 21, 18, 15, ... must be added to get the sum 0?
We know that Sn=n2[2a+(n−1)d]
=n2(2×21+(n−1)×3)
=n2(42−3n+3)
=n2(45−3n)
=45n2−3n22
3n2−45n=0
n(3n−45)=0
n=0 or 3n−45=0
3n=45⇒n=15
On solving the quadratic equation, we get n = 15 or 0.
So, 15 terms must be added to get the sum 0.