The sum of first n terms of an AP is (5n – n2). The nth term of the AP is

Let Sn denotes the sum of first n terms of an AP.


Sum of first n terms = Sn = 5n - n2


Then nth term is given by: an = Sn - Sn - 1


an = (5n - n2) - [5(n - 1) - (n - 1)2]


= (5n - n2) - [5n - 5 - (n2 + 1 - 2n)]


= 5n - n2 - 5n + 5 + n2 + 1 - 2n


= 6 - 2n

7