I'm working on a homework assignment involving recursion and I'm having trouble finding an easy way to determine the initial conditions. Heres the problem:
We want to tile ann×1 strip with tiles of three types: 1×1 tiles that are dark-blue, light-blue,and red; 2×1 green tiles, and 3×1 sky-blue tiles. Now give a formula with initial conditions for the number of tilings, considering that blue tiles cannot be next to each other.
I can understand that the recurrence equation is:
$B_n = B_{n-1}+3B_{n-2}+2B_{n-3}+B_{n-4}+B_{n-5}$
And I've found initial conditions for
$B_0=1$ $B_1 = 3$ $B_2 = 6$ $B_3 = 17$
However, I found these but actually writing down all the possible combinations of tiles, but $B_4$ is a huge possible list. Is there some method of combinatorics or permutations I can use to find the initial conditions for $B_4$?
Wouldn't $B_3$ be $18$ and not $17$?