Answer
Verified
415.8k+ views
Hint: We will be using the concept of permutation and combination to solve the problem we will be using the multiplication principle to find the total possible number of cases.
Complete step-by-step solution -
Now, we have been given that a n-digit number which consists of digits 1 and 2 only if each digit is to be used at least once is 510.
Now, we will first find the total number n-digits possible with 1 and 2. For this we will use the multiplication principle in which we multiply all the cases for each digit. Here we have n digits so,
In any of the box we can have either 1 or 2, so we have 2 cases each box for all n boxes. Therefore, total n-digits number $={{2}^{n}}$ .
Now, we have also been given that 1 and 2 have to use at least once. So, we will subtract 2 cases when either all digits are 1 or all digits are 2, from total where all n digits are either 1 or 2.
Therefore, we have ${{2}^{n}}-2=510$
${{2}^{n}}=510+2$
${{2}^{n}}=512$ .
Now, we know that $512={{2}^{9}}$
${{2}^{n}}={{2}^{9}}$ .
On comparing powers we have n=9.
Hence the value of n is 9.
Note: To solve these types of questions we must know basic technique of permutation and combination like multiplication principle, addition principle to solve the problem quickly and easily.
Complete step-by-step solution -
Now, we have been given that a n-digit number which consists of digits 1 and 2 only if each digit is to be used at least once is 510.
Now, we will first find the total number n-digits possible with 1 and 2. For this we will use the multiplication principle in which we multiply all the cases for each digit. Here we have n digits so,
In any of the box we can have either 1 or 2, so we have 2 cases each box for all n boxes. Therefore, total n-digits number $={{2}^{n}}$ .
Now, we have also been given that 1 and 2 have to use at least once. So, we will subtract 2 cases when either all digits are 1 or all digits are 2, from total where all n digits are either 1 or 2.
Therefore, we have ${{2}^{n}}-2=510$
${{2}^{n}}=510+2$
${{2}^{n}}=512$ .
Now, we know that $512={{2}^{9}}$
${{2}^{n}}={{2}^{9}}$ .
On comparing powers we have n=9.
Hence the value of n is 9.
Note: To solve these types of questions we must know basic technique of permutation and combination like multiplication principle, addition principle to solve the problem quickly and easily.
Recently Updated Pages
Assertion The resistivity of a semiconductor increases class 13 physics CBSE
The Equation xxx + 2 is Satisfied when x is Equal to Class 10 Maths
How do you arrange NH4 + BF3 H2O C2H2 in increasing class 11 chemistry CBSE
Is H mCT and q mCT the same thing If so which is more class 11 chemistry CBSE
What are the possible quantum number for the last outermost class 11 chemistry CBSE
Is C2 paramagnetic or diamagnetic class 11 chemistry CBSE
Trending doubts
Difference between Prokaryotic cell and Eukaryotic class 11 biology CBSE
Fill the blanks with the suitable prepositions 1 The class 9 english CBSE
Write an application to the principal requesting five class 10 english CBSE
Difference Between Plant Cell and Animal Cell
a Tabulate the differences in the characteristics of class 12 chemistry CBSE
Change the following sentences into negative and interrogative class 10 english CBSE
What organs are located on the left side of your body class 11 biology CBSE
Discuss what these phrases mean to you A a yellow wood class 9 english CBSE
List some examples of Rabi and Kharif crops class 8 biology CBSE