The questions says, how many ways are there to color a 3 by 3 board with colors red and blue, so that there are no 2 by 2 red squares.
Since I'm required to solve the problem using inclusion-exclusion principle only, I started by making a 3 x 3 board and analyzing how many 2 x 2 boards can it consist of,
+---+---+---+ +---+---+---+
| 0 | 0 | | | | 1 | 1 |
+---+---+---+ +---+---+---+
| 0 | 0 | | | | 1 | 1 |
+---+---+---+ +---+---+---+
| | | | | | | |
+---+---+---+ +---+---+---+
+---+---+---+ +---+---+---+
| | | | | | | |
+---+---+---+ +---+---+---+
| 2 | 2 | | | | 3 | 3 |
+---+---+---+ +---+---+---+
| 2 | 2 | | | | 3 | 3 |
+---+---+---+ +---+---+---+
I assumed that only 4 of the 2 x 2 boxes can be possibly made. There's 4 possible conditions which could lead to a 2 x 2 box with only red color. So, I make the 4 conditions
$C_1 = C_2 = C_3 = C_4$ = 2 x 2 box has red color
N($\bar{C_1}\bar{C_2}\bar{C_3}\bar{C_4}) = S_0 - S_1 + S_2 - S_3 + S_4$
Where $S_0$ is all the possible ways to fill a 3 x 3 board with 2 colors.
$S_1=N(C_1) + N(C_2) + N(C_3) + N(C_4)$
$S_2=N(C_1C_2) + N(C_1C_3) + N(C_1C_4) + N(C_2C_3) + N(C_2C_4) + N(C_3C_4)$
and so on according to the notation of generalization of inclusion exclusion principle.
$\bar{N} = N(\bar{C_1}\bar{C_2}...\bar{C_t}) = N - \sum_{(1≤i≤t)}N(C_i) + \sum_{(1≤i => $S_0 = 2^9$ Because there's 4 possible choices and 2 colors to pick from, using the pigeon hole principle => $S_1$ = $4 \choose 1$ $4 + 2 - 1 \choose 2$ => $S_2$ = $4 \choose 2$$3 + 1 - 1 \choose 1$ => $S_3 = S_4 = 0$ I wanted to know if I'm on the right path