The sum to n terms of the AP 5, 2, -1, -4, -7, ... is
The sum of n terms of an A.P with first term as a and common difference d is
Sn=n2[2a+(n−1)d]
Here, a=5 and d=2−5=−3
=(n2)[2(5)+(n−1)(−3)]=n2[10−3n+3]=n2[13−3n]
Find the sum to n terms of the AP: 5, 2, -1, -4, -7, ...