Ask your own question, for FREE!
Mathematics 24 Online
OpenStudy (anonymous):

In the Tower of Hanoi problem, suppose you have three pegs and n disks. How many different arrangements are there of the n disks on three pegs so that no disk is on top of a smaller disk?

OpenStudy (kinggeorge):

Someone correct me if I'm doing this completely wrong. I believe the trick is to start with the bottom disk. You have 3 places to put it. Now the next largest disk, you still have 3 places to put this. Continue on, and each disk you will have exactly 3 choices of where to put it. Thus, there should be \[3^n\]arrangements.

OpenStudy (kinggeorge):

And since larger disks must be below smaller disks, in every possible setting of the towers of hanoi, you can place the largest disk first, then the second largest, and so on.

OpenStudy (experimentx):

isn't it 2^n - 1 ?? I remember doing 2^n-1 ... though i never thought behind it??

OpenStudy (kinggeorge):

That's the minimum number of steps it takes to solve, not the different arrangements.

OpenStudy (anonymous):

okay thank you.. i'm was thinking wrong, my first intuition was that the first peg can have n disks, the second, another n, and so continuing on this fashion i thought it was n^3. looks like i thought the other way around, I always get confused on these kinds of problems..

OpenStudy (anonymous):

i was*

OpenStudy (kinggeorge):

I still have that problem sometimes :/

OpenStudy (anonymous):

haha but I think you got this one right though, thanks. it's like the question of how many functions from a set of m elements to n elements are there. haha

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!