Question
Question: the number of triplets (x,y,z) which satisfy x+y+z = 15 where x,y,z are whole numbers is...
the number of triplets (x,y,z) which satisfy x+y+z = 15 where x,y,z are whole numbers is
Answer
136
Explanation
Solution
This is a stars and bars problem. We want to find the number of non-negative integer solutions to x+y+z=15. The formula is (k−1n+k−1), where n=15 and k=3. So, the number of solutions is (3−115+3−1)=(217)=217×16=136.
