Mathematics (JEE)HardGATE CS

How many non-negative integer solutions of a + b + c + d = 8 satisfy 0 ≤ a, b, c, d ≤ 3?

  1. A. 35
  2. B. 31
  3. C. 20
  4. D. 16

Correct answer: B. 31

Unrestricted solutions: C(11,3) = 165. Subtract the 4 · C(7,3) = 140 solutions where one variable is at least 4, then add back the C(4,2) = 6 cases where two variables are at least 4. Total 165 − 140 + 6 = 31.

More Permutations, Combinations and Probability questions

Exams that ask this topic