Mathematics (JEE)HardJEE Advanced · CAT

How many integer solutions of x + y + z + w = 12 satisfy 1 ≤ x, y, z, w ≤ 5?

  1. A. 165
  2. B. 80
  3. C. 220
  4. 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.

More Permutations, Combinations and Probability questions

Exams that ask this topic