Mathematics (JEE)HardCodeforces Div2 D
What is the sum of C(20, k)^2 for k = 0 to 19, taken modulo 1009?
- A. 35
- B. 36
- C. 224
- D. 34
Correct answer: A. 35
The full sum over k = 0..20 equals C(40,20) by Vandermonde; removing the k = 20 term 1 gives C(40,20) - 1 = 35 mod 1009.
Practise more Permutations, Combinations and Probability questionsPermutations, Combinations and Probability: notes and key points
More Permutations, Combinations and Probability questions
- What is 12!/(3! 4! 5!) modulo 13?
- How many entries of row 500 of Pascal's triangle (C(500, k) for k = 0 to 500) are odd?
- How many positive divisors does 10^9 have?
- How many positive divisors of N = 324000 are divisible by 6?
- How many ordered pairs of positive integers (d, e) satisfy d e = 10^6?
- How many positive divisors of N = 2^12 3^7 are perfect cubes?