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?
Previous iteration: #750725 (answer in #750751 with intuitive argument in #750897)
So all I have is this:
If there were only two bulbs, it'd be easy: turn one on and keep one off, go into room and check.
Problem is when 3, because there are two either dark or shining and we can't figure out which is which ...except if the light bulb can get warm (i.e., we use a third instrument to match the number of variables).
So: turn two on, leave them for a minute. Turn one of them off, then go into the room. There will be one light on, which obvs corresponds to the switch that's on. Now we touch the two dark ones, and whichever is still a little bit hot corresponds to the switch we had on but turned off. (The cold dark one = the switch we never turned on)
Am I getting, um, warm???
reply
276 sats \ 1 reply \ @Aardvark 3 Nov
My friend couldn't remember if he left the light in in his garage on or not. He continually had to keep checking. Eventually he put a light sensor on a raspberry pi, and had it send him push notifications if the garage light was left on.
So clearly, the best option is to get 3 raspberry pi's with light sensors, and put them in the rooms.
reply
that is the best answer...!
reply
Pick a switch A. Continually turn it off and on for a really long time (we want the light bulb to burn out). Turn on switch B. Switch C is turned off.
You go into other room.
Burned bulb was controlled by A, lit one by B, non-burned unlit by C.
reply
I have one for you:
A friend of mine has 2 daughters (not twins) under 10 years old and wants you to guess the sum of their ages, but the only clue he gives is that the last digit of the product of their ages is the number of their house's door.
reply
deleted by author
reply
Is that because 1 as last number is the only one that gives a unique solution to multiplying two non equal values below 10? E.g. 11, 31, 41,... can't be obtained in such a way?
reply
deleted by author
reply
I like this problem. The answer only hit me after i read your suggestion though. I assumed trolling at first...
reply
deleted by author
reply
Correct. Remember, he didn't ask for her ages, he asked for the sum of it. In both possible solutions, the sum is the same, 10 ;)
reply
Is there any assumed initial state of the lights i.e. are they all assumed to be off before we start fiddling?
reply
0 sats \ 0 replies \ @OT 3 Nov
Leave the door open between the rooms.
reply