14
$\begingroup$

Inspired by this question

Given a $5 \times 5$ grid of white squares, can you paint $8$ of the squares black so that each white square is orthogonally adjacent to exactly one black square?

                                                                       enter image description here

$\endgroup$

2 Answers 2

13
$\begingroup$

It is

possible.

Proof:

    XX...
    ...XX
    .....
    XXX..
    ....X
 

$\endgroup$
2
  • $\begingroup$ Did you just brute force it or is there a logical path to reach the solution above ? $\endgroup$ Commented Jun 1, 2021 at 9:06
  • $\begingroup$ @HemantAgarwal just take a row of n black squares and think about the profile it covers. $\endgroup$
    – loopy walt
    Commented Jun 10, 2021 at 21:44
-6
$\begingroup$

Other Solutions:

Here are a few ways to get more than 8:

9-

. x x x .
. . . . .
. x x x .
. . . . .
. x x x .

10 (Inspired by Loopy Walt's solution)-

x x . . .
. . . x x
x x . . .
. . . x x
x x . . .

15-

x x x x x
. . . . .
x x x x x
. . . . .
x x x x x

$\endgroup$
2
  • 3
    $\begingroup$ These are not correct, all three have white squares which are adjacent to two black squares. In the last one, all of the white squares are adjacent to two black squares. $\endgroup$
    – hexomino
    Commented May 24, 2021 at 15:10
  • 8
    $\begingroup$ All of these have the wrong number of black squares, and all have white squares with two black neighbours instead the one. For the maximum number of coloured squares, you could have used the trivial solution with no white squares, but that isn't what OP was asking, either. (Hi, and welcome to PSE, we tend to be a bit nitpicky about following the exact rules given in puzzles, please try to tolerate us and do have fun :-) $\endgroup$
    – Bass
    Commented May 24, 2021 at 15:13

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Not the answer you're looking for? Browse other questions tagged or ask your own question.