Mathematics (JEE)HardCodeforces Div2 D

How many entries of row 1000 of Pascal's triangle (C(1000, k) for k = 0 to 1000) are odd?

  1. A. 64
  2. B. 256
  3. C. 1024
  4. D. 937

Correct answer: A. 64

By Lucas' theorem the number of odd entries is 2 to the number of 1-bits of 1000, which is 2^6 = 64.

More Permutations, Combinations and Probability questions

Exams that ask this topic