NDA · Question 79
What is the number of positive integer solutions of x + y + z = 5?
Show answer & explanationShow explanation
Answer: (C) 6
By the stars-and-bars formula, the number of positive integer solutions to x₁ + x₂ + … + xᵣ = n is C(n - 1, r - 1). For n = 5 and r = 3, this is C(5 - 1, 3 - 1) = ⁴C₂ = 6.