You have a white grid of size
a) 9x9
b) 10x10
and you are asked to paint some squares black. Your generous friend has given you a challenge:Can you paint them so that each white square has only one adjacent black square?
After some puzzling around, you proudly present to your friend a piece of paper showing your answers.
What did you write down?
Good luck!
⬜⬜⬜⬜⬜⬜⬜⬜⬜
⬜⬛⬛⬜⬜⬜⬛⬛⬜
⬜⬛⬛⬜⬜⬜⬛⬛⬜
⬜⬜⬜⬜⬜⬜⬜⬜⬜
⬜⬜⬜⬜⬛⬜⬜⬜⬜
⬜⬛⬜⬜⬜⬜⬜⬛⬜
⬜⬛⬛⬜⬜⬜⬛⬛⬜
⬜⬜⬛⬛⬛⬛⬛⬜⬜
⬜⬜⬜⬜⬜⬜⬜⬜⬜
Hint 1:
Observe how many squares are adjacent to a black square around the grid!