Solution to Tower of Hanoi puzzle encoded in pairs with the moves (1,2),(2,3),(3,1),(2,1),(3,2),(1,3). The disks are moved from peg 1 to 2. For a tower of k disks use the first 2^k-1 number pairs.

A101608

Solution to Tower of Hanoi puzzle encoded in pairs with the moves (1,2),(2,3),(3,1),(2,1),(3,2),(1,3). The disks are moved from peg 1 to 2. For a tower of k disks use the first 2^k-1 number pairs.

Terms

    a(0) =1a(1) =2a(2) =1a(3) =3a(4) =2a(5) =3a(6) =1a(7) =2a(8) =3a(9) =1a(10) =3a(11) =2a(12) =1a(13) =2a(14) =1a(15) =3a(16) =2a(17) =3a(18) =2a(19) =1a(20) =3a(21) =1a(22) =2a(23) =3a(24) =1a(25) =2a(26) =1a(27) =3a(28) =2a(29) =3

External references