GATE / CS ARCHIVE

GATE CSE 2003 / QUESTION 34

Balls with a lower bound per bag

Discrete Mathematics · Combinatorics & Counting · Full GATE CSE 2003 paper

GATE 2003, Q34 2 marks · MCQ
Report issue

Combinatorics & Counting

Question 34, GATE 2003: Distribute m identical balls among n distinct bags, each containing at least k balls, where k≥1 and m≥kn. How many distributions exist? A. binomial(m−k,n−1); B. binomial(m−kn+n−1,n−1); C. binomial(m−1,n−k); D. binomial(m−kn+n+k−2,n−k). The kn terms in the blurred GFG options are read using the cleaner alternate reproduction.
Tap to enlarge
Your answer
Answer & solution

Answer: B (no official key was published)

1. Write the bag counts as xᵢ=k+yᵢ. Then every yᵢ≥0 and their sum is M=m−kn. Encoding M identical stars and n−1 separators gives M+n−1 positions, of which n−1 are separators. If m=kn the formula becomes binomial(n−1,n−1)=1, as required.

2. Put k balls into each of the n distinct bags first. There remain m−kn identical balls to distribute freely. Stars and bars gives binomial(m−kn+n−1,n−1), B, for m≥kn.

Original paper, page 4