We can solve these two equations to find a1 [the first term] and d [ the common difference between terms]
9 = a1 + d(5 -1) → 9 = a1 + 4d (1)
-84 = a1 + d(32 -1) → -84 = a1 + 31d (2)
Multiply (1) by -1 and add it to (2)....this gives
-93 = 27d divide both sides by 27
-93/27 = d = -31/9
Using (1), we can find a1 thusly
9 = a1 + 4( -31/9)
81/9 = a1 - 124/9 [ add 124/9 to both sides ]
205/9 = a1
So........the 23rd term, a23, is given by
a23 = 205/9 + (-31`/9)(23 -1)
a23 = 205/9 + (-31/9)(22) = -53
