The number of distinct terms in the expansion of (x+2y−3z+5w−7u)n is :
Number of terms in the given expansion is nothing but the non-negative integral solutions of the equation:
a+b+c+d+e=20,
where a,b,c,d,e are powers of x,y,z,w,u respectively.
Total number of non-negative integral solutions will be
n+5−1C5−1=n+4C4
⇒n+4C4=(n+4)(n+3)(n+2)(n+1)4×3×2×1
Number of distinct terms in the given expansion will be
(n+4)(n+3)(n+2)(n+1)24