SOLUTION: Samir has a combination lock with numbers from 1 to 30. This is the type of lock that requires three numbers to be opened: turn right for the first number, left for the second numb

Algebra.Com
Question 1117550: Samir has a combination lock with numbers from 1 to 30. This is the type of lock that requires three numbers to be opened: turn right for the first number, left for the second number, and right for the third number. Samir remembers the first two numbers, and they are not equal; but he can't remember which one is first and which is second. Also, he has forgotten the third number. What is the greatest number of tries he must make to open the lock?
Answer by solver91311(24713)   (Show Source): You can put this solution on YOUR website!


Arbitrarily choose one of the first two numbers as #1. Attempt to open the lock with the first two numbers in the arbitrarily chosen order and do this once for each possible 3rd number. If the order of the first two numbers is incorrect, this will fail 30 times. Then reverse the order of the first two numbers and try again once for each possible 3rd number. Worst case, this will fail 29 times and be successful on the 30th try. So the absolute maximum number of attempts, given that he never loses his place requiring him to start over, is 59 failures followed by 1 success. 60 tries.

John

My calculator said it, I believe it, that settles it


RELATED QUESTIONS

The door on the computer center has a lock which has five buttons numbered from 1 to 5.... (answered by ikleyn)
A combination lock uses the numbers from 1 to 60. How many unique three-number lock... (answered by greenestamps)
I have a question. So I have a problem that requires me to find the possibilities for... (answered by Alan3354)
7. The door on the computer center has a lock which has five buttons numbered from 1 to... (answered by ewatrrr)
. Someone has arrived at a hotel and his suitcase is locked with a three-digit... (answered by ikleyn)
The correct combination of a lock is first turn right to d1, then turn left to d2, and... (answered by Theo)
A lock has a disk with 31 numbers written around its edge. The combination to the lock is (answered by stanbon)
A lock has a disk with 26 numbers written around its edge. The combination to the lock is (answered by stanbon)
Hi can someone help me solve this please? I got the first answer right on figuring out... (answered by ikleyn)