A probability problem by Darel Gunawan

A 2 × 10 2\times 10 rectangle is about to be covered with 1 × 2 1\times 2 rectangles.
In how many ways can this be done?


The answer is 89.

This section requires Javascript.
You are seeing this because something didn't load right. We suggest you, (a) try refreshing the page, (b) enabling javascript if it is disabled on your browser and, finally, (c) loading the non-javascript version of this page . We're sorry about the hassle.

1 solution

Let f ( n ) f\left( n \right) be the number of ways to cover a n × 2 n\times 2 rectangle, for n 1 n\ge 1 , with 1 × 2 1\times 2 rectangles. Clearly, f ( 1 ) = 1 f\left( 1 \right) =1 and f ( 2 ) = 2 f\left( 2 \right) =2 .

Now, consider a n × 2 n\times 2 rectangle, for n 3 n\ge 3 . Firstly, draw an 1 × 2 1\times 2 on an end, as follows:

Consider the ( n 1 ) × 2 (n-1)\times 2 rectangle of the right side; the number of ways to cover it is given by f ( n 1 ) f\left( n-1 \right) .

Secondly, draw an 2 × 1 2\times 1 rectangle on an end, as follows:

The space below (or above) only can be covered by another 2 × 1 2\times 1 . Consider the ( n 2 ) × 2 (n-2)\times 2 rectangle of the right side; the number of ways to cover it is given by f ( n 2 ) f\left( n-2 \right) .

If you place a 2 × 1 2\times 1 rectangle on another position of the n × 2 n\times 2 , the left end of the n × 2 n\times 2 rectangle can be covered in one of the two ways that we have studied, so another possible configuration will have been included in f ( n 2 ) f\left( n-2 \right) or f ( n 1 ) f\left( n-1 \right) , therefore, the number of ways to cover a n × 2 n\times 2 rectangle is recursively given by the following expression:

f ( n ) = f ( n 1 ) + f ( n 2 ) f\left( n \right) = f\left( n-1 \right)+ f\left( n-2 \right)

We see that this is how Fibonacci sequence is defined (but f ( n ) f\left( n \right) would be f n + 1 { f }_{ n+1 } ). Hence, we are looking for f ( 10 ) f\left( 10 \right) , which is f 11 = 89 { f }_{ 11 }=89 .

0 pending reports

×

Problem Loading...

Note Loading...

Set Loading...