Locked in a dungeon, you are faced with five doors. One of them leads to freedom. The other four will lead you back to the starting room disoriented and confused, so that you will not remember which of the doors you have already tried and have to start again.
How many attempts do you expect to make on the average (statistically) before making it out?
(In reply to re: re: re: Simpler Solution
Yeah, I got it. Serves me right for going the brute-force route.