JEE Main 2023MathematicsMatricesHardNumerical

JEE Main 2023Matrices Question with Solution

JEE Main 2023 (31 Jan Shift 2)

Question

Let A=ai^j^·aijZ0,4, 1i,j2. The number of matrices A such that the sum of all entries is a prime number p2,13 is _____ .

Enter your answer

Show full solutionCorrect answer: 204
Correct answer
204

Step-by-step explanation

Given,

A=a11a12a21a22 & a11,a12,a21,a220,1,2,3,4

Now given a11+a12+a23+a22= prime number,

So sum can be, p=3,5,7,11

Now using multinomial theorem we get,

Sum will be sum of coefficient of x3, x5, x7 & x11in expansion of x0+x1+x2+x3+x44

1-x51-x4=1-x541-x-4

=Cr14-x5r1Cr24+r2-1xr2

=Cr13+r24Cr2-1r1x5r1+r2

Now taking, 5r1+r2=3,5,7,11

when 5r1+r2=3r1=0,r2=3

when 5r1+r2=5r1=0,r2=5 or r1=1,r2=0

when 5r1+r2=7r1=1,r2=2 or r1=0,r2=7

when 5r1+r2=11r1=0,r2=11 or r1=1,r2=6 or r1=2,r2=1

So, sum of all coefficient =C04×C36+C04C58-C14C03+C04C710-C14C25+C04C1114-C14C69+C24C14

=20+56-4+120-40+364-336+24

=204

Practice this on the real CBT interface

Solve this JEE Main question (and the rest of the Matrices chapter) on PrepSharp's TCS iON-style CBT player — with timer, bookmarks and session analytics.

Solve interactively →

About this question

This is a previous-year question from JEE Main 2023, covering the Matrices chapter of Mathematics. PrepSharp catalogues every PYQ from JEE Main with a verified answer key and step-by-step solution prepared by IIT alumni — so you can search by chapter, topic or year and revise efficiently.