Consider the equation $x_1+x_2+x_3+x_4 = 35$. How many different solutions does this equation have if all the variables must be positive integers?
I don't understand this problem.I don't know whether to solve it using bit strings concept or combinations. Someone help!
Let us take each $x_i=a_1+1$
$x_1+x_2+x_3+x_4=35$
$\therefore a_1+a_2+a_3+a_4=31$ ,where each $a_i$ is non-negative.
Now using the stars and bars method the answer is - $\binom{31+4-1}{4-1}\\ =\binom{34}{3}$