JEE Main · 2022 · 27 Jun 2022 · Shift 2 · Permutations and Combinations

WhatsApp Email
Let A be a matrix of order , whose entries are from the set . If the sum of all the entries of A is a prime number , , then the number of such matrices A is :

Answer: 180

Solution

The four entries each range over and their sum must be a prime strictly between and , that is , or . Counting non-negative integer solutions by stars and bars, a sum of gives and a sum of gives , and in both the totals are small enough that no entry can exceed . For a sum of the unrestricted count is , from which the cases with an entry of at least must be removed: fixing one entry to be leaves the remaining three to sum to in ways, and with four choices of which entry that is, this removes (two entries exceeding is impossible when the total is only ), leaving . The total is .

JEE Main · 2022 · 27 Jun 2022 · Shift 2 · Integer answer

More JEE Main questions on Permutations and Combinations

  1. The number of strictly increasing functions f from the set to the set such that for , is equal to :
    JEE Main 2026View solution →
  2. Let . If the number of elements ( ) in S such that is a multiple of 5 is p and the number of elements …
    JEE Main 2026View solution →
  3. The largest , for which divides 101!, is:
    JEE Main 2026View solution →
  4. Let ABC be a triangle. Consider four points , on the side AB , five points on the side BC and four points …
    JEE Main 2026View solution →
  5. Let S be the set of the first 11 natural numbers. Then the number of elements in and the product of all elements of B is even is
    JEE Main 2026View solution →
  6. The number of 4-letter words, with or without meaning, which can be formed using the letters PQRPQRSTUVP, is ______.
    JEE Main 2026View solution →