Question
Question: Consider all the 6 digit numbers that are formed by using the digits 1, 2, 3, 4, 5, and 6 where each...
Consider all the 6 digit numbers that are formed by using the digits 1, 2, 3, 4, 5, and 6 where each digit is used only once. Each of such digit numbers has a property that for each digit, not more than 2 digits smaller than that digit appear to the right of that digit. Find the number of such 6 digit numbers having the desired property.
Solution
We solve this problem by using the permutations and combinations. We consider that there are 6 boxes representing the 6 places of 6 digit numbers. Then based on the given property of numbers we check the possible digits that can be placed in each box and then we fix one digit of possible digits in each box to get the required answer. The number of ways of selecting ′r′ numbers from the set of ′n′ numbers is given as nCr where,
nCr=r!(n−r)!n!
Complete step-by-step solution:
We are asked to find the number of 6 digit numbers that have the given desired property.
Let us assume that there are 6 boxes that represent the 6 places of a 6 digit number.
We are given that the digits to be used are 1, 2, 3, 4, 5, and 6
We are given that the desired property of numbers is that for each digit, no more than 2 digits smaller than that digit appear to the right of that digit.
Here, we can see that we can place at most 2 digits that are less than a digit to the right of that digit.
Based on this property we can say that the digits that are possible to occupy first place are 1, 2, and 3 because if we place 4 in the first place then we get a possible number that has 1, 2, and 3 on the right of 4.
But we are given to place only up to 2 digits less than a digit to the right of that digit.
So, by writing the possibilities of the first place we get
Now, by using the same given property the digits that are possible in the second place are 1 to 4 because if we place digit 5 in second place then we get 3 digits that are less than 5 to the right of 5 which should not be considered.
By writing the possibilities in the second box we get
Similarly, by using the property to all the given boxes we get
Now, let us find the number of ways of placing digits in the possible ways we have.
We know that the number of ways of selecting ′r′ numbers from the set of ′n′ numbers is given as nCr where,
nCr=r!(n−r)!n!
By using the above formula we get the number of ways of placing 1 digit out of 3 digits in first place as