NVAMediumJEE 2023Applications of P&C

JEE Mathematics 2023 Question with Solution

The number of ways of giving 2020 distinct oranges to 33 children such that each child gets at least one orange is:

Answer

Correct answer:3483638676

Step-by-step solution

Standard Method

Given: 2020 oranges are to be given to 33 children, with each child getting at least one orange.

Find: The number of ways of distribution.

The solution states:

x+y+z=20,x,y,z1x + y + z = 20, \quad x,y,z \ge 1

and then concludes the count is

(192)\binom{19}{2}

However, that counting corresponds to distributing identical objects, whereas the oranges here are distinct. For distinct oranges, each orange can be assigned to any one of the 33 children.

Total assignments without restriction:

3203^{20}

Subtract assignments where at least one child gets no orange using inclusion-exclusion:

  • If one specified child gets none, the oranges can be distributed among the remaining 22 children in
2202^{20}

ways. Since there are 33 choices of the omitted child, subtract

32203 \cdot 2^{20}

Add back assignments where two specified children get none. Then all 2020 oranges go to the remaining one child, which gives

120=11^{20} = 1

way for each choice. There are

(32)=3\binom{3}{2} = 3

such choices, so add

33

Therefore,

Required number of ways=3203220+3=34867844013145728+3=3483638676\begin{aligned} \text{Required number of ways} &= 3^{20} - 3\cdot 2^{20} + 3 \\ &= 3486784401 - 3145728 + 3 \\ &= 3483638676 \end{aligned}

Therefore, the number of ways is 34836386763483638676.

Why the extracted combinatorial step is insufficient

Given: the solution uses

x+y+z=20,x,y,z1x + y + z = 20, \quad x,y,z \ge 1

and counts

(192)\binom{19}{2}

This method counts only how many triples

(x,y,z)(x,y,z)

are possible, where xx, yy, and zz are the numbers of oranges received by the three children.

But once a triple such as

(x,y,z)=(5,7,8)(x,y,z) = (5,7,8)

is fixed, the oranges are still distinct, so we must also count how many different sets of actual oranges go to each child. Hence the stars-and-bars count alone is not the final answer.

That is why the correct result must be obtained by counting onto functions from the set of 2020 distinct oranges to the set of 33 children, which gives

3203220+3=34836386763^{20} - 3\cdot 2^{20} + 3 = 3483638676

Common mistakes

  • Using (192)\binom{19}{2} as the final answer. This counts distributions of identical oranges, not distinct oranges. For distinct objects, count assignments of each orange to a child and apply inclusion-exclusion.

  • Forgetting the condition that each child gets at least one orange. Counting all assignments as 3203^{20} includes cases where one or more children receive no orange. Remove those cases using inclusion-exclusion.

  • Subtracting 32203\cdot 2^{20} but not adding back the overlap. Cases where two children get no orange are subtracted twice, so they must be added back as the intersection terms.

Practice more Applications of P&C questions

Get unlimited AI-adaptive practice, mastery tracking, and an AI tutor that explains every step — free to start.

Related questions