Author |
Topic: a problem about elevator (Read 3079 times) |
|
cuckoo
Junior Member
Gender:
Posts: 57
|
|
a problem about elevator
« on: Jul 11th, 2007, 6:01am » |
Quote Modify
|
You are at the bottom of the elevator shaft of a 100 story building. You see 21 wires labeled 1...21. The wires go up to the 100th floor where the ends are labeled A...U, but you don't know how they correspond to the ends at the bottom. You have a battery, a light bulb, and many small wires. How can you determine the pairing between the numbers and letters by only making one trip to the 100th floor and back down? hint: 21 is a triangular number, that is 21=1+2+...+6. can anybody give a solution for any n that is not a triangular number?
|
« Last Edit: Jul 11th, 2007, 6:03am by cuckoo » |
IP Logged |
|
|
|
SMQ
wu::riddles Moderator Uberpuzzler
Gender:
Posts: 2084
|
|
Re: a problem about elevator
« Reply #1 on: Jul 11th, 2007, 10:41am » |
Quote Modify
|
Looks like a variation on the 1000 Wires problem in the hard section. I believe the solution given by jollytall to this variant will work for any number of wires > 2. --SMQ
|
« Last Edit: Jul 11th, 2007, 10:42am by SMQ » |
IP Logged |
--SMQ
|
|
|
cuckoo
Junior Member
Gender:
Posts: 57
|
|
Re: a problem about elevator
« Reply #2 on: Jul 11th, 2007, 9:53pm » |
Quote Modify
|
Great! Thank you! By the way, this website is really cool. I love it! on Jul 11th, 2007, 10:41am, SMQ wrote:Looks like a variation on the 1000 Wires problem in the hard section. I believe the solution given by jollytall to this variant will work for any number of wires > 2. --SMQ |
|
|
|
IP Logged |
|
|
|
|