`On Fri, 11 Apr 2003, John Bradford wrote:> [Puzzle]>> Say the power supply had five 5.25" drive power connecters, how many 1> into 3 power cable splitters would you need to connect all 4000 disks?never seen a 3 into 1, but we'll play along.every 3 in 1 connector you use, triples your connections, go twolevels deep, it's 3 * 3 = 9, pretty obvious.I'm just going to use one connector off the power supply for now.3 ^ 7 = 2187So we'll use another two off the PS and not go as deep2 * (3 ^ 6) = 14582187 + 1458 = 3645Need another 4000 - 3645 = 3553 ^ 5 = 243.Need another 355 - 243 = 112Use another connector3 ^ 4 = 81Need another 112 - 81 = 31.  So close but out of first level connectors.So I put a 3 way splitter on one of those.3 ^ 3 = 27.  argh!Need another 31+1(had to use up a connector) - 27 = 5.So I put another 3 way splitter. 5 + 1 = 6.3 ^ 1 = 3.  Need another three.  Take one off, pass it around, and we'realmost done.  Add another 3 way splitter, we've got two connectors leftover, and everything is plugged in.  Turn on the ps.  Boom, done.Now, to count up the total.level 1 = 1	    = 1level 2 = 1 + 3	    =  4Level 3 = 4 + 9     = 13Level 4 = 13 + 27   = 40Level 5 = 40 + 81   = 121Level 6 = 121 + 243 = 324Level 7 = 324 + 729 = 1053So anyways, I used one level 7, two level 6's, one level 5, one level 4,one level 1, one level 3, one level 1, another level 1 and finally anotherlevel 1total of 1053 + 324 + 324 + 121 + 40 + 1 + 13 + 1 + 1 + 1I come up with 1879.If i'm too high, that's to account for the fact you broke some connectorsat some point, so you used the spares.If i'm too low, that's to account for the fact that out of 4000 drives, afew are going to be DOA and you couldn't hook them up anyways.Someone PLEASE tell me the simpler way to do this.Mike-To unsubscribe from this list: send the line "unsubscribe linux-kernel" inthe body of a message to majordomo@vger.kernel.orgMore majordomo info at  http://vger.kernel.org/majordomo-info.htmlPlease read the FAQ at  http://www.tux.org/lkml/`