SOLUTION: How many 3-number combinations might a student have to try in order to open a lock if the numbers from 0 to 39 appear on the dial? Assume that the second number may be the same as

Algebra.Com
Question 926887: How many 3-number combinations might a student have to try in order to open a lock if the numbers from 0 to 39 appear on the dial? Assume that the second number may be the same as the first (since the dial will be rotated in a different direction), but the third number must be at least 5 away from the second.
Answer by Edwin McCravy(20060)   (Show Source): You can put this solution on YOUR website!
There are 40 ways to choose the first number
and there are 40 ways to choose the second number.

Now we take some examples to determine how many choices there are for 
the third number 

If the second number is 23, then the 3rd number cannot be any of these
9 numbers 19,20,21,22,23,24,25,26,or 27, since they are not at least 5 
numbers away from 23.  Same for all other 40 second numbers. 

Let's look at a second example which includes some on both sides of 0.
If second number is 2, we couldn't choose any of the 9 numbers 38,39,0,1,2,3,4,5,6.

So thats 40-9 or 31 choices for the 3rd number.

Answer 40*40*31 = 49600 ways.

Edwin


RELATED QUESTIONS

Hi can someone help me solve this please? I got the first answer right on figuring out... (answered by ikleyn)
Suppose a “combination” lock has the numbers 0 to 39 on it. In order to open the lock, a... (answered by Alan3354)
The student council are running a guess the combo contest to win a locker full of candy.... (answered by Alan3354)
Suppose a "combination" lock has the numbers 0 to 39 on it. In order to open the lock, a... (answered by greenestamps)
The combination bike lock has four wheels, each of which has the numbers 0 through 13.... (answered by ikleyn)
to open a combination lock, you must dial a 3-digit combination using the digits 0-39.... (answered by stanbon,Alan3354)
stan..if you can help me out once more i would appreciate so much :) a combination lock... (answered by Alan3354)
A combination lock uses the numbers from 1 to 60. How many unique three-number lock... (answered by greenestamps)
Anna forgot the code of a 3-digit lock on her case (all digits ranging from 0 to 9).... (answered by anand429)