Given sequence is 54,51,48,…
Here, a=54,d=51−54=−3
Let n terms are required to give the sum 513 . Sn=513 ⇒2n[2a+(n−1)d]=513 ⇒2n[2×54+(n−1)(−3)]=513 ⇒n(108−3n+3)=513×2 ⇒−3n2+111n=1026 ⇒−(3n2−111n+1026)=0 ⇒n2−37n+342=0 ⇒(n−18)(n−19)=0 ⇒n=18 or =19
Here, the common difference is negative and 19th term =54+(19−1)×(−3)=0
So, the sum of 18 terms as well as that of 19 terms is 513.