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
646.5k+ 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
Master Class 10 Computer Science: Engaging Questions & Answers for Success

Master Class 10 Social Science: Engaging Questions & Answers for Success

Master Class 10 Science: Engaging Questions & Answers for Success

Class 10 Question and Answer - Your Ultimate Solutions Guide

Master Class 10 Maths: Engaging Questions & Answers for Success

Master Class 10 English: Engaging Questions & Answers for Success

Trending doubts
Difference Between Prokaryotic Cells and Eukaryotic Cells

Two of the body parts which do not appear in MRI are class 11 biology CBSE

10 examples of friction in our daily life

Draw a diagram of nephron and explain its structur class 11 biology CBSE

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

Draw a diagram of a plant cell and label at least eight class 11 biology CBSE

