Mathematics (JEE)HardICPC regional
How many 6-tuples of integers (y1, ..., y6) satisfy y1 + ... + y6 = 12 with 0 <= yi <= 4 for every i?
- A. 6188
- B. 336
- C. 3431
- D. 1751
Correct answer: D. 1751
Shift each xi by subtracting 0 to get yi in [0,4] with sum 12; inclusion-exclusion over the variables exceeding 4 gives 1751.
Practise more Permutations, Combinations and Probability questionsPermutations, Combinations and Probability: notes and key points
More Permutations, Combinations and Probability questions
- How many integer 5-tuples (x1, ..., x5) satisfy x1 + ... + x5 = 2 with -3 <= xi <= 4 for every i?
- How many positive-or-zero-free integer 4-tuples (x1, x2, x3, x4) satisfy x1 + x2 + x3 + x4 = 30 with 1 <= xi <= 20 for every i?
- How many partitions of 40 into distinct positive parts exist? (Two partitions are the same if they differ only in the order of parts.)
- How many partitions of 50 have every part at most 5? (Order of parts is ignored.)
- How many partitions of 30 into exactly 4 positive parts exist? (Order of parts is ignored.)
- How many partitions of 60 into distinct odd parts exist? (Order of parts is ignored; each odd size may appear at most once.)