Professional Documents
Culture Documents
Tower of Hanoi Mikgd Presentation 2019
Tower of Hanoi Mikgd Presentation 2019
Tower of Hanoi Mikgd Presentation 2019
The
The puzzle
puzzle starts
starts with
with the
the disks
disks neatly
neatly
stacked
stacked in
in order
order of of size
size on
on one
one rod,
rod, the
the
smallest
smallest at
at the
the top,
top, thus
thus making
making aa conical
conical
shape.
shape.
SAMPLE SET OF TOWER OF HANOI
4294967296
264 = 232 x 232 x
4294967296
2 5 7 6 9 8 0 3 7 7 6
3 8 6 5 4 7 0 5 6 6 4 0
8 5 8 9 9 3 4 5 9 2 0 0
3 0 0 6 4 7 7 1 0 7 2 0 0 0
2 5 7 6 9 8 0 3 7 7 6 0 0 0 0
3 8 6 5 4 7 0 5 6 6 4 0 0 0 0 0
1 7 1 7 9 8 6 9 1 8 4 0 0 0 0 0 0
3 8 6 5 4 7 0 5 6 6 4 0 0 0 0 0 0 0
8 5 8 9 9 3 4 5 9 2 0 0 0 0 0 0 0 0
1 7 1 7 9 8 6 9 1 8 4 0 0 0 0 0 0 0 0 0
264 – 1 = 1 8 4 4 6 7 4 4 0 7 3 7 0 9 5 5 1 6 1 65
Trillions Billions Millions
18446744073709551615
264 1
5.85x 1011 years
(60 x 60 x 24 x 365)
585 000 000 000 years
Seconds in a year.
3 2
3
1 2
1
3 2
1
3 2
1
3 2
1
3 2
1
3 2
1
3 2
3
1 2
3
1 2
3
1 2
3
1 2
3
1 2
3
1 2