I have a question:
A $2 \times n$ rectangle is to be paved using $1 \times 2$ tiles, (which can be placed either vertically or horizontally), and $2 \times 2$ tiles. The $1 \times 2$ tiles come in four colors and the $2 \times 2$ tiles come in nine colors. Finally, if two $1 \times 2$ tiles are placed horizontally to create a $2 \times 2$ square, they cannot be the same color.
If $A$ represents the number of ways to pave the rectangle, then how do I find an explicit formula for $A$? I believe that I need to find and solve a recurrence relation to get this formula, but am having trouble accomplishing that due to the restrictions (eg, the colors of the tiles).
All I have so far is that (if I ignore the colours), I get $a_n=a_{n−1}+2a_{n−2}$. However, I don't understand where to go from there or how to use the fact that there are four colours of $1 \times 2$ tiles and nine colours of $2\times 2$ tiles. Any advice?
Update: I have been trying to solve this question using Arnaud Mortier's hint, but I have still not been successful. Any other suggestions?
Hint: To build a tiling of size $n\times 2$ and which starts with a vertical tile you have to
These choices are independent, so the correct recurrence relation starts with $$A_n=4A_{n-1}+\ldots$$