Mathematics (JEE)HardJEE Advanced (PYQ pattern)

How many integer solutions does x₁ + x₂ + x₃ + x₄ = 20 have with 1 ≤ xᵢ ≤ 8 for every i?

  1. A. 286
  2. B. 330
  3. C. 364
  4. D. 315

Correct answer: D. 315

Put yᵢ = xᵢ − 1, so Σ yᵢ = 16 with 0 ≤ yᵢ ≤ 7. Without the upper limit there are C(19, 3) = 969 solutions; subtract those with some yᵢ ≥ 8: 4·C(11, 3) = 660, add back pairs with yᵢ, yⱼ ≥ 8: 6·C(3, 3) = 6. The count is 969 − 660 + 6 = 315.

More Permutations, Combinations and Probability questions

Exams that ask this topic