GateAI
Discrete Mathematics

GATE CSE 2022 · Q32

NAT1 markEasy

Time

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

Your answerNumerical answer

Enter a value to check

Solution

Step-by-step verified solution

Official answer: 7

Discrete Mathematics

Distributing n=6n = 6 identical balls into k=3k = 3 identical bins corresponds to finding the number of integer partitions of 66 into at most 33 parts (where bins can be empty).

Let the number of balls in the bins be x1≥x2≥x3≥0x_1 \ge x_2 \ge x_3 \ge 0 such that x1+x2+x3=6x_1 + x_2 + x_3 = 6.

Listing all such partitions:

  1. 6+0+0=66 + 0 + 0 = 6

  2. 5+1+0=65 + 1 + 0 = 6

  3. 4+2+0=64 + 2 + 0 = 6

  4. 4+1+1=64 + 1 + 1 = 6

  5. 3+3+0=63 + 3 + 0 = 6

  6. 3+2+1=63 + 2 + 1 = 6

  7. 2+2+2=62 + 2 + 2 = 6

There are exactly 7 distinct arrangements.

Try the question first, then check your work.

Think the official key or this write-up is wrong?

Report error or challenge

Examiner trap

The misconception this question tests

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

Where do you stand for GATE?

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.

One GATE CSE PYQ every morning

An official question by email at 7 AM IST, with a link to its verified solution. Unsubscribe in one click.

Discrete Mathematics in GATE CSE

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 Mathematics

More from GATE CSE 2022

Share this solution

A plain-text card for WhatsApp or Telegram study groups.

GateAI solution cardGATE CSE 2022 · Q32 · NAT

The number of arrangements of six identical balls in three identical bins is …

Topic-wise GATE CS PYQs with verified steps

Independent practice explanation verified by the GateAI team. GATE is conducted by the IITs; question text follows the official paper.