Given:
(x5+25)n
General term of given expansion is
Tr+1=∑nr=0nCr(x5)n−r(25)r
9th term When r=8
T8+1=nC8(x5)n−8(25)8
T9=nC8xn−828(15)8+n−8
T9=nC8xn−828(15n)
As we know that in the binomial expansion the middle term has the greatest value
So if n is even ,then n2=9⇒n=18
Hence
T9=18C8x1028(1518)
Coefficient of above term is 18C828(1518) ..... (1)
When n is odd then 9th term can be middle term of n+12=9 and n+32=9
9th term can be middle term of n=17 and n=15
When n=17
T9=17C8x928(1517)
Coefficient 17C828(1517) ...... (2)
When n=15
T9=15C8x728(1515)
Coefficient 15C828(1515) ..... (3)
Comparing equations (2) and (3), we get
15C828(1515) is greatest
But we should also compare eq (3) and (1) ,we get
15C828(1515) is greatest
Hence n=15