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

- November 14th 2011, 03:34 PMtinabakerFind the number of integer solutions
Find the number of integer solutions x1+x2+x3=20 with x1≥0 x2≥1 x3≥1

is this C(20,2)?

Thank you.

- November 14th 2011, 03:54 PMTKHunnyRe: Find the number of integer solutions
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! - November 14th 2011, 04:03 PMPlatoRe: Find the number of integer solutions
- November 14th 2011, 04:06 PMtinabakerRe: Find the number of integer solutions
thank you for your help :)

- November 24th 2011, 06:52 PMCaramelCardinalRe: Find the number of integer solutions
If you require all x's to be 0 or greater, the equation is ((N-1)C(K-1)).