Question
Question: Find the total number of numbers less than \(3\times {{10}^{8}}\) that can be formed using the digit...
Find the total number of numbers less than 3×108 that can be formed using the digits 1, 2, 3.
A. 21(39+4×38)
B. 21(39−3)
C. 21(7×38−3)
D. 21(39−3+38)
Solution
We first find the numbers’ characteristics which are less than 3×108. We find the number of ways 1 to 8 digit’s number can be made which are less than 3×108. For the 9-digit numbers we take special care about the first digit. We add up the numbers and find the solution of the problem.
Complete step-by-step answer:
We need to find numbers less than 3×108. In 3×108, there are eight zeroes and the number itself is nine digits. So, any number having digits’ number less than nine will be eligible to be less than 3×108 for all cases. But for nine-digit numbers we need to take special care as the starting number can’t be 3.
So, we care about the numbers having numbers of 1 to 8.
So, let’s assume we are picking number r from 1 to 8. This means we have to fill up r places with possible options being 1, 2, 3.
There are no limitations to how many times we can use the digits 1, 2, 3.
So, the number of ways or places can be filled up with 3 possible options with repetition being allowed is 3r.
r will vary from 1 to 8 as there are 8 different possible places a number can have to be less than 3×108.
So, we will take the sum of 3r, r running from 1 to 8. That will be equal to
r=1∑83r=31+32+..+38=33−138−1=23(38−1).
Now we will find a nine digits number. The first digit has to be either 1 or 2 and the rest can be anything. So, the number of ways will be 2×38.
So, total number of ways are 23(38−1)+2×38=21(3×38−3+4×38)=21(7×38−3).
So, the correct answer is “Option C”.
Note: We also can find the number of ways 1 to 9 digit’s number can be made which are less than 3×108. Then we eliminate the 9-digit numbers which start with 3 as those numbers will be greater than 3×108. So, first step can be done in r=1∑93r=33−139−1=23(39−1). Second step will be done in 38 ways. The answer will be 23(39−1)−38=21(9×38−3−2×38)=21(7×38−3).