Solution

ID: past-exam-of-the-year-1-of-the-computer-science-course-of-the-university-of-oxford/2015/discrete-mathematics-continuous-mathematics-and-probability-resit/2/a/i/solution

Let be the number of objects in box . The arrangements correspond exactly to nonnegative integer solutions of . By stars and bars, place stars and separating bars in a row. The number of stars between consecutive bars records the occupancy of each distinguishable box, with adjacent bars allowing an empty box. Choosing the bar positions gives

New to topics? Read the docs here!