If the sum Sn of n terms of an A.P. is given, then nth term an of A.P can be determined by an=Sn−Sn−1.