.
Given the equation x + y + z = 15, how many different solutions are possible
(a) If x, y, and z are positive integers?
(b) If x, y, and z are non-negative integers?
~~~~~~~~~~~~~~~~~~
This problem is on "Stars and bars method".
See this Wikipedia article
https://en.wikipedia.org/wiki/Stars_and_bars_(combinatorics)
or my lesson
Stars and bars method for Combinatorics problems
https://www.algebra.com/algebra/homework/Permutations/Stars-and-bars-method-for-Combinatorics-problems-2.lesson
in this site.
(a) The number of different solutions is = = = 7*13 = 91. ANSWER
(b) The number of different solutions is = = = 17*8 = 136. ANSWER