The number of matrices of order $3 \times 3$, whose entries are either 0 or 1 and the sum of all the entries is a prime number, is __________.
Answer (integer)
282
Solution
<p>In a $3\times3$ order matrix there are $9$ entries.</p>
<p>These nine entries are zero or one.</p>
<p>The sum of positive prime entries are $2, 3, 5$ or $7$.</p>
<p>Total possible matrices $$ = {{9!} \over {2!\,.\,7!}} + {{9!} \over {3!\,.\,6!}} + {{9!} \over {5!\,.\,4!}} + {{9!} \over {7!\,.\,2!}}$$</p>
<p>$= 34 + 84 + 126 + 36$</p>
<p>$= 282$</p>
About this question
Subject: Mathematics · Chapter: Permutations and Combinations · Topic: Fundamental Counting Principle
This question is part of PrepWiser's free JEE Main question bank. 135 more solved questions on Permutations and Combinations are available — start with the harder ones if your accuracy is >70%.