A 5-digit number is to be formed using the digits 0-9, where repetition is allowed. How many different numbers can be formed if the number must be divisible by 3 and have exactly 2 odd digits?
2500
3400
3100
7800
To calculate the number of different 5 -digit numbers that can be formed using the digits $0-9$, where repetition is allowed, the number must be divisible by 3 , and exactly 2 odd digits are used, we can consider the following:
Since the number must be divisible by 3 , the sum of its digits must be divisible by 3 .
Case 1: The sum of the digits is divisible by 3 and the number has 2 odd digits.
In this case, we need to determine the possible arrangements of the digits. There are 5 odd digits (1, 3,5,7,9) and 5 even digits (0,2,4,6,8) to choose from.
The number of ways to choose 2 odd digits from the 5 odd digits is
Once we have chosen the 2 odd digits, we can arrange them in the number in 2 ! ways.
The remaining 3 digits can be chosen from the 5 even digits in ways (since repetition is allowed).
Therefore, the total number of different numbers that can be formed in this case is:
Case 2: The sum of the digits is divisible by 3 , but the number has 4 odd digits.
In this case, we need to determine the possible arrangements of the digits. There are 5 odd digits and 5 even digits to choose from.
The number of ways to choose 4 odd digits from the 5 odd digits is
Once we have chosen the 4 odd digits, we can arrange them in the number in 4 ! ways.
The remaining digit can be chosen from the 5 even digits in 5 ways.
Therefore, the total number of different numbers that can be formed in this case is:
Therefore, the total number of different 5-digit numbers that can be formed, satisfying the conditions of being divisible by 3 and having exactly 2 odd digits, is:
Hence, there are 3100 different 5-digit numbers that can be formed with the given conditions.
Study 40% syllabus and score up to 100% marks in JEE