## A thousand wires and a tower.

A forum for good logic/math puzzles.

Moderators: jestingrabbit, Moderators General, Prelates

DrStalker
Posts: 271
Joined: Thu Aug 30, 2007 8:15 am UTC
Location: Sydney

### A thousand wires and a tower.

A thousand wires hang on a very high tower, so high that you cannot see which top belongs with what bottom. This is something you are interested in knowing. You have a battery and a light bulb which will light up if two wires connect it to the battery with appropriate polarity (i.e. the battery and bulb each have two contact points, and one of each is + and the other side is -). Wires may have their ends tied together, and you can see the bulb light up even if you are at the opposite end of the tower. Since the tower is so high, you want to minimize the number of times you have to climb up and/or down the ladder, regardless of how much you have to do while you are at the top or bottom. What is the minimum number of traversals required?

A really simple way and inefficient way wrote:
I'll call one end A, and one end B and the wire ends will then be A1,A2...A1000 and B1,B2...B1000.

Start at the top. Hook the bulb to two wires (A1 and A2). Climb down. Try all wire combinations until you find the B ends for A1 and A2 (polarity will let you tell which is which once you have the pair) Climb up, put the bulb on A3 and A4. Climb down. Test again. Repeat.
Total trips: 499 (no need to climb back to the bulb after the last test.)

There are two types of people in the world: 1) those that can extrapolate from incomplete data.

Maurog
Posts: 842
Joined: Tue Jul 10, 2007 7:58 am UTC

### Re: A thousand wires and a tower.

I think it should be possible in 10 trips.
Slay the living! Raise the dead! Paint the sky in crimson red!

DrStalker
Posts: 271
Joined: Thu Aug 30, 2007 8:15 am UTC
Location: Sydney
I think it can be done in 9, but I'll need to write it up. I'll write up the 19 and 11 trips versions that I went through getting to that result too.
Last edited by DrStalker on Mon Sep 17, 2007 9:21 am UTC, edited 2 times in total.
There are two types of people in the world: 1) those that can extrapolate from incomplete data.

skeptical scientist
closed-minded spiritualist
Posts: 6142
Joined: Tue Nov 28, 2006 6:09 am UTC
Location: San Francisco
Your spoiler hiding skills are WEAK! Try [color=#F0F0F0].
I'm looking forward to the day when the SNES emulator on my computer works by emulating the elementary particles in an actual, physical box with Nintendo stamped on the side.

"With math, all things are possible." —Rebecca Watson

DrStalker
Posts: 271
Joined: Thu Aug 30, 2007 8:15 am UTC
Location: Sydney
Speaking of which, this board would really do with proper spoiler tags.
There are two types of people in the world: 1) those that can extrapolate from incomplete data.

jestingrabbit
Factoids are just Datas that haven't grown up yet
Posts: 5967
Joined: Tue Nov 28, 2006 9:50 pm UTC
Location: Sydney
DrStalker wrote:Speaking of which, this board would really do with proper spoiler tags.

We do okay when people read our policy. Its stickied at the top of the logic puzzles forum. Next time you start a big puzzle, start a solution thread at the same time please. I've just spent quite a while doing thread splits that wouldn't have been necessary if you had.