GATE Computer ScienceEasyGATE CS (PYQ pattern)

In how many ways can 8 distinct objects be placed into 4 identical boxes, no box empty, so that objects 1 and 2 are in different boxes?

  1. A. 1701
  2. B. 350
  3. C. 1351
  4. D. 1050

Correct answer: C. 1351

All placements: S(8,4) = 1701. Those with 1 and 2 together: treat {1,2} as one object, S(7,4) = 350. Answer 1701 − 350 = 1351.

More Discrete Mathematics questions

Exams that ask this topic