Mathematics (JEE)Very hardJEE Advanced (PYQ pattern)

The number of non-negative integer solutions of a + b + c + d = 20 with each of a, b, c, d at most 7 is

  1. A. 1771
  2. B. 375
  3. C. 161
  4. D. −49

Correct answer: C. 161

Inclusion–exclusion on the variables forced to be ≥ 8: ²³C₃ − 4·¹⁵C₃ + 6·⁷C₃ = 1771 − 1820 + 210 = 161. Stopping after the second term gives −49; a cap of 8 instead of 7 gives 375; no cap gives 1771.

More Binomial Theorem questions

Exams that ask this topic