You have a supply of three kinds of tiles: two kinds of 1 Ã 2 tiles and

Question:

You have a supply of three kinds of tiles: two kinds of 1 × 2 tiles and one kind of 1 × 1 tile, as shown in Figure 4.30.

Figure 4.30

Let tn be the number of different ways to cover a 1 × n rectangle with these tiles. For example, Figure 4.31 shows that t3 = 5.
(a) Find t1, . . . , t5.

(Does t0 make any sense? If so, what is it?)
(b) Set up a second order recurrence relation for tn.
(c) Using t1 and t2 as the initial conditions, solve the recurrence relation in part (b). Check your answer against the data in part (a).Figure 4.31

The five ways to tile a 1 × 3 rectangle

Fantastic news! We've Found the answer you've been seeking!

Step by Step Answer:

Related Book For  book-img-for-question
Question Posted: