The total number of matrices A having entries from the set such that the sum of all the diagonal entries of is 9, is equal to
Answer: 766
Solution
Let . Then has diagonal entries . The sum of diagonal entries is . Each , so . We need to count 9-tuples summing to 9. This is equivalent to finding the number of ways to write where each . The possible combinations are: (1) one 9, eight 0's: ways; (2) two 4's, one 1, six 0's: ways; (3) one 4, five 1's, three 0's: ways; (4) nine 1's: way. Total: .
JEE Main · 2021 · 16 Mar 2021 · Shift 1 · Integer answer