JEE Challenger
More from Permutations and Combinations

Seven Digit Numbers Formed Using Specific Digits at Least Once

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 :

Options

A

15400

B

17800

C

16800

Correct
D

29400

Step-by-Step Solution

To find the total number of seven-digit numbers that can be formed using the digits {1,2,3,5,7}\{1, 2, 3, 5, 7\} such that each digit is used at least once, we can use the principles of combinations and permutations.

Since there are 55 distinct available digits and we need to construct a 77-digit number where each digit appears at least once, the distribution of the frequencies of the 55 digits across the 77 positions can occur in two distinct cases:

Case 1: One digit is repeated three times, and the remaining four digits appear once each.

  • Frequency distribution: (3,1,1,1,1)(3, 1, 1, 1, 1)
  • Select the digit that repeats 3 times: (51)=5\binom{5}{1} = 5 ways.
  • Arrange the 7 digits: The number of ways to arrange 77 digits where one digit repeats 33 times is: 7!3!=50406=840\frac{7!}{3!} = \frac{5040}{6} = 840
  • Total for Case 1: N1=5×840=4200N_1 = 5 \times 840 = 4200

Case 2: Two digits are repeated two times each, and the remaining three digits appear once each.

  • Frequency distribution: (2,2,1,1,1)(2, 2, 1, 1, 1)
  • Select the 2 digits that repeat 2 times each: (52)=10\binom{5}{2} = 10 ways.
  • Arrange the 7 digits: The number of ways to arrange 77 digits where two digits repeat 22 times each is: 7!2!×2!=50404=1260\frac{7!}{2! \times 2!} = \frac{5040}{4} = 1260
  • Total for Case 2: N2=10×1260=12600N_2 = 10 \times 1260 = 12600

Alternative Method (Principle of Inclusion-Exclusion):

The total number of onto functions from a set of 77 positions to 55 digits is given by: Total=j=05(1)5j(5j)j7\text{Total} = \sum_{j=0}^{5} (-1)^{5-j} \binom{5}{j} j^7 Total=57(51)47+(52)37(53)27+(54)17\text{Total} = 5^7 - \binom{5}{1} 4^7 + \binom{5}{2} 3^7 - \binom{5}{3} 2^7 + \binom{5}{4} 1^7 Total=781255(16384)+10(2187)10(128)+5(1)\text{Total} = 78125 - 5(16384) + 10(2187) - 10(128) + 5(1) Total=7812581920+218701280+5=16800\text{Total} = 78125 - 81920 + 21870 - 1280 + 5 = 16800


Total Number of Seven-Digit Numbers:

Total=N1+N2=4200+12600=16800\text{Total} = N_1 + N_2 = 4200 + 12600 = 16800

Hence, the correct option is C.

Seven Digit Numbers Formed Using Specific Digits at Least Once | Mathematics PYQ Solution - JEE Challenger