The number of arrangements of six identical balls in three identical bins is …
Topic-wise GATE CS PYQs with verified steps
GATE CSE 2022 · Q32
Time
Your answerNumerical answer
Solution
Official answer: 7
Discrete MathematicsDistributing identical balls into identical bins corresponds to finding the number of integer partitions of into at most parts (where bins can be empty).
Let the number of balls in the bins be such that .
Listing all such partitions:
There are exactly 7 distinct arrangements.
Try the question first, then check your work.
Examiner trap
This is equivalent to the number of partitions of integer 6 into at most 3 parts.
This Discrete Mathematics previous year question is Q32 of the GATE CSE 2022 paper. Find more GATE CSE PYQs on Discrete Mathematics in Engineering Mathematics, or browse all GATE CSE PYQs.
Free diagnostic
Take the 20-minute diagnostic: the 3 topics that cost you the most marks, and a rank range. Or sit 5 related Discrete Mathematics PYQs now with no account.
An official question by email at 7 AM IST, with a link to its verified solution. Unsubscribe in one click.
Discrete Mathematics has 50 GATE CSE PYQs across 23 papers from 2011 to 2026. 10 of them are 1-mark NAT questions like this one, and GATE CSE 2022 has 3.
How GATE tests Discrete MathematicsIndependent practice explanation verified by the GateAI team. GATE is conducted by the IITs; question text follows the official paper.