The expansion of (1+52x)23 by the binomial theorem is
(1+52x)23=∑i=023(i23)(52x)i=∑i=023(i23)(52)ixi.
Comparing with i=0∑23aixi, we identify
ai=(i23)(52)i,0≤i≤23.
To find the largest coefficient, examine the ratio of successive terms:
aiai+1=(i23)(2/5)i(i+123)(2/5)i+1=i+123−i⋅52.−(1)
The sequence a0,a1,…,a23 increases while the ratio in (1) exceeds 1 and begins to decrease once the ratio falls below 1. Hence we need to solve
i+123−i⋅52>1.
Multiply both sides by 5(i+1):
2(23−i)>5(i+1).
Simplify:
46−2i>5i+5⟹46−5>7i⟹41>7i.
Therefore
i<741=5.857…
Because i is an integer, inequality (1) holds for i=0,1,2,3,4,5.
At i=5, compute one more ratio:
a5a6=623−5⋅52=618⋅52=3⋅0.4=1.2>1,
so the coefficients are still rising up to i=6.
Next, for i=6
a6a7=723−6⋅52=717⋅0.4≈0.97<1,
meaning the sequence starts decreasing after i=6. Hence the maximum coefficient occurs at
r=6.
Final answer: r=6.