Total number of ways of dividing 5 identical bolls in 3 distinct boxes so that none of boxes is empty
=5−1c3−1 (Using the formula n−1cr−1)
=4c3
=4!(4−2)!2!
=4×3×2!2!2!
=6.
The number of ways to put 5 identical balls in 3 identical boxes such that no box is empty, is