GATE Computer ScienceHardGATE CS (PYQ pattern)

For how many integers n with 1 ≤ n ≤ 200 is the divisor lattice (Dₙ, |) a chain or a Boolean algebra (or both)?

  1. A. 183
  2. B. 136
  3. C. 122
  4. D. 75

Correct answer: B. 136

Dₙ is a chain iff n = 1 or a prime power (1 + 46 primes + 14 higher prime powers = 61) and Boolean iff n is square-free (122). Both: n = 1 and the 46 primes = 47. Union: 61 + 122 − 47 = 136 (forgetting the overlap gives 183).

More Discrete Mathematics questions

Exams that ask this topic