Easy Solution to the Tower of Hanoi, Hack Hanoi

Sdílet
Vložit
  • čas přidán 15. 06. 2024
  • Easy way to solve the puzzle Tower of Hanoi, Recursive sequence, programming algorithm. Easy solution and why it works.
    Some of my favorite resources: www.amazon.com/shop/colfaxmath (paid link)
    Some of my favorite tools: www.amazon.com/shop/colfaxmath (paid link)

Komentáře • 15

  • @duanedonaldson2262
    @duanedonaldson2262 Před 2 lety +3

    With 3 discs, the idea is to move the discs to the last peg, not just any peg. We start at the source peg, the center is the aux peg and the last peg is the destination peg. In your case, you can call this a rule or a goal. Programming algorithms are more strict than what you have mentioned in the video. I like your ODD and EVEN number of peg moves, that algo can be reversed to arrive at my first statement. If you want to show a circle-type move, you can make a game board with the pegs in a triangle shape. Thanks so much.

  • @PokeShadow77
    @PokeShadow77 Před 3 lety +4

    This video is surprisingly relaxing to listen

  • @dariuscarter5302
    @dariuscarter5302 Před 2 lety +3

    do you automatically use the odd and even rule or trick on the largest number of discs in that row?

    • @ColfaxMath
      @ColfaxMath  Před 2 lety +1

      You don't have to, I like it to show how you can create an algorithm to solve

  • @BlaZePlayZeYT
    @BlaZePlayZeYT Před 2 lety +5

    Can we transfer A to B, u did that right sir, but when I saw the rule in Google, they showed we have to transfer from A to C, the one u did is A to B, is that also right sir???? Ur explanation is soo good and easy thx for the tutorial

    • @ColfaxMath
      @ColfaxMath  Před 2 lety +1

      Yes, there are multiple ways to do this problem. Thank you

    • @BlaZePlayZeYT
      @BlaZePlayZeYT Před 2 lety +1

      @@ColfaxMath thank u so much sir🙏🏻🙏🏻🙏🏻I really learned today to solve it

  • @adamhughes2228
    @adamhughes2228 Před 2 lety +3

    The objective is to get them to the other side not the middle…

  • @jovelfaithjoypedro5432
    @jovelfaithjoypedro5432 Před 3 lety +2

    odd 1
    even 2

  • @kyletree713
    @kyletree713 Před rokem +1

    Don't get how this has anything to do with math instead of saying you CAN use math like many other things to solve it