If $ p + q + r = 10 $, find the number of possible combinations satisfying the equation. ( $p,q,r ≥ 0$)
PS - As suggested by Brian Moehring, I used the 'stars and bars' method.
We need the sum as $10$. We have to add $1$ ten times, to get 10. If we add two bars i.e., we are dividing them into p, q and r. So now in total there are $10 \ 1's$ and $2$ bars. We have to find the number of ways to arrange those $2$ bars in $12$ places. Hence, there are $\binom{12}{2}$ ways of selecting $p,\ q$ and $r$ to satisfy the equation.