The number of matrices of order , whose entries are either 0 or 1 and the sum of all the entries is a prime number, is _______
We need to count matrices with entries 0 or 1 such that the sum of all 9 entries is a prime number. Each entry is independently 0 or 1, so the sum of entries ranges from 0 to 9.
The prime values in are .
The number of matrices with entry sum equal to is (choosing which of the 9 entries are 1). So the total count is:
We compute each: , , , .
The total is .
Hence, the correct answer is 282.
Tagged Combinations and selections with conditions. Machine-assigned, so read it as a strong shortlist rather than a verdict.