We have a board like this:
(16 column, 10 row)
We are gonna paint n number of box for each column.
And there is one rule:
- There shouldn't be a 2x2 white square.
What is the maximum value of n for this?
I painted like this: 
I thought it's not 10 obviously, and it is not 9 or 8 either, because I couldn't place like that. So it's 7. But I want to know a proper way to solve this (if there is a way), other than just trying numbers until I found the right one. (Considering, this is the right answer of course...)