JEE Main 2022MathematicsSets and RelationsMediumNumerical

JEE Main 2022Sets and Relations Question with Solution

JEE Main 2022 (25 Jul Shift 2)

Question

Let A=1,2,3,4,5,6,7. Define B={TA: either 1T or 2T} and C={TA:T the sum of all the elements of T is a prime number.} Then the number of elements in the set BC is _______.

Enter your answer

Show full solutionCorrect answer: 107
Correct answer
107

Step-by-step explanation

We know that,

By demorgan's law BC'=B'C'

B' is a set containing sub sets of A containing element 1 and not containing 2.

And C' is a set containing subsets of A whose sum of elements is not prime.

So, we need to calculate number of subsets of 3,4,5,6,7 whose sum of elements plus 1 is composite.

Number of such 5 elements subset =1

Number of such 4 elements subset =3 (except selecting 3 or 7)

Number of such 3 elements subset =6 (except selecting 3,4,5,3,6,7,4,5,7 or 5,6,7)

Number of such 2 elements subset =7 (except selecting 3,7,4,6,5,7)

Number of such 1 elements subset =3 (except selecting 4 or 6)

Number of such 0 elements subset =1

So, number of elements in nB'C'=1+3+6+7+3+1=21

And number of elements in nBC=27-21=107

Practice this on the real CBT interface

Solve this JEE Main question (and the rest of the Sets and Relations 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 2022, covering the Sets and Relations 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.