Mean babysitter

Medium
Combinatorics Counting

Problem

10 kids are really hungry! Their babysitter has 12 units of food to give. However, she decides she only wants to give 4 of the children food. How many ways can she distribute the food units such that 6 of the children are hungry (receive no food), and the other 4 children receive at least 1 unit of food each?

Original Problem Link: Click here

Solution

Step 1: Understanding the Required Tasks

To distribute the food, we need to:

  1. Choose 4 children who will receive food (equivalently, choose 6 children who won’t).
  2. Distribute 12 units of food among these 4 children, ensuring that each child gets at least 1 unit.

Step 2: Calculating the Number of Ways

Step 1: Choosing 4 Children

Since we need to select 4 children out of 10, the number of ways to do this is:

(since choosing 4 to receive food is the same as choosing 6 to not receive food).

Step 2: Distributing the Food

Let the food received by the four chosen children be represented as:

where represent the food units received by each of the 4 children.

Since each child must get at least 1 unit, we make the substitution:

Rewriting the equation:

which simplifies to:

This is now a classic "stars and bars" problem, where we distribute 8 extra food units among 4 children. The number of ways to do this is:

Step 3: Computing the Final Answer

The total number of valid distributions is:

Therefore, the total number of ways is