GATE Computer ScienceHardGATE CS (PYQ pattern)
What is the exponent of the largest power of 3 dividing C(200, 100)?
- A. 0
- B. 2
- C. 1
- D. 4
Correct answer: C. 1
By Kummer's theorem it equals the number of carries when adding 100 + 100 in base 3. 100 = 10201₃; adding digit by digit: 1+1 = 2, 0+0 = 0, 2+2 = 11₃ (carry), 0+0+1 = 1, 1+1 = 2. Exactly one carry, so 3¹ ∥ C(200,100).
More Discrete Mathematics questions
- 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?
- In how many ways can 50 be written as an unordered sum of 2s, 5s and 10s that uses at most three 10s?
- How many words of length 8 over the alphabet {a, b, c} contain each of the letters a, b and c an even number of times (zero allowed)?
- How many binary search trees on the keys 1, 2, …, 9 have 4 at the root and 7 as the right child of the root?