Question
Question: The coefficient of $x^5$ in the expansion of $(1 + x)^{21} + (1 + x)^{22} + ... + (1 + x)^{30}$ is...
The coefficient of x5 in the expansion of (1+x)21+(1+x)22+...+(1+x)30 is

Answer
682017
Explanation
Solution
The problem asks for the coefficient of x5 in the sum S=(1+x)21+(1+x)22+...+(1+x)30.
- Recognize as a Geometric Progression: The given sum is a geometric progression with first term a=(1+x)21, common ratio r=(1+x), and number of terms N=30−21+1=10.
- Apply GP Sum Formula: The sum S=r−1a(rN−1) becomes: S=(1+x)−1(1+x)21((1+x)10−1)=x(1+x)31−(1+x)21.
- Find Coefficient of x5: We need the coefficient of x5 in x(1+x)31−x(1+x)21. This is equivalent to finding the coefficient of x6 in (1+x)31 minus the coefficient of x6 in (1+x)21.
- Use Binomial Theorem: The coefficient of xk in (1+x)n is (kn). So, the coefficient of x5 in S is (631)−(621).
- Calculate Binomial Coefficients: (631)=6×5×4×3×2×131×30×29×28×27×26=736281. (621)=6×5×4×3×2×121×20×19×18×17×16=54264.
- Subtract to find the final coefficient: 736281−54264=682017.