
How many numbers are there between 100 and 1000 such that every digit is either 2 or 9?
Answer
588.3k+ views
Hint: It is given in the question that we have to only look at 3 digit numbers because between 100 and 1000 there are only 3 digit numbers. Now we will use the fact that numbers should have only 2 and 9 as their digits, so we will find all the possible arrangements that can be done using these conditions and that will be the final answer.
Complete step-by-step answer:
Let’s start the solution,
Case 1: When we have three 2’s
Then the only possible number is 222.
Hence, one number in this case.
Case 2: When we have two 2’s and one 9
Now we will use the formula for arrangement of number like ‘aab’: $\dfrac{3!}{2!}=\dfrac{3\times 2}{2}=3$
The number of possible ways in which we can arrange this is: $\dfrac{3!}{2!}=\dfrac{3\times 2}{2}=3$
Hence, 3 numbers in this case.
Case 3: When we have one 2 and two 9’s
Now we will use the formula for arrangement of number like ‘aab’: $\dfrac{3!}{2!}=\dfrac{3\times 2}{2}=3$
The number of possible ways in which we can arrange this is: $\dfrac{3!}{2!}=\dfrac{3\times 2}{2}=3$
Hence, 3 numbers in this case.
Case 4: When we have three 9’s
Then the only possible number is 999.
Hence, one number in this case.
Hence, the total numbers will be 1 + 3 + 3 + 1 = 8.
Note: From the language of the question one should be able to deduce that we only have to look at 3 digits numbers only. And one can also try to write all the possible numbers that only contain 2 and 9, and then we just have to add all the total possible numbers to get the answer.
Complete step-by-step answer:
Let’s start the solution,
Case 1: When we have three 2’s
Then the only possible number is 222.
Hence, one number in this case.
Case 2: When we have two 2’s and one 9
Now we will use the formula for arrangement of number like ‘aab’: $\dfrac{3!}{2!}=\dfrac{3\times 2}{2}=3$
The number of possible ways in which we can arrange this is: $\dfrac{3!}{2!}=\dfrac{3\times 2}{2}=3$
Hence, 3 numbers in this case.
Case 3: When we have one 2 and two 9’s
Now we will use the formula for arrangement of number like ‘aab’: $\dfrac{3!}{2!}=\dfrac{3\times 2}{2}=3$
The number of possible ways in which we can arrange this is: $\dfrac{3!}{2!}=\dfrac{3\times 2}{2}=3$
Hence, 3 numbers in this case.
Case 4: When we have three 9’s
Then the only possible number is 999.
Hence, one number in this case.
Hence, the total numbers will be 1 + 3 + 3 + 1 = 8.
Note: From the language of the question one should be able to deduce that we only have to look at 3 digits numbers only. And one can also try to write all the possible numbers that only contain 2 and 9, and then we just have to add all the total possible numbers to get the answer.
Recently Updated Pages
In cricket, what is a "pink ball" primarily used for?

In cricket, what is the "new ball" phase?

In cricket, what is a "death over"?

What is the "Powerplay" in T20 cricket?

In cricket, what is a "super over"?

In cricket, what is a "tail-ender"?

Trending doubts
Why is there a time difference of about 5 hours between class 10 social science CBSE

The draft of the Preamble of the Indian Constitution class 10 social science CBSE

How many members did the Constituent Assembly of India class 10 social science CBSE

Write an application to the principal requesting five class 10 english CBSE

The Constitution of India was adopted on A 26 November class 10 social science CBSE

Who Won 36 Oscar Awards? Record Holder Revealed

