Fundamentholfundamenthol
JEE Advanced2026Paper 1MATH-III
Q.

The number of ways to distribute identical red pens and identical blue pens among four persons such that each person gets pens, is _____________.

Solution

Let and denote the number of red and blue pens given to person , for . The constraints are for each , , and .

The second constraint follows automatically from and , since .

Since , we need .

Reformulation: Count non-negative integer solutions of with each .

By inclusion-exclusion, the unrestricted count is . Subtract solutions where some (set , leaving ): the number per offending variable is , and at most one variable can violate the bound at a time (since ).

Total .

Practice more MATH-III

Concept-wise practice with instant solutions on Fundamenthol.

Start practicing →