Mathematics (JEE)ModerateCodeforces Div2 D
How many integer triples (a, b, c) satisfy a + b + c = 24 with 2 <= a, b, c <= 12?
- A. 190
- B. 55
- C. 82
- D. 91
Correct answer: C. 82
Shift each xi by subtracting 2 to get yi in [0,10] with sum 18; inclusion-exclusion over the variables exceeding 10 gives 82.
Practise more Permutations, Combinations and Probability questionsPermutations, Combinations and Probability: notes and key points
More Permutations, Combinations and Probability questions
- How many 6-tuples of integers (y1, ..., y6) satisfy y1 + ... + y6 = 12 with 0 <= yi <= 4 for every i?
- 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.)