ok so this problem doesnt quite fit a normal number lock,but hey its close
There are 4 locks you need to crack that each are just one number you need to guess. The locks only use the numbers 1-5. Of course this problem would be definitely solved in 20 quick guesses except for the fact that the MAN found out your breaking in and has randomized the lock in order to try to stall you long enough for the police to arrive. Everytime you guess at a lock you either get it right and it opens or it randomizes again (still from one to 5).
Three questions the first two are pretty easy, the third one is pretty hard I know the answer but Im having trouble proving it.
1. what is the average tries to break the locks
2. You get to the next door and the locking mechanism is the same except... The last two locks have to be opened in a row (if you get lock 3 right you have to get lock 4 right next guess or lock 3 relocks). What is the average now?
3. You get to the next and final door. Millions of dollars in the next room, but this is the hardest lock yet. Its still randomized, but now if you get 4 wrong in a row one of the locks you've already done relocks (if none are unlocked yet nothing happens). locks only lock every 4 youve missed in a row, the 5th or whatever miss doesn't make one lock. Now what is the average?
I hope ive described this aptly but feel free to ask questions.
Question
Guest
ok so this problem doesnt quite fit a normal number lock,but hey its close
There are 4 locks you need to crack that each are just one number you need to guess. The locks only use the numbers 1-5. Of course this problem would be definitely solved in 20 quick guesses except for the fact that the MAN found out your breaking in and has randomized the lock in order to try to stall you long enough for the police to arrive. Everytime you guess at a lock you either get it right and it opens or it randomizes again (still from one to 5).
Three questions the first two are pretty easy, the third one is pretty hard I know the answer but Im having trouble proving it.
1. what is the average tries to break the locks
2. You get to the next door and the locking mechanism is the same except... The last two locks have to be opened in a row (if you get lock 3 right you have to get lock 4 right next guess or lock 3 relocks). What is the average now?
3. You get to the next and final door. Millions of dollars in the next room, but this is the hardest lock yet. Its still randomized, but now if you get 4 wrong in a row one of the locks you've already done relocks (if none are unlocked yet nothing happens). locks only lock every 4 youve missed in a row, the 5th or whatever miss doesn't make one lock. Now what is the average?
I hope ive described this aptly but feel free to ask questions.
Link to comment
Share on other sites
20 answers to this question
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.