Skip to main content

GATE CSE 2022Combinatory › Counting Principles & PigeonholeVerified

GATE CSE 2022 PYQ: The number of arrangements of six identical balls in three identical bins is _____________ .

The number of arrangements of six identical balls in three identical bins is _____________ .

    Answer

    7

    Approach

    Because both the balls and the bins are identical, the arrangement is determined only by the multiset of occupied-bin counts. Equivalently, we need the number of integer partitions of 6 using at most 3 parts, where empty bins are allowed.

    The valid distributions are (6,0,0), (5,1,0), (4,2,0), (4,1,1), (3,3,0), (3,2,1), and (2,2,2). Since the bins are identical, permutations of these triples are not counted separately. Hence the number of arrangements is 7.

    Reviewed by GateIQ Editorial Team: IIT & IISc Alumni.