• S
    SwaseekhGATE Preparation
General
  • Dashboard
  • Syllabus
  • Questions
  • Aptitude
  • Mock Tests
  • TCS NQT 2026
Account
  • Pricing
  • Contact
  1. GATE CS
  2. PYQs
  3. Discrete Mathematics

What is the minimum number of ordered pairs of non-negative integers that should be chosen to ensure that there are two pairs (a, b) and (c, d) in the chosen set such that a ≡ c (mod 3) and b ≡ d (mod 5)? A. 4 B. 6 C. 16 D. 24

GATE 2005 · Discrete Mathematics · Pigeonhole Principle · medium

Answer: Minimum 16 ordered pairs are needed to guarantee two with a ≡ c (mod 3) and b ≡ d (mod 5).

  1. Count distinct labels: Labels = 3 * 5 = 15. Each pair (a,b) maps to exactly one of these 15 labels.
  2. Apply the Pigeonhole Principle: k = 15 labels, r = 2 (we want two pairs with the same label). N_min = 15*(2-1)+1 = 15+1 = 16.