Ask your own question, for FREE!
Mathematics 23 Online
OpenStudy (mendicant_bias):

OLYMPIAD CHALLENGE 3/320: "(a) N rings having different outer diameters are slipped into an upright peg, the largest ring on the bottom, to form a pyramid. We wish to transfer all of the rings, one at a time, to a second peg, but we have a third (auxiliary) peg at our disposal. During the transfers it is not permitted to place a larger ring on a smaller one. What is the smallest number, k, of moves necessary to complete the transfer to peg number 2?"

OpenStudy (mendicant_bias):

@ganeshie8

OpenStudy (mendicant_bias):

(Don't feel like I *need* this answered or anything, heh, just posted it as a curiosity)

ganeshie8 (ganeshie8):

towers of hanoi ! this is a cool+hard problem

OpenStudy (mendicant_bias):

Yeah, I knew I've seen it somewhere before.

OpenStudy (jtvatsim):

I'm running out of lids...

OpenStudy (mendicant_bias):

I think the most efficient thing would be-LOL

OpenStudy (mendicant_bias):

I think the most efficient thing to do would be like, placing the entire stack on the middle/intended/"final" peg, and then splitting the stack in nearly two on the left and right peg, and then doing something like alternating on and off, I'm not sure.

OpenStudy (jtvatsim):

problem being that you can only move one ring at a time

OpenStudy (mendicant_bias):

But either way, I have no idea how to mathematically prove it, and exhaustion seems like a silly method; there has to be a more elegant way to do this. You can only move one ring at a time? I misinterpreted the prompt.

OpenStudy (jtvatsim):

Yeah, otherwise you can just pick the whole stack up and place it on the middle peg (the goal) k = 1 move for all N.

OpenStudy (mendicant_bias):

There's something else I'm imagining that I'm failing to describe, lol, method-wise.

OpenStudy (mendicant_bias):

You can move the other stacks/not the primary stacks, with multipe rings, though, right? Like if you have two rings on the intended or auxiliary pole, you're allowed to move all of those at once, yes? Otherwise this literally seems impossible to me, unless

OpenStudy (jtvatsim):

I don't think so. But with the condition that we can place smaller on top of larger rings, it is possible. Three rings takes 7 moves to complete for me.

OpenStudy (mendicant_bias):

Yeah, this was the "unless"; and yeah, I can figure out how to do it with so many iterations, but I have no idea how to *prove* that with math.

OpenStudy (jtvatsim):

Yeah, we know that there has to be a connection to the larger/smaller, so there has to be a pattern, it just will be tough to find.

OpenStudy (mendicant_bias):

What we can do is figure out a pattern dependent on N at the very least, and describe it as a series term. Like you said, with three rings, it takes seven moves. How about two, and four?

OpenStudy (mendicant_bias):

(Has no lids, is having to imagine, lol)

OpenStudy (jtvatsim):

(switched to flash cards...) lol

OpenStudy (jtvatsim):

(N,k) = (1,1) (2, 3) (3, 7) (4, 17) <--- this one is questionable...

OpenStudy (mendicant_bias):

You did that really quickly, lol...

OpenStudy (jtvatsim):

I was making a bit of a list...

OpenStudy (jtvatsim):

Now, I can't reproduce the N = 4 one... lol

OpenStudy (jtvatsim):

OK, I think its (4,15)

OpenStudy (jtvatsim):

Obviously, this can't continue :)

OpenStudy (mendicant_bias):

I'm on track behind you trying to visualize it. I think it can continue in that it's possible, but I'd rather not, hah. We can just find out from here. I'm trying to double-check your 4-15 mentally atm, not too far from you.

OpenStudy (mendicant_bias):

We still need to solve the actual problem, though.

Can't find your answer? Make a FREE account and ask your own questions, OR help others and earn volunteer hours!

Join our real-time social learning platform and learn together with your friends!
Can't find your answer? Make a FREE account and ask your own questions, OR help others and earn volunteer hours!

Join our real-time social learning platform and learn together with your friends!