How many strings of 5 digits have the property that the sum of their digits is 7 ?
330
Each string is a solution of \(d_{1}+d_{2}+d_{3}+d_{4}+d_{5}=7\) with every \(d_{k} \geq 0\); since the total is only 7, no digit can exceed 9, so the digit limit never matters.
Number of solutions \(= \binom{7+5-1}{5-1} = \binom{11}{4}\)
\(= \frac{11 \cdot 10 \cdot 9 \cdot 8}{4 \cdot 3 \cdot 2 \cdot 1} = \frac{7920}{24} = 330\)
Check: \(\binom{11}{4} = \binom{11}{7} = 330\); the values 66, 495 and 99 come from wrong choices of n and r.
Hence, 330.
How many solutions are there for the equation \(x + y + z + u = 29\) subject to the constraints that \(x \geq 1\), \(y \geq 2\), \(z \geq 3\) and \(u \geq 0\) ?
How many committees of five people can be chosen from 20 men and 12 women such that each committee contains at least three women ?
In how many ways can 15 indistinguishable fish be placed into 5 different ponds, so that each pond contains at least one fish ?
The coefficients of x2y3z2 in the expansion of (x+y+z)7 is
Bob is studying the effect of coral and sponge species on reef ecosystems using experiments in artificial square tanks. In each tank, he places 3 species of corals and 2 species of sponges. If there are 6 species of corals and 5 species of sponges to choose from, the minimum number of tanks required to test all combinations of 3 coral and 2 sponge species is _______
(Answer in integer)