Let . The number of matrices A such that the sum of all entries is a prime number is ______.
Answer: 204
Solution
Each of the four entries lies in , and their sum must be a prime in , namely The count of ordered quadruples summing to is the coefficient of in : for it is , for it is , for it is , and for (symmetric to ) it is The total is
JEE Main · 2023 · 31 Jan 2023 · Shift 2 · Integer answer