Thanks for looking at the question.. I have tried to solve the problem but I'm missing something..
Problem:
How many solutions does the equation Xl + X2 + X3 = 13
have where X l , X2 , and X3 are nonnegative integers less
than 6?
- I have considered that there are
C(15,13)=105
possible solutions without considering thatX1,2,3 <= 6
.. ( .... | .... | ..*.. ) - Other thing was to find how many solutions are there with x1, x2, or x3 >= 6 that would be, if I'm not wrong
C(9,7) = 36
for one of them so for all 3 would be3*36
.. (******..| ... | ...) - Third and last I'm considering the pairs where both have atleast value >= 6..
C(3,1) = 6 .. (******.. | ****** .. | ..*..) Where are possible 3 pairs to occur ..
3 * 6
- There can't be 3 with value >= 6 So at the end I substracted ..
105 - (3*36 - 3*6) = 105 - 90 = 15
P.s solution says 6 so I'm probably wrong.. Thanks !!