Mathematics (JEE)HardCodeforces Div2 D

What is the sum of C(20, k)^2 for k = 0 to 19, taken modulo 1009?

  1. A. 35
  2. B. 36
  3. C. 224
  4. 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.

More Permutations, Combinations and Probability questions

Exams that ask this topic