Any one of the four variables can take values from zero to 20 and hence we construct a polynomial in a variable (say x) with x raised to different powers which would constitute the values that any one variable can take when the equation is solved in the manner indicated. We, thus, consider the product expression

(1 + x + x^{2} + ... + x^{20})(1 + x + ... + x^{20})

(1 + x + ....+ x^{20})(1 + x + ...+ x^{20})

There are four factors since there are four variables. If we take x^{4} in the first factor, x^{5} in the second, x^{8} in the third, then we take the term x3 in the fourth so that the sum of the powers (4 + 5 + 8 + 3 = 20) is 20. It is then we say that there is a solution corresponding to x = 4, y = 5, z = 8, w = 3. Hence, the number of solutions in the manner required is

Coefficient of x^{20} in (1 + x + ....+ x^{20})^{4}

= Coefficient of x^{20 }in (1 - x^{21}/1 - x)^{4}

= Coefficient of x^{20} in (1 - x^{21})^{4}(1 - x)^{-4}

= Coefficient of x^{20} in (1 - x)^{-4}

=^{ 23}C_{3}

**[Note:** In (1 - x)^{-4} coefficient of x^{n} is (n + 3)C_{3}]