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?
- A. 1701
- B. 350
- C. 1351
- 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
- How many equivalence relations on {1, 2, …, 7} have exactly 3 equivalence classes, each with at least 2 elements?
- How many partial orders on the labelled set {1, 2, 3, 4} have exactly one maximal element? (There are 19 partial orders on a labelled…
- How many injective functions f : {1, 2, 3, 4} → {1, 2, …, 7} satisfy f(i) ≠ i for every i?
- How many relations R on {1, 2, 3} have the property that the transitive closure of R is the full relation {1, 2, 3} × {1, 2, 3} (all 9…
- How many functions f : {1, …, 6} → {1, …, 6} have an image with exactly 3 elements and no fixed point (f(x) ≠ x for all x)?
- How many surjective functions f : {1, …, 6} → {a, b, c} satisfy f(1) = f(2)?