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 correct Answer is:
`6^(n)-2xx5^(n)+4^(n)`

Number of n-digit number formed by using the digits 2,3,4,5,6,7 is `6^(n)`.
Number of n-digit numbers formed by using the digits 3,4,5,6,7 is `n(A)=5^(n)`.
Number of n-digit numbers formed by using the digits 2,3,4,5,6 is `n(B)=5^(n)`.
Number of n-digit numbers formed by using the digits 3,4,5,6 is `n(A cap B)=4^(n)`.
So, total number of numbers which contains digits 2 and 7 is `6^(n)-5^(n)-5^(n)+4^(n)`.
Promotional Banner

Similar Questions

Explore conceptually related problems

The number of five digit numbers in which all digits are even, is?

The number of five digit numbers in which all digits are even, is :

Find the number of three-digit numbers which are divisible by 5 and have distinct digits

The number of n digit numbers which consists of the digit 1 and 2 only if each digit is to be used at least once is equal to 510, then n is equal to ________.

The number of 10 digit numbers that can be written by using the digits 2 and 3 is

The number of 10 digit number that can be written by using the digits 2 and 3 is

The number of 5 digit numbers all digits of which are odd is

Find the number of three-digit number in which repetition is allowed and sum of digits is even.