Skip to content
dronacharya.ai
JEE Main 2024MathematicsInteger+4 / -1

JEE Main 2024 Maths Q22: Fundamental principle of counting

From the JEE Main 2024 · 1 Feb · Shift 1 paper. Try it, check your answer, then read the worked solution below.

The number of elements in the set

S={(x,y,z):x,y,z∈Z, x+2y+3z=42, x,y,z≥0}S=\{(x,y,z):x,y,z\in\mathbb Z,\ x+2y+3z=42,\ x,y,z\ge0\} equals ________.

Answer and worked solution

Try it yourself first, then check your working against this.

Answer (worked out; no official key)169

Worked solution

For each z=0,…,14z=0,\dots,14 the count of x+2y=42−3zx+2y=42-3z with x,y≥0x,y\ge0 is ⌊42−3z2⌋+1\left\lfloor\tfrac{42-3z}2\right\rfloor+1:
22,20,19,17,16,14,13,11,10,8,7,5,4,2,1.22,20,19,17,16,14,13,11,10,8,7,5,4,2,1.
Their sum is 169.

Answer: 169

Concepts used: non-negative integer solutions

Practise this topic

Every past question tagged to the same part of the syllabus, with solutions.

All JEE Main questions on Permutations and Combinations · All JEE Main questions on Basic Algebra

Similar questions from other papers

Past questions on the same topic (Fundamental principle of counting), each with a worked solution.

full papers
217
questions
18,571
worked solutions
18,550

Sit a paper tonight. See exactly where you stand.

Timed, in the real format, and marked the moment you submit.