We know that the nth term of an A.P. is tn = a + (n – 1)d.
We have:
t3 = 22
Thus, we get:
t3 = a + (3 – 1)d = 22
a + 2d = 22 …(1)
Also,
t17 = –20
Thus, we get:
t17 = a + (17 – 1)d = –20
a + 16d = –20 …(2)
On subtracting (2) from (1), we get:
a + 2d – a – 16d = 22 – (–20)
–14d = 42
d =
On putting d = –3 in (1), we get:
a + 2d = 22
a + 2(–3) = 22
a – 6 = 22
a = 22 + 6 = 28
Thus, the nth term of the given A.P. is:
tn = a + (n – 1)d = 28 + (n – 1)(–3) = 28 – 3n + 3
tn = 31 – 3n