Mathematics (JEE)HardCodeforces Div2 D

What is C(200, 100) mod 97, where 97 is prime?

  1. A. 20
  2. B. 22
  3. C. 40
  4. D. 36

Correct answer: C. 40

Lucas' theorem in base 97 with 200 = (2,6) and 100 = (1,3) gives C(2,1)*C(6,3) = 2*20 = 40 mod 97.

More Permutations, Combinations and Probability questions

Exams that ask this topic