GATE Computer ScienceVery hardGATE CS (PYQ pattern)
In how many ways can 4 seats be chosen from 12 seats arranged in a circle so that no two chosen seats are adjacent?
- A. 126
- B. 105
- C. 70
- D. 141
Correct answer: B. 105
Formula n/(n − k)·C(n − k, k) = 12/8 · C(8,4) = 105. The line formula C(9,4) = 126 ignores that seats 1 and 12 are neighbours.
More Discrete Mathematics questions
- How many connected labelled simple graphs on the vertex set {1, 2, 3, 4, 5} have exactly 5 edges?
- How many assignments to x₁, …, x₈ satisfy x₁ ⊕ x₂ ⊕ … ⊕ x₈ = 1 together with ¬(x₁ ∧ x₂) and ¬(x₃ ∧ x₄)?
- How many assignments to a, b, c, d, e, f satisfy (a ∨ b) ∧ (a → c) ∧ (b → c) ∧ (c → d) ∧ (e ∨ f) ∧ (d → ¬e)?
- Using only the connective → and the two variables p and q (no constants), how many pairwise non-equivalent propositions can be written?
- A Boolean function f(x, y, z) satisfies f(x, y, z) = f(y, x, z) for all inputs. How many such functions exist?
- How many functions f : {1, 2, 3, 4} → {1, 2, 3, 4} satisfy f(f(x)) ≠ x for every x?