Problem 5

If \(n \geq 1\), how many ways are there of tiling a \(3\times n\) rectangle with \(1\times 2\) tiles?


Slide Notes

Glossary

All Slides

Observation when \(n\) is odd

Case: \(n=2\)

What is the number of ways of tiling a \(3\times 2\) rectangle with \(1\times 2\) tiles?

Case: \(n=4\)

What is the number of ways of tiling a \(3\times 4\) rectangle with \(1\times 2\) tiles?

General case

 

 

 

Arrangement 1

There are \(h(n-2)\) possible tilings of the top \(3 \times n-2\) section.

Arrangements 2 and 3

Arrangement 2

 

 

 

  A horizontal tile on the left with two side by side vertical tiles on top, and a vertical tile to the right. The line of height 2 cuts through the side by side vertical tiles.

General pattern

This means that \(h(n)=3h(n-2)+2h(n-4)\ +\)2 stacked vertical tiles on the right and a horizontal tile with 2 sets of adjacent vertical tiles stacked on top on the left leaving a 1 by 1 gap directly on the right. \(+\) Arrangement 2b reflected left to right.

End of the pattern

A \(3\times 2\) rectangle on top in the second-last arrangements

General solution

This gives

\[h(n) = 3h(n-2)+2h(n-4)+2h(n-6)+2h(n-8)+ \cdots + 2h(4)+2h(2)+2\]

Improved solution

\[\begin{eqnarray*} h(n) =&\ \class{timed in4}{3h(n-2)}\ \class{timed in4}{+} & \class{timed in4}{2h(n-4)+2h(n-6)+2h(n-8)+ \cdots + 2h(4)+2h(2)+2} \\ h(n-2)=&\ & \class{timed in1}{3h(n-4)+2h(n-6)+2h(n-8)+ \cdots + 2h(4)+2h(2)+2} \end{eqnarray*}\]

 

Paused Finished
Slide /