Find the number of non-negative integers solutions for .
This section requires Javascript.
You are seeing this because something didn't load right. We suggest you, (a) try
refreshing the page, (b) enabling javascript if it is disabled on your browser and,
finally, (c)
loading the
non-javascript version of this page
. We're sorry about the hassle.
Let the general case be:
⇒ x 1 + x 2 + … + x r = n
where n ∈ N , x 1 , x 2 , … , x r are non-negative integers.
This problem can be viewed as:
Suppose we have n objects to begin with. We want to separate them in r groups. We do so by using r − 1 sticks to segregate the objects.(Assuming the n objects are arranged in a straight line.)
The number of objects to the right of every stick (until we reach the next stick, if any) will be the number of objects in that group.
We are required to insert sticks in the gaps between objects such that a group has whole number of objects.
There are n gaps to the right of the n objects to place the sticks. And an additional r − 1 gaps are assumed to be present at the left for the case when one group has all the objects and others have none.
Thus there are r − 1 gaps to be selected from a total of n + r − 1 gaps.
The total number of ways in which this can be done = ( r − 1 n + r − 1 )
Substituting, n = 1 0 and r = 4 , we get 2 8 6 .