Skip to content
GATEiit

GATE DA 2026 Q20: Probability all parts are positive in n1+n2+n3+n4 = 20

Question

Suppose that a computer program provides a non-negative and integer-valued random solution to the equation n1+n2+n3+n4=20n_1 + n_2 + n_3 + n_4 = 20.

Which of the following is the probability that all of n1,n2,n3,n4n_1, n_2, n_3, n_4 in the provided solution are positive?

Try it: multiple choice: exactly one correct option

Select one option
Wrong answer costs 1/3 mark in GATE.
Show answer and explanation

Answer: A (official GATE 2026 final answer key)

Concept used: Stars and bars: non-negative solutions (n+k−1k−1)\binom{n+k-1}{k-1}, positive solutions (n−1k−1)\binom{n-1}{k-1}.

First step: With n=20n = 20 and k=4k = 4: (233)\binom{23}{3} solutions in all, (193)\binom{19}{3} with every part positive.

Full step-by-step solution

Detailed working, common mistakes and linked mock tests will be available with a free GATEiit account. Log-in is coming soon.

Share this question

WhatsAppDownload image

Source: official GATE 2026 DA question paper and final answer key, organised by IIT Guwahati. Question paper · Answer key