
The number of times the digit 3 will be written when listing the integers from 1 to 1000, is
$\left( A \right)269$
$\left( B \right)300$
$\left( C \right)271$
$\left( D \right)302$
Answer
584.7k+ views
Hint: It is clear that we have to form numbers from 1 to 999 only because in 1000 there is no digit 3 now, from 1 to 999 all are 3 digits numbers so let them be of pqr form. Now make all possible cases in which 3 can come for once in this pqr form, then twice or it can come thrice that is in all places. Compute the permutations and combinations to get the answer.
Complete step-by-step solution -
We have to find out the number of digits 3 will be written from 1 to 1000.
So in 1000 there is no digit 3.
Therefore we have to count the number from 1 to 999.
Number from 1 to 999 is of the form pqr.
$ \Rightarrow 0 \leqslant p,q,r \leqslant 999$
So the number of ways the digit 3 is filled only one time are $ = {}^3{C_1} $
As we know from 0 to 9 the number of digits is 10.
So the remaining digits for the rest of the places are (10 - 1) = 9
So the number of ways for the remaining two places are $\left( {9 \times 9} \right)$
So number of numbers in which three occurs exactly once are $ = {}^3{C_1} \left( {9 \times 9} \right)$
Now the number of ways the digit 3 is filled two times are $ = {}^3{C_2} $
So the remaining digits for the rest of the places are (10 - 1) = 9
So the number of ways for the remaining one place are $\left( 9 \right)$
So number of numbers in which three occurs exactly twice $ = {}^3{C_2} \left( 9 \right)$
Now the number of ways the digit 3 is filled three times are $ = {}^3{C_3} $
So number of numbers in which three occurs exactly thrice $ = {}^3{C_3} $
Now we know that if a number has 3 appears twice then we have to multiply numbers by 2 and if a number has 3 appears thrice then we have to multiply numbers by 3.
So the total number of times 3 occurs are
$ = {}^3{C_1} \left( {9 \times 9} \right) + {}^3{C_2} \left( 9 \right) \times 2 + {}^3{C_2} \times 3$
Now as we know ${}^n{C_r} = \dfrac{{n!}}{{r!\left( {n - r} \right)!}}$
$ \Rightarrow {}^3{C_1} = \dfrac{{3!}}{{1!\left( {3 - 1} \right)!}} = \dfrac{{3!}}{{2!}} = 3,{}^3{C_2} = \dfrac{{3!}}{{2!\left( {3 - 2} \right)!}} = \dfrac{{3!}}{{2!}} = 3,{}^3{C_3} = 1$
So substitute these values in above equation we have,
$ = 3\left( {9 \times 9} \right) + 3\left( 9 \right) \times 2 + 1\times 3 = 243 + 54 + 3 = 300$
So this is the required number of ways 3 digits are appearing from 1 to 1000.
Hence option (B) is correct.
Note: Whenever we face such types of problems the key concept is to have a good gist of combination as its physical significance resembles the ways of selecting r entities out of n entities that is (${}^n{C_r} $). Understanding the default formula for it also helps solving problems of this kind.
Complete step-by-step solution -
We have to find out the number of digits 3 will be written from 1 to 1000.
So in 1000 there is no digit 3.
Therefore we have to count the number from 1 to 999.
Number from 1 to 999 is of the form pqr.
$ \Rightarrow 0 \leqslant p,q,r \leqslant 999$
So the number of ways the digit 3 is filled only one time are $ = {}^3{C_1} $
As we know from 0 to 9 the number of digits is 10.
So the remaining digits for the rest of the places are (10 - 1) = 9
So the number of ways for the remaining two places are $\left( {9 \times 9} \right)$
So number of numbers in which three occurs exactly once are $ = {}^3{C_1} \left( {9 \times 9} \right)$
Now the number of ways the digit 3 is filled two times are $ = {}^3{C_2} $
So the remaining digits for the rest of the places are (10 - 1) = 9
So the number of ways for the remaining one place are $\left( 9 \right)$
So number of numbers in which three occurs exactly twice $ = {}^3{C_2} \left( 9 \right)$
Now the number of ways the digit 3 is filled three times are $ = {}^3{C_3} $
So number of numbers in which three occurs exactly thrice $ = {}^3{C_3} $
Now we know that if a number has 3 appears twice then we have to multiply numbers by 2 and if a number has 3 appears thrice then we have to multiply numbers by 3.
So the total number of times 3 occurs are
$ = {}^3{C_1} \left( {9 \times 9} \right) + {}^3{C_2} \left( 9 \right) \times 2 + {}^3{C_2} \times 3$
Now as we know ${}^n{C_r} = \dfrac{{n!}}{{r!\left( {n - r} \right)!}}$
$ \Rightarrow {}^3{C_1} = \dfrac{{3!}}{{1!\left( {3 - 1} \right)!}} = \dfrac{{3!}}{{2!}} = 3,{}^3{C_2} = \dfrac{{3!}}{{2!\left( {3 - 2} \right)!}} = \dfrac{{3!}}{{2!}} = 3,{}^3{C_3} = 1$
So substitute these values in above equation we have,
$ = 3\left( {9 \times 9} \right) + 3\left( 9 \right) \times 2 + 1\times 3 = 243 + 54 + 3 = 300$
So this is the required number of ways 3 digits are appearing from 1 to 1000.
Hence option (B) is correct.
Note: Whenever we face such types of problems the key concept is to have a good gist of combination as its physical significance resembles the ways of selecting r entities out of n entities that is (${}^n{C_r} $). Understanding the default formula for it also helps solving problems of this kind.
Recently Updated Pages
Why are manures considered better than fertilizers class 11 biology CBSE

Find the coordinates of the midpoint of the line segment class 11 maths CBSE

Distinguish between static friction limiting friction class 11 physics CBSE

The Chairman of the constituent Assembly was A Jawaharlal class 11 social science CBSE

The first National Commission on Labour NCL submitted class 11 social science CBSE

Number of all subshell of n + l 7 is A 4 B 5 C 6 D class 11 chemistry CBSE

Trending doubts
What is meant by exothermic and endothermic reactions class 11 chemistry CBSE

10 examples of friction in our daily life

One Metric ton is equal to kg A 10000 B 1000 C 100 class 11 physics CBSE

1 Quintal is equal to a 110 kg b 10 kg c 100kg d 1000 class 11 physics CBSE

Difference Between Prokaryotic Cells and Eukaryotic Cells

What are Quantum numbers Explain the quantum number class 11 chemistry CBSE

