This is inspired by bonanova's light switch problem.
Suppose that there are 32 light switches in room A, which corresponds to 32 light bulbs in room B. Let's say that each switch can either be set in an "Up" or "Down" position. Which position corresponds to the "On" status in the next room is unknown for every switch. The game consists of the following terms. At each turn, you are allowed to set all 32 switches in any configuration you pick. You can not see the light bulbs in room B, but an official will tell you how many light bulbs are on at the end of every turn. The game ends when you can turn all 32 lights on.
1) Suppose that on your first turn, all the switches were in a random up down configuration, and the official tells you that 3 lights are on. What is the minimum number of turns required to turn all the lights on, even in the worst case ?
2) Suppose that the switches are set in random positions. What is the minimum number of turns required before you are guaranteed to win?
Question
bushindo
This is inspired by bonanova's light switch problem.
Suppose that there are 32 light switches in room A, which corresponds to 32 light bulbs in room B. Let's say that each switch can either be set in an "Up" or "Down" position. Which position corresponds to the "On" status in the next room is unknown for every switch. The game consists of the following terms. At each turn, you are allowed to set all 32 switches in any configuration you pick. You can not see the light bulbs in room B, but an official will tell you how many light bulbs are on at the end of every turn. The game ends when you can turn all 32 lights on.
1) Suppose that on your first turn, all the switches were in a random up down configuration, and the official tells you that 3 lights are on. What is the minimum number of turns required to turn all the lights on, even in the worst case ?
2) Suppose that the switches are set in random positions. What is the minimum number of turns required before you are guaranteed to win?
Link to comment
Share on other sites
16 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.