Question:

The total number of natural numbers of 6 digits that can be made with digits 1, 2, 3, 4, if all digits are to appear in the same number at least once, is

Show Hint

Use permutations of multiset: \(\frac{n!}{p! q! r!}\).
Updated On: Apr 20, 2026
  • 1560
  • 840
  • 1080
  • 480
Show Solution
collegedunia
Verified By Collegedunia

The Correct Option is A

Solution and Explanation

To find the total number of 6-digit natural numbers that can be formed using the digits 1, 2, 3, and 4, where each digit must appear at least once, we can use the method of permutations and combinations. 

Step 1: Determine the total number of arrangements.

First, we calculate the number of ways to arrange any of the 4 digits in 6 positions. Since repetition of digits is allowed, each position in the 6-digit number can be filled by any of the 4 digits. Thus, the total number of unrestricted arrangements is given by:

\(4^6 = 4096\)

Step 2: Apply the Principle of Inclusion-Exclusion (PIE).

We need to subtract cases where at least one of the digits (1, 2, 3, or 4) is missing. Using the principle of inclusion-exclusion, we perform the following calculations:

  • Single exclusion: Choose any 3 out of the 4 digits. The number of numbers that can be formed using only these 3 digits is \(3^6 = 729\) for each choice. Since there are \(\binom{4}{3} = 4\) choices (omitting one digit each time), this gives \(4 \times 729 = 2916\).
  • Double exclusion: Choose any 2 out of the 4 digits (effectively omitting two digits). Then, \(2^6 = 64\) numbers can be formed using these two digits for each choice. Since there are \(\binom{4}{2} = 6\) choices, this equals \(6 \times 64 = 384\).
  • Triple exclusion: Pick only one digit to use all the time. This clearly only forms one number (e.g., 111111, 222222, etc.), thus \(\binom{4}{1} = 4\) numbers.

Applying PIE, we find:

Total numbers excluding at least one digit = Single exclusion - Double exclusion + Triple exclusion

\(2916 - 384 + 4 = 2536\)

Step 3: Subtract above result from the total arrangements.

The result from applying PIE tells us the number of numbers where at least one digit is missing. Therefore, the numbers where all digits appear at least once is:

\(4096 - 2536 = 1560\)

Conclusion: Hence, the total number of 6-digit natural numbers that can be formed where each digit (1, 2, 3, and 4) appears at least once is 1560.

Was this answer helpful?
0
0