30.11.2012 Views

DISCRETE MATHEMATICS THROUGH GUIDED DISCOVERY ...

DISCRETE MATHEMATICS THROUGH GUIDED DISCOVERY ...

DISCRETE MATHEMATICS THROUGH GUIDED DISCOVERY ...

SHOW MORE
SHOW LESS

You also want an ePaper? Increase the reach of your titles

YUMPU automatically turns print PDFs into web optimized ePapers that Google loves.

a way that each n-string differs from the previous one in exactly<br />

one place. Describe how to get your Gray Code for 3-strings from<br />

some Gray code for 2-strings.<br />

(b) Can you describe how to get some Gray Code for 4-strings from<br />

the one you found for 3-strings?<br />

(c) Give a written description of the inductive step of an inductive<br />

proof that of the existence of Gray codes for n-strings for all n ≥ 1.<br />

One of the original uses of Gray codes was to reduce coding errors in a<br />

pulse communication system. Frank Gray of Bell Labs received a patent for<br />

Gray codes2 in 1953, but this type of sequence is now known to have been<br />

used even earlier (in the 1870s) in a telegraph device by Émile Baudot, a<br />

French engineer.<br />

→64. Use the definition of a Gray Code to find a bijection between the evensized<br />

subsets of [n] and the odd-sized subsets of [n].<br />

Hint. Consider the characteristic functions of subsets.<br />

Figure 2.1: The Towers of Hanoi Puzzle<br />

•65. The Towers of Hanoi Puzzle (refer to Figure 2.1) has three rods rising<br />

from a rectangular base and n ≥ 1 rings of different sizes. At the<br />

beginning of the puzzle all rings are stacked on one rod in order of<br />

decreasing size. A legal move consists of moving a ring from one rod<br />

to another in such a way that the ring does not land on a smaller one.<br />

Let mn be the (minimal) number of moves required to move all the<br />

rings from the initial rod to any other rod. Find mn for all n ≤ 3 and<br />

use those solutions to develop a strategy for obtaining the number of<br />

moves for N + 1 rings from the number of moves for N rings. Describe<br />

this as an inductive process. Guess a formula for mn and use induction<br />

to show your guess is correct.<br />

2 Pulse Code Communication, United States Patent Number 2632058 (March 17, 1953)<br />

31

Hooray! Your file is uploaded and ready to be published.

Saved successfully!

Ooh no, something went wrong!