Mathematics (JEE)ModerateCodeforces Div2 D
What is C(3000, 1500) mod 1009, where 1009 is prime?
- A. 856
- B. 858
- C. 703
- D. 656
Correct answer: C. 703
Lucas' theorem in base 1009 with 3000 = (2,982) and 1500 = (1,491) gives C(2,1)*C(982,491) mod 1009 = 703.
Practise more Permutations, Combinations and Probability questionsPermutations, Combinations and Probability: notes and key points
More Permutations, Combinations and Probability questions
- What is the exponent of 5 in the prime factorisation of C(1000, 500)?
- How many entries of row 1000 of Pascal's triangle (C(1000, k) for k = 0 to 1000) are odd?
- What is the remainder when 30!/(10! 10! 10!) is divided by 1000? (This counts the ways to split 30 labelled items into three ordered…
- For how many k from 0 to 300 is C(300, k) NOT divisible by 3?
- How many positive divisors does N = 44452800 have?
- What is the sum of all positive divisors of N = 6220800, including 1 and N itself?