Question

In: Statistics and Probability

For many locks used in gyms, the owner can set a six digit pass code to...

For many locks used in gyms, the owner can set a six digit pass code to lock it. A. How many digits could you choose from for the first number of the pass code if it cannot begin with 0 or 1? How many digits could you choose from for the second number of the pass code? Assume that the numbers cannot be repeated. How many different six digit pass codes are possible if the numbers in the pass code cannot be repeated?

Solutions

Expert Solution

We want to make a 6 digits pass code.

We have 0-9 i.e. 10 numbers to choose from, for every digit.

1) However, for the first digit we cannot choose 0 or 1. Therefore, we are left with the remaining 8 choices from 2-9.

2) Now, if the numbers cannot be repeated, I cannot choose the number I selected for the first digit again. But, I can now choose 0 or 1. This means, I can not choose the digit I chose before, but, all the remaining 9 digits are available. So, we have 9 choices for the second digit.

3) Summarising, we have 8 choices for first digit.

9 choices for second digit.

Now, for the third digit I'm left with 8 choices(excluding the digits I chose for the first two digits)

Similarly, for the fourth digit, I will have 7 choices and so on.

Total number of ways = 8×9×8×7×6×5 = 120960


Related Solutions

a. How many 3-digit numbers can you make using the digits from the set of (3,...
a. How many 3-digit numbers can you make using the digits from the set of (3, 4, 5, 6, 8, 2, 7) without repetitions? b. How many numbers can be made with the digits from the set of (0, 3, 5, 7, 8, 4, 9), which are greater than 0 and less than a thousand (repetitions are allowed)?
a) How many 3-digit numbers are there? b) How many 3-digit numbers can you make with...
a) How many 3-digit numbers are there? b) How many 3-digit numbers can you make with all three digits different? c) How many of the numbers is part b) are odd?
For a 3 digit code with distinct numbers. (0-9) How many combinations to get the code...
For a 3 digit code with distinct numbers. (0-9) How many combinations to get the code (max)? How many combinations if you remember the middle number is 1?
Q1 / Based on the set A={1,2,3,5,7} solve the following questions (a) - How many two-digit...
Q1 / Based on the set A={1,2,3,5,7} solve the following questions (a) - How many two-digit numbers can be formed from the set A? (without restrictions) (b)- How many even numbers of two digits can be formed from the set A? (without restrictions)    ________________ Q2 / A die is tossed. What is the probability of getting a multiple of 4 or a multiple of 2. ________________ Q3 / In a group of 50 students, 27 studying Mathematics, 35 studying...
1a) How many five digit number can be written with the digits 1,2,3,4 if there is...
1a) How many five digit number can be written with the digits 1,2,3,4 if there is an even number of twos? 1b) How many five digit number can be written with the digits 1,2,3,4 if two can be used either 4 times, or none?
Java question - How can the code below be modified to accept multi digit input. String...
Java question - How can the code below be modified to accept multi digit input. String e = "1+9+8"; int r = e.charAt(0)-'0'; for (int i = 1; i < e.length(); i+=2){    if (e.charAt(i) == '+'){ r += e.charAt(i+1)-'0'; } else{ r -= e.charAt(i+1)-'0'; } The only built in String methods that can be used are lowercase(), length(), and charAt(). Arrays and parseInt() cannot be used. So we want to know how we can get an answer if a...
Question1: How many of the 5-digit numbers that can be written with the numbers 1, 2,...
Question1: How many of the 5-digit numbers that can be written with the numbers 1, 2, 3, 4 contain both numbers 1 and 2? question2: 3 married couples shown as a1a2, b1b2, c1c2 want to sit in a row. How many different ways can these married couples sit in a row, without a husband and a wife from the same couple coming together?
Six textbooks are to be arranged on a shelf. In how many ways can they be...
Six textbooks are to be arranged on a shelf. In how many ways can they be arranged? A) 6p4 360 ways B) 6p3 120 ways C) 6c6 1 way D) 6p6 720 ways
Question 1. Airports can be identified globally with a 3-digit letter code (e.g., YYZ for Toronto...
Question 1. Airports can be identified globally with a 3-digit letter code (e.g., YYZ for Toronto Pearson, and CDG for Charles de Gaulle in Paris). All possible combinations of letters A-Z can be used. 1a. What is the probability of selecting an airport at random and it being Montreal’s YUL? 1b. What is the probability of selecting one of London England’s six major airports? 1c. What is the probability of selecting an airport with two letter Y’s, (e.g., YYZ, YXY)?...
Write R code: Here are the first six observations from the prostate data set found in...
Write R code: Here are the first six observations from the prostate data set found in the faraway library. Use help(prostate) to describe the dataset and the variables in the data sets. obs lcavol lweight age lbph svi lcp gleason pgg45 lpsa 1 -0.579819 2.7695 50 -1.38629 0 -1.38629 6 0 -0.43078 2 -0.994252 3.3196 58 -1.38629 0 -1.38629 6 0 -0.16252 3 -0.510826 2.6912 74 -1.38629 0 -1.38629 7 20 -0.16252 4 -1.203973 3.2828 58 -1.38629 0 -1.38629 6...
ADVERTISEMENT
ADVERTISEMENT
ADVERTISEMENT