Skip to content
dronacharya.ai
← JEE Advanced 2025 · Paper 1
MathematicsNumerical+4Question 10 of 48

JEE Advanced 2025 · Paper 1, Mathematics question 10

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

Official answer: 762

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.