The coefficient of $x^{101}$ in the expansion of the expression $$(5+x)^{500}+ x(5+x)^{499}+x^2(5+x)^{498}+\cdots+x^{500}$$ is?
My attempt:- The coefficient of $x^{101}$ in the first term is $C(500,102)$,the second term is $C(499,101)$ and so on
so the general coefficient of the term with $x^{101}$ is $C(500-r,102-r)$ .
My question is how do I add these coefficients up?
source :- Jee mains 2022
Note that the given expression is $$\frac{(5+x)^{501}-x^{501}}{5}$$
So we can calculate the coefficient of $x^{101}$ of this expression which is $$5^{399} \cdot \binom{501}{101}$$ by the Binomial formula.
Note: To see how the given expression is simplified, you can notice that it is the same thing as $$\sum_{r=0}^{500} x^{500-r}(5+x)^{r} =x^{500}\cdot \sum_{r=0}^{500} \left(\frac{5+x}{x}\right)^r$$ which is easily summed as a geometric sum. More generally, $$\sum_{r=0}^n a^{n-r}b^r = \frac{a^{n+1}-b^{n+1}}{a-b}$$