GATE / CS ARCHIVE

GATE CSE 2005 / QUESTION 44

Pigeonhole principle on residue pairs

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

GATE 2005, Q44 2 marks · MCQ
Report issue

Combinatorics & Counting

Question 44, GATE 2005: Minimum ordered pairs of nonnegative “numbers” guaranteeing two(a, b),(c, d) with a≡c mod 3 and b≡d mod 5? A4; B6; C16; D24. Explain necessary integer-domain convention.
Tap to enlarge
Your answer
Answer & solution

Answer: C (no official key was published)

Under the intended nonnegative-INTEGER interpretation, (a mod 3, b mod 5) has 3×5=15 classes. Sixteen pairs force a repeated class, while the fifteen representatives (i, j), 0≤i<3 and 0≤j<5, do not. Thus 16 (C). The paper say numbers rather than integers; arbitrary real numbers do not give fifteen residue classes, so the integer domain assumption is necessary.

Integer residues split the first coordinate into 3 classes and the second into 5, yielding 15 joint classes. Choosing 16 pairs forces a repeated class by pigeonhole; taking one representative from each class shows 15 is insufficient. This establishes exact minimality, not merely a sufficient bound. For arbitrary real numbers, residues are not limited to those 15 possibilities, so the source’s loose word “numbers” must be interpreted as integers.

Original paper, page 5