Problem

5. The light switch puzzle

Light switch puzzle

Statement

You’re in a room with three switches and a door. Next door is a room with one light bulb, currently off. You can flip switches as you like, but you may only open the door once. How do you figure out which switch controls the bulb?