The number of 3-digit numbers such that the digit 1 is never to the immediate right of 2 is
881
This problem asks us to find the total count of 3-digit numbers where the digit 1 is never positioned immediately to the right of the digit 2. This means any 3-digit number containing the sequence "21" (like 210, 321, etc.) is excluded from our count. To solve this, we will first find the total number of 3-digit numbers and then subtract the count of numbers that contain the forbidden sequence "21".
A 3-digit number ranges from 100 to 999. Let's determine how many such numbers exist.
Therefore, the total number of 3-digit numbers is calculated as:
$ \text{Total 3-digit numbers} = \text{(Choices for hundreds digit)} \times \text{(Choices for tens digit)} \times \text{(Choices for units digit)} $
$ \text{Total 3-digit numbers} = 9 \times 10 \times 10 = 900 $
The condition states that the digit 1 is never to the immediate right of 2. This means any 3-digit number containing the sequence "21" is forbidden. We need to find all such 3-digit numbers and subtract them from the total. The "21" sequence can appear in two possible positions within a 3-digit number:
In this case, the number has the form 21X, where X represents the units digit.
The numbers in this category are: 210, 211, 212, 213, 214, 215, 216, 217, 218, 219.
Total numbers in Case 1 = 10.
In this case, the number has the form X21, where X represents the hundreds digit.
The numbers in this category are: 121, 221, 321, 421, 521, 621, 721, 821, 921.
Total numbers in Case 2 = 9.
We need to check if there is any overlap between Case 1 (numbers like 21X) and Case 2 (numbers like X21).
A number cannot simultaneously start with '21' and end with '21' in a 3-digit format (e.g., a number like 2121 would be required, which is a 4-digit number). Therefore, there is no overlap between the numbers counted in Case 1 and Case 2. These two sets of forbidden numbers are mutually exclusive.
Total number of forbidden 3-digit numbers (containing "21") = Total from Case 1 + Total from Case 2
$ \text{Total forbidden numbers} = 10 + 9 = 19 $
To find the number of 3-digit numbers where the digit 1 is never to the immediate right of 2, we subtract the forbidden numbers from the total number of 3-digit numbers.
$ \text{Required 3-digit numbers} = \text{Total 3-digit numbers} - \text{Total forbidden numbers} $
$ \text{Required 3-digit numbers} = 900 - 19 = 881 $
Therefore, there are 881 three-digit numbers such that the digit 1 is never immediately to the right of 2.
The number of digits you have to type to write all the page numbers of a book starting from I (first page) is 2019. What is the number of pages in that book?
1200 men and 500 women can build a bridge in 2 weeks. 900 men and 250 women will take 3 weeks to build the same bridge. How many men will be needed to build the bridge in one week?
Given \({\left( {9{\rm{\;inches}}} \right)^{\frac{1}{2}}} = {\left( {0.25{\rm{\;yards}}} \right)^{\frac{1}{2}}}\). Which one of the following statements is TRUE?
Two and a quarter hours back, when seen in a mirror, the reflection of a wall clock without number markings seemed to show 1:30. What is the actual current time shown by the clock?
Michael lives 10 km away from where I live. Ahmed lives 5 km away and Susan lives 7 km away from where I live. Arun is farther away than Ahmed but closer than Susan from where I live. From the information provided here, what is one possible distance (in km) at which I live from Arun’s place?