Placement AptitudeHardCAT · TCS NQT · Goldman Sachs OA

How many non-negative integer solutions does x₁ + x₂ + … + x4 = 15 have?

  1. A. 364
  2. B. 653
  3. C. 1365
  4. D. 816

Correct answer: D. 816

Stars and bars: C(n+k−1, k−1) = C(18, 3) = 816.

More Permutations, Combinations and Probability (Placement) questions

Exams that ask this topic