Mathematics (JEE)HardJEE Advanced

How many non-negative integer solutions are there to x + y + z + w = 12 with x ≤ 4?

  1. A. 455
  2. B. 335
  3. C. 220
  4. D. 330

Correct answer: B. 335

Total solutions are C(15,3) = 455. Those with x ≥ 5 correspond (via x' = x − 5) to solutions of x' + y + z + w = 7, numbering C(10,3) = 120. So 455 − 120 = 335. Option 455 ignores the bound on x.

More Permutations, Combinations and Probability questions

Exams that ask this topic