Mathematics (JEE)Very hardGATE CS

What is the remainder when C(2000, 1000) is divided by 97?

  1. A. 40
  2. B. 41
  3. C. 42
  4. D. 88

Correct answer: A. 40

97 is prime. Write 2000 = 20·97 + 60 and 1000 = 10·97 + 30. Lucas' theorem gives C(2000,1000) ≡ C(20,10) · C(60,30) (mod 97), and reducing this product gives the remainder.

More Permutations, Combinations and Probability questions

Exams that ask this topic