JEE Main 2026 · 2 April · morning · Single correct · +4 / −1

The number of seven-digit numbers, that can be formed by using the digits 1, 2, 3, 5 and 7 such that each digit is used at least once, is:

  1. (a) 15400
  2. (b) 17800
  3. (c) 16800
  4. (d) 29400
Answer and solution

Answer (c) 16800

Solution

Maths sir · 3 steps

Five digits fill seven places, so split the two extra places into repeat patterns and count each case.

  1. Find the patterns. Each of the 5 digits appears once, which fills 5 places. The 2 extra places either both repeat one digit (counts 3, 1, 1, 1, 1) or repeat two different digits (counts 2, 2, 1, 1, 1).
    PatternChoose the repeated digit(s)ArrangementsTotal
    3, 1, 1, 1, 1C(5, 1) = 57!/3! = 8405 × 840 = 4200
    2, 2, 1, 1, 1C(5, 2) = 107!/(2! 2!) = 126010 × 1260 = 12600
  2. Why divide. Swapping identical digits among themselves gives the same number. So you divide 7! by the factorial of each digit's count.
  3. So. The total is 4200 + 12600 = 16800, which is option (c).

The idea to keep. When every item must appear at least once, first share out the extra places as count patterns. Then count each pattern with n!/(p! q!…) and add the cases.

Answer from the NTA final answer key. Solution by PrepWiser.

Study Permutations & Combinations

Asked about 160 times in JEE Main since 2020. This question is from 2026.