Too lazy on a Sunday night to go for an actual math problem.
I'm sure many of you know this problem already. But if you haven't, here it is:
You are in a room with three switches. Each switch corresponds to one of three light bulbs in the next room, but you don’t know which switch goes to which bulb. You can turn the switches on and off as you like, but you may only go into the other room once.
How can you determine which switch controls which light bulb?