In an A.P.Â
Given a = 8, an = 62, Sn = 210, find ‘n’ and ‘d’.
Here a = 8
Sn = 210
We know that, an = a + (n - 1)d
  62 - 8 = (n - 1)d
  54 = (n -d)d          ...(i)
And,  Sn =  '[ 2a - (n - 1) d
 210 = [ 2 x 8 + (n - 1) d]
 420 = n[16 +(n - 1)d] .......(ii)
From (i) and (ii), we get
420 Â = n[ 16 + 54]
  420  = 70n
Putting this value of n in (i) we get
54 = (6 -1) x d
   5d = 54
   d =Â
Hence, Â n = 6 and d =Â
The first term of an AP is 5, the last term is 45 and the sum is 400. Find the number of terms and the common difference.