document.write( "Question 1183744: Given the equation x + y + z = 15, how many different solutions are possible \r
\n" ); document.write( "\n" ); document.write( "(i) If x, y, and z are positive integers?\r
\n" ); document.write( "\n" ); document.write( "(ii) If x, y, and z are non-negative integers?
\n" ); document.write( "

Algebra.Com's Answer #814190 by ikleyn(52803)\"\" \"About 
You can put this solution on YOUR website!
.
\n" ); document.write( "Given the equation x + y + z = 15, how many different solutions are possible
\n" ); document.write( "(a) If x, y, and z are positive integers?
\n" ); document.write( "(b) If x, y, and z are non-negative integers?
\n" ); document.write( "~~~~~~~~~~~~~~~~~~\r
\n" ); document.write( "
\n" ); document.write( "
\n" ); document.write( "\n" ); document.write( "This problem is on \"Stars and bars method\".\r
\n" ); document.write( "
\n" ); document.write( "
\n" ); document.write( "\n" ); document.write( "See this Wikipedia article
\n" ); document.write( "https://en.wikipedia.org/wiki/Stars_and_bars_(combinatorics)\r
\n" ); document.write( "
\n" ); document.write( "\n" ); document.write( "or my lesson \r
\n" ); document.write( "
\n" ); document.write( "\n" ); document.write( "Stars and bars method for Combinatorics problems \r
\n" ); document.write( "
\n" ); document.write( "\n" ); document.write( "https://www.algebra.com/algebra/homework/Permutations/Stars-and-bars-method-for-Combinatorics-problems-2.lesson\r
\n" ); document.write( "
\n" ); document.write( "\n" ); document.write( "in this site.\r
\n" ); document.write( "
\n" ); document.write( "
\n" ); document.write( "\n" ); document.write( "
\r\n" );
document.write( "(a)  The number of different solutions is  \"C%5B15-1%5D%5E%283-1%29\"    = \"C%5B14%5D%5E2\" = \"%2814%2A13%29%2F2\" = 7*13 = 91.     ANSWER\r\n" );
document.write( "\r\n" );
document.write( "\r\n" );
document.write( "(b)  The number of different solutions is  \"C%5B15%2B3-1%5D%5E%283-1%29\" = \"C%5B17%5D%5E2\" = \"%2817%2A16%29%2F2\" = 17*8 = 136.    ANSWER\r\n" );
document.write( "
\r
\n" ); document.write( "
\n" ); document.write( "\n" ); document.write( "
\n" ); document.write( "
\n" );