Skip to content

GATE CS 2005 Q44 — Combinatorics: Counting, Recurrence Relations, Generating Functions

Explain with AI

What is the minimum number of ordered pairs of non-negative numbers that should be chosen to ensure that there are two pairs (a,b)(a,b) and (c,d)(c,d) in the chosen set such that,  a≡cmod  3a \equiv c\mod 3   and   b≡dmod  5b \equiv d \mod 5

Choose one option
View worked solution

Answer: C

We can solve this problem using the Pigeonhole Principle.

We are looking for two chosen ordered pairs (a,b)(a, b) and (c,d)(c, d) such that:

a≡c(mod3)andb≡d(mod5)a \equiv c \pmod 3 \quad \text{and} \quad b \equiv d \pmod 5

This condition is equivalent to saying that the remainder of the first element modulo 33 and the remainder of the second element modulo 55 are identical for both pairs.

Let's define our "pigeonholes" based on the possible remainder pairs (r1,r2)(r_1, r_2) for any chosen pair (x,y)(x, y), where:

  • r1=x mod 3∈{0,1,2}r_1 = x \bmod 3 \in \{0, 1, 2\} (3 possible values)
  • r2=y mod 5∈{0,1,2,3,4}r_2 = y \bmod 5 \in \{0, 1, 2, 3, 4\} (5 possible values)

The total number of distinct remainder pairs (pigeonholes) is:

3×5=153 \times 5 = 15

By the Pigeonhole Principle, if we choose nn ordered pairs (pigeons), we need n>15n > 15 to guarantee that at least two pairs fall into the same remainder category (pigeonhole).

Thus, the minimum number of ordered pairs required is:

15+1=1615 + 1 = 16

Therefore, the correct option is C.

Free practice · Your answers on this page are not saved.

Published
Report a correction
Keep exploringMore Combinatorics: Counting, Recurrence Relations, Generating Functions questions