Find the number of integer solutions to the equation:
$x(1) + x(2) + ··· + x(11) = 49 $
such that $0 \leqslant x(r) \leqslant 8$ for each $r= 1, 2,...,8$
I Used Principle Of Inclusion And Exclusion To get the following:
When any $1$ of the $x(r)$ are $ \geqslant 9$
When any $2$ of the $x(r)$ are $\geqslant 9$ ...
Until we are at-
When any $6$ of the $x(r) \geqslant 9$
And After This We Can't Proceed because the RHS would become negative ,
So I Am not sure what to do next...
Edit: I Want the Solution From The Ball And Box Principle And P.I.E. Contrary as Mentioned Below In The Comments