Therefore, by strong M.I., the statement is true for all n≥2
\pagebreak
5
a
For the base case 2 x 1, there is 1 way
For the base case 2 x 2, there are 3 ways
For 2 x 3, there are 3 + 2 = 5 ways
For 2 x 4, there are 5 + 6 = 11 ways
For each step, since we can place 1x2 or 2x2 tile carpets, we can go back either 1 or 2 steps
For going back 1 step, we have 1 way to add 1x2 carpets for each of the cases, i.e. an−1 ways
For going back 2 steps, excluding the case where we place 1x2 carpet at the last step (covered in going back 1 step), we have 2an−2 ways to do so
Therefore, the recursive formula for an is
an=an−1+2an−2
b
Basis
a1=321+1−(−1)1+1=322−(−1)2=1
a1 is true
Inductive Hypothesis
Assume ak is true for k<n, i.e. ak=32k+1−(−1)k+1
k choices for the 1st sector, k−1 choices for the 2nd sector (cannot repeat 1st choice)
a2=k(k−1)
k choices for the 1st sector, k−1 choices for the 2nd sector (cannot repeat 1st choice), k−2 choices for the 3rd sector (cannot repeat 1st or 2nd choice)
a3=k(k−1)(k−2)
b
For the 1st sector we have k choices, then for the 2nd to the nth sector we have (k−1) choice for each of them, however we have to exclude the case where the nth sector is the same color as the 1st sector, therefore subtracting an−1