Combination with repetition: Finding the number of negative, zero, and positive integer solutions of an equation

50 Views Asked by At

Equation:

$x_1+x_2+x_3+x_4 = 32$

Constraint:

$x_i => -2$ where 1 <= i <= 4

What is the strategy to solve this through combination with repetition?