Skip to content
dronacharya.ai
JEE Advanced 2025MathematicsNumerical+4

JEE Advanced 2025 Maths Q10: Combinations

From the JEE Advanced 2025 · Paper 1 paper. Try it, check your answer, then read the worked solution below.

Let SS be the set of all seven-digit numbers that can be formed using the digits 0, 1 and 2. For example, 2210222 is in SS, but 0210222 is NOT in SS.

Then the number of elements xx in SS such that at least one of the digits 0 and 1 appears exactly twice in xx, is equal to _____.

Answer and worked solution

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

Official answer762

Worked solution

Let AA = "0 appears exactly twice" and BB = "1 appears exactly twice". The first digit is 1 or 2.

∣A∣|A|. Put the two 0s in the last 6 places (6C2=15{}^6C_2=15 ways). The other 5 digits, including the first, are 1 or 2 (252^5 ways):
∣A∣=15⋅32=480.|A|=15\cdot32=480.

∣B∣|B|.

  • First digit 1: one more 1 in the last 6 (6 ways), the rest from {0,2}\{0,2\} (252^5): 192192.
  • First digit 2: two 1s in the last 6 (15 ways), the rest from {0,2}\{0,2\} (242^4): 240240.
  • Total: 432432.

∣A∩B∣|A\cap B|.

  • First digit 1: the last 6 hold one 1, two 0s and three 2s: 6!1! 2! 3!=60\frac{6!}{1!\,2!\,3!}=60.
  • First digit 2: the last 6 hold two 1s, two 0s and two 2s: 6!2! 2! 2!=90\frac{6!}{2!\,2!\,2!}=90.
  • Total: 150150.

∣A∪B∣=480+432−150=762.|A\cup B|=480+432-150=762.

Concepts used: inclusion-exclusion, leading digit cannot be zero

Practise this topic

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

Similar questions from other papers

Past questions on the same topic (Combinations), 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.