Mathematics (JEE)HardCodeforces Div2 D
How many entries of row 500 of Pascal's triangle (C(500, k) for k = 0 to 500) are odd?
- A. 512
- B. 128
- C. 64
- D. 437
Correct answer: C. 64
By Lucas' theorem the odd entries number 2 to the number of 1-bits of 500 = 111110100 in binary, which is 2^6 = 64.
Practise more Permutations, Combinations and Probability questionsPermutations, Combinations and Probability: notes and key points
More Permutations, Combinations and Probability questions
- 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?
- How many of the following four statements are true? (i) The number of partitions of 10 into exactly 3 parts is 8. (ii) The number 1000 has…
- How many of the following four statements are true? (i) The number of non-negative integer triples with sum 7 is 36. (ii) The number of…