Home
Class 12
MATHS
‘n’ digit positive integers formed such ...

‘n’ digit positive integers formed such that each digit is 1, 2, or 3. How many of these contain all three of the digits 1, 2, and 3 at-least once?

A

`3(n-1)`

B

`3^(n)-2*2^(n)+3`

C

`3^(n)-3*2^(n)-3`

D

`3^(n)-3*2^(n)+3`

Text Solution

AI Generated Solution

The correct Answer is:
To solve the problem of finding how many n-digit positive integers can be formed using the digits 1, 2, and 3 such that each digit appears at least once, we can follow these steps: ### Step 1: Calculate the Total Number of n-Digit Integers The total number of n-digit integers that can be formed using the digits 1, 2, and 3 is given by: \[ \text{Total integers} = 3^n \] This is because for each of the n positions in the integer, we have 3 choices (1, 2, or 3). **Hint:** Remember that for each digit in the number, you can choose any of the three digits independently. ### Step 2: Calculate the Number of Integers Missing at Least One Digit To find the number of integers that contain at least one of the digits 1, 2, or 3, we can use the principle of complementary counting. We will first calculate the number of integers that are missing at least one digit. #### Step 2.1: Count Integers with Only Two Digits The number of integers that can be formed using only two of the three digits can be calculated as follows: - Choose 2 digits from 3: \( \binom{3}{2} = 3 \) - For each choice of 2 digits, the number of n-digit integers that can be formed is \( 2^n \). Thus, the total number of integers that use only two digits is: \[ \text{Integers with 2 digits} = 3 \times 2^n \] **Hint:** Use combinations to determine how many ways you can choose the digits. #### Step 2.2: Count Integers with Only One Digit The number of integers that can be formed using only one digit is simply: \[ \text{Integers with 1 digit} = 3 \quad (\text{1, 2, or 3}) \] **Hint:** There are only three choices when you restrict yourself to one digit. ### Step 3: Apply the Inclusion-Exclusion Principle Now, we can calculate the total number of integers that are missing at least one digit: \[ \text{Integers missing at least one digit} = \text{Integers with 2 digits} + \text{Integers with 1 digit} \] \[ = 3 \times 2^n + 3 \] ### Step 4: Calculate the Number of Integers Containing All Three Digits Finally, we can find the number of n-digit integers that contain all three digits by subtracting the number of integers missing at least one digit from the total number of integers: \[ \text{Integers with all three digits} = 3^n - (3 \times 2^n + 3) \] \[ = 3^n - 3 \times 2^n - 3 \] ### Final Answer Thus, the number of n-digit positive integers formed such that each digit is 1, 2, or 3 and contains all three digits at least once is: \[ \boxed{3^n - 3 \times 2^n - 3} \]
Promotional Banner

Topper's Solved these Questions

  • PERMUTATION & COMBINATION

    VMC MODULES ENGLISH|Exercise JEE ARCHIVE|50 Videos
  • PERMUTATION & COMBINATION

    VMC MODULES ENGLISH|Exercise LEVEL-1|125 Videos
  • MOCK TEST 9

    VMC MODULES ENGLISH|Exercise MATHEMATICS (SECTION 2)|5 Videos
  • PROBABILITY

    VMC MODULES ENGLISH|Exercise JEE ADVANCED (ARCHIVE)|102 Videos

Similar Questions

Explore conceptually related problems

How many numbers of 5 digits can be formed by the digits 1,2,2,1,3?

How many 3 digit even numbers can be formed from the digits 1, 2 , 3, 4, 5 and 6 assuming that repetition of the digits is allowed .

How many numbers of 5 digits can be formed with the digits 0,1,2,3,4?

How many 6 digit numbers can be formed with the digits 1,3,3,0,1,2?

How many positive integer x are there such that 3x has 3 digits and 4x has four digits ?

How many 2 digit even numbers can be formed from the digits 1, 2, 3, 4; 5 if the digits can be repeated?

Let n denote the number of all n-digit positive integers formed by the digits 0, 1 or both such that no consecutive digits in them are 0. Let b_n = the number of such n-digit integers ending with digit 1 and c_n = the number of such n-digit integers ending with digit 0. The value of b_6 , is

How many 3 -digit even numbers can be formed from the digits 1, 2, 3, 4, 5, 6 if the digits can be repeated?

How many 3 digit numbers can be formed from the digits 1, 2 , 3, 4 and 5 assuming that repetition of the digits is allowed .

How many 3 digit numbers can be formed from the digits 1, 2 , 3, 4 and 5 assuming that repetition of the digits is not allowed .

VMC MODULES ENGLISH-PERMUTATION & COMBINATION-LEVEL-2
  1. Match the column

    Text Solution

    |

  2. If alpha=x(1)x(2)x(3) and beta=y(1)y(2)y(3) are two 3-digit numbers, t...

    Text Solution

    |

  3. ‘n’ digit positive integers formed such that each digit is 1, 2, or 3....

    Text Solution

    |

  4. X={1,2,3,....2017} and AsubX; BsubX;AuuBsubX here PsubQ denotes that P...

    Text Solution

    |

  5. The number of ways in which a mixed doubles tennis game can be arrange...

    Text Solution

    |

  6. If n dice are rolled, then number of possible outcomes is:

    Text Solution

    |

  7. Number of ways in which three numbers in A.P. can be selected from ...

    Text Solution

    |

  8. The number non-negative integral solutions of x(1)+x(2)+x(3)+x(4) le n...

    Text Solution

    |

  9. which of the following statements is/are incorrect?

    Text Solution

    |

  10. The continued product 2.6.10.14…..(n times) in equal to

    Text Solution

    |

  11. The combinatorial coefficients ""^(n – 1)C(p) denotes

    Text Solution

    |

  12. Which of the following statements are correct?

    Text Solution

    |

  13. P=n(n^(2)-1)(n^(2)-4)(n^(2)-9)…(n^(2)-100) is always divisible by , (...

    Text Solution

    |

  14. Let n be a positive integer and define f(n)=1!+2!+3!+…+n!. Find polyno...

    Text Solution

    |

  15. Consider seven digit number x1,x2,...,x7, where x1,x2,..,x7 != 0 havin...

    Text Solution

    |

  16. A woman has 11 close friends. Number of ways in which she can invite 5...

    Text Solution

    |

  17. On the normal chess board as shown, I1, & I2, are two insects whic...

    Text Solution

    |

  18. There are 12 points in a plane of which 5 are collinear. The maximum n...

    Text Solution

    |

  19. There are 10 seats in the first row of a theatre of which 4 are to be ...

    Text Solution

    |

  20. A man is at the origin on the x-axis and takes a unit step either to t...

    Text Solution

    |