Mathematics (JEE)HardJEE Advanced · CAT
How many integer solutions of x + y + z + w = 12 satisfy 1 ≤ x, y, z, w ≤ 5?
- A. 165
- B. 80
- C. 220
- D. 85
Correct answer: D. 85
Put y_i = x_i − 1 (sum 8, each y_i ≤ 4). Stars and bars gives C(11, 3) = 165. Subtract the 4 × C(6, 3) = 80 solutions with some y_i ≥ 5 (at most one can be so). 165 − 80 = 85.
Practise more Permutations, Combinations and Probability questionsPermutations, Combinations and Probability: notes and key points
More Permutations, Combinations and Probability questions
- In how many ways can 6 distinct balls be put into 3 distinct boxes so that no box is empty?
- Five boys and five girls sit around a round table (rotations are the same arrangement). In how many ways can they be seated so that no two…
- How many permutations of {1, 2, 3, 4, 5} have exactly one fixed point (a position i with p(i) = i)?
- How many permutations of {1, 2, 3, 4, 5, 6} have exactly two fixed points?
- How many lattice paths from (0, 0) to (6, 4) using unit steps East and North never rise above the line y = x?
- How many lattice paths from (0, 0) to (5, 5) with unit steps East and North stay weakly below the diagonal y = x at every point?