Mathematics (JEE)Very hardJEE Advanced

The number of integer solutions of x₁ + x₂ + x₃ + x₄ = 20 with 0 ≤ xᵢ ≤ 6 for each i is:

  1. A. 84
  2. B. 35
  3. C. 39
  4. D. 56

Correct answer: B. 35

Unrestricted: C(23, 3) = 1771. Subtract one variable ≥ 7: 4·C(16, 3) = 2240. Add back two variables ≥ 7: 6·C(9, 3) = 504. Three variables ≥ 7 is impossible (21 > 20). 1771 − 2240 + 504 = 35.

More Permutations, Combinations and Probability questions

Exams that ask this topic