GATE Computer ScienceVery hardGATE CS (PYQ pattern)
14 identical sweets are distributed among 4 children A, B, C, D so that each child gets at least 1 and at most 5. In how many distributions does A get strictly more than B?
- A. 34
- B. 28
- C. 68
- D. 40
Correct answer: B. 28
All distributions: with yᵢ = xᵢ − 1 ∈ [0, 4] summing to 10: C(13,3) − 4C(8,3) + 6C(3,3) = 286 − 224 + 6 = 68. Ties A = B = a need C + D = 14 − 2a with 1 ≤ C, D ≤ 5: a = 2, 3, 4, 5 give 1, 3, 5, 3 → 12. By symmetry A > B in (68 − 12)/2 = 28.
More Discrete Mathematics questions
- How many distinct arrangements of the letters of ABRACADABRA have no two identical letters adjacent?
- How many odd numbers appear in rows 0 to 99 of Pascal's triangle (row n being C(n,0), …, C(n,n))?
- What is the exponent of the largest power of 3 dividing C(200, 100)?
- Evaluate Σ{k=0}^{10} k · C(10, k)².
- Evaluate Σ{k=0}^{10} C(10, k) · C(12, k + 3).
- In how many ways can 7 distinct people be divided into non-empty unlabelled groups so that every group has at least 2 people?