Mathematics (JEE)HardICPC regional

For how many k from 0 to 300 is C(300, k) NOT divisible by 3?

  1. A. 289
  2. B. 64
  3. C. 12
  4. D. 52

Correct answer: C. 12

By Lucas' theorem C(300,k) is not divisible by 3 exactly when each base-3 digit of k is at most the matching digit of 300 (base 3 digits 1,0,2,0,1,0), giving 2*1*3*1*2*1 = 12.

More Permutations, Combinations and Probability questions

Exams that ask this topic