Problem #PRU-65888

Problems Set theory and logic Mathematical logic Mathematical logic (other) Theory of algotithms Theory of algorithms (other)

Problem

Hannah Montana wants to leave the round room which has six doors, five of which are locked. In one attempt she can check any three doors, and if one of them is not locked, then she will go through it. After each attempt her friend Michelle locks the door, which was opened, and unlocks one of the neighbouring doors. Hannah does not know which one exactly. How should she act in order to leave the room?