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

Determine the number of positive integers (<= 720) which are not divisible by any of 2, 3 or 5.

GATE 1995 · Discrete Mathematics · Set Theory · medium

Answer: 192

  1. Count multiples of each divisor and their intersections: |D_2| = 360, |D_3| = 240, |D_5| = 144. Pairwise: |D_6| = 120, |D_10| = 72, |D_15| = 48. Triple: |D_30| = 24.
  2. Apply inclusion-exclusion for union: = 360 + 240 + 144 - 120 - 72 - 48 + 24 = 528.
  3. Subtract from total to get count not divisible by 2, 3, or 5: Count = 720 - 528 = 192.