Let matrix \(\begin{bmatrix} a & b & c \\[0.3em] d & e & f \\[0.3em] g & h & i \end{bmatrix}\)
Given, \(a + b + c + d + e + f + g + h + i = 5\)
Possible cases | Number of ways |
---|---|
\(5 → 1’\)s, \(4 →\) zeroes | \(\frac {9!}{5!4!}=126\) |
\(6 → 1’\)s, \(2 →\) zeroes, \(1 →–1\) | \(\frac {9!}{6!2!}=252\) |
\(7 → 1’\)s, \(2 →–1'\)s | \(\frac {9!}{7!2!}=36\) |
Total number of ways \(= 126 + 252 + 36 = 414\)
So, the answer is \(414\).
A permutation is an arrangement of multiple objects in a particular order taken a few or all at a time. The formula for permutation is as follows:
\(^nP_r = \frac{n!}{(n-r)!}\)
nPr = permutation
n = total number of objects
r = number of objects selected