Mathematics (JEE)HardGATE CS
How many ordered triples of integers (a, b, c) satisfy a + b + c = 7 with 0 <= a, b, c <= 4?
- A. 36
- B. 18
- C. 6
- D. 12
Correct answer: B. 18
Shift each xi by subtracting 0 to get yi in [0,4] with sum 7; inclusion-exclusion over the variables exceeding 4 gives 18.
Practise more Permutations, Combinations and Probability questionsPermutations, Combinations and Probability: notes and key points
More Permutations, Combinations and Probability questions
- How many partitions of 80 have at most 4 parts? (Order of parts is ignored.)
- How many partitions of 50 into exactly 4 distinct positive parts exist? (Order of parts is ignored.)
- How many partitions of 30 use only triangular numbers 1, 3, 6, 10, 15, 21, 28 as parts, with repetition allowed?
- How many partitions of 42 use only the part sizes 2, 3 and 7, with repetition allowed?
- How many compositions (ordered sequences of positive integers) of 10 use only the parts 1, 3 and 4?
- How many distinct arrangements of the letters of COMMITTEE have no two E's next to each other?