Find the number of integer solutions x1+x2+x3=20 with x1≥0 x2≥1 x3≥1
is this C(20,2)?
Thank you.
Printable View
Find the number of integer solutions x1+x2+x3=20 with x1≥0 x2≥1 x3≥1
is this C(20,2)?
Thank you.
How did you get that result?
Take y2 = x2 - 1 and y3 = x3 - 1
Rephrase to x1 + (y2 + 1) + (y3 + 1) = 20 or x1 + y2 + y3 = 18
And out pops C(18+2,2). I think you have it!
thank you for your help :)
If you require all x's to be 0 or greater, the equation is ((N-1)C(K-1)).