If the tth term of an AP is s and sth term of the same AP is t, then an is
t + s - n
Given,
at = a + (t - 1)d = s . . . (i)
and as = a + (s - 1)d = t . . . (ii)
Now,
(t - s) = a + (s - 1)d - a - (t - 1)d
⇒ t - s = (s - t)d
[from Eqs. (i) and (ii)]
⇒ (t - s) = -(t - s)d
⇒ d = - 1
From Eq. (i), we get
a + (t - 1) (-1) = s
⇒ a = s + t - 1
Now, an = a + (n - 1) d
= s + t - 1 + (n - 1) × (-1)
= s + t - 1 - n + 1
∴ an = s + t - n