The sum ∑mi=0(10i)(20m−i), where (pq)=0 if p>q, is maximum when m is equal to
15
∑mi=0(10i)(20m−i) is the coefficient of xm in the expansion of (1+x)10(x+1)20,
⇒ ∑mi=0(10i)(20m−i) is the coefficient of xm in the expansion of (1+x)30
i.e. ∑mi=0(10i)(20m−i)=30Cm=(30m) . . . (i)
and we know that, (nr) is maximum, when
(nr)max={r=n2if n ϵ evenr=n±12if n ϵ odd
Hence, (30m) is maximum when m = 15