Home
Class 12
MATHS
Find the number of n digit numbers, whic...

Find the number of `n` digit numbers, which contain the digits 2 and 7, but not the digits 0, 1, 8, 9.

Text Solution

Verified by Experts

The total number without any restrictions containing digits 2,3,4,5,6,7 is `n(U)=6^(n)`
The total number of numbers that contains 3,4,5,6,7 is
`n(A)=5^(n)`
the total number of numbers that contain 2,3,4,5,6 is
`n(B)=5^(n)`. ,brgt the total number of numbers that contain 3,4,5,6 is
`n(AcapB)=4^(n)`.
The total number of numbers that do not contain digit 2 and 7 is `n(A cup)`
i.e., `n(AcupB)=n(A)+n(B)-n(AcapB)`
`=5^(n)+5^(n)4^(n)=2(5^(n))-4^(n)`
Hence, the total number of numbers that contain 2 and 7 is
`n(A'cupB')`
`thereforen(A'capB')=n(U)-n(AcupB)=6^(n)-2*(5^(n))+4^(n)`
Promotional Banner

Similar Questions

Explore conceptually related problems

Total number of 6-digit numbers in which all the odd digit appear is

The total number of 9 digit numbers which have all different digits is

Find the number of 4 - digit numbers that can be formed by using the digits 1, 2, 3, 4, 5 if no digit is repeated. How many of these will be even ?

The number of seven digit integers with sum of the digits equal to 10 and formed by using the digits 1,2, and 3 only , is :

Find the number of 4 digit numbers that can be formed using the digits 1,2,3,4,5.If no digits is repeated.

The number of all five digit numbers which are divisible by 4 that can be formed from the digits 0,1,2,3,4 (without repetition) is

The total number 9- digit number Which have all different digits is :

The number of 4 digit numbers without repetition that can be formed using the digits 1, 2, 3, 4, 5, 6,7 in which each number has two odd digits and two even digits is

Let a_(n) denote the number of all n-digit numbers formed by the digits 0,1 or both such that no consecutive digits in them are 0. Let b_(n) be the number of such n-digit integers ending with digit 1 and let c_(n) be the number of such n-digit integers ending with digit 0. Which of the following is correct ?

The number of 4 digit numbers without repetition that can be formed using the digit 1,2,3,4,5,6,7 in which each number has two odd digits and two digits is