Exercise · ZW-COMBINATIONS-WITH-REPETITION-004 · ★★☆ Intermediate

How many positive integer solutions does \(x_1+x_2+x_3=7\) have?

Choose one option.

Show answer
  • C. 15

Explanation

With \(y_i=x_i-1\ge 0\) one gets \(y_1+y_2+y_3=4\), which has \(\binom{4+3-1}{4}=\binom{6}{4}=15\) solutions. The 36 counts the nonnegative ones.

Study Discrete mathematics in ZWMath →

Review the concept: Combinations with repetition

A combination with repetition of size \(k\) from \(n\) types of object is an unordered selection of \(k\) objects in which each type may be chosen several times.

\[\binom{n+k-1}{k}\]

More practice problems: combinations with repetition

← ZW-COMBINATIONS-WITH-REPETITION-003 ZW-COMBINATIONS-WITH-REPETITION-005 →