
A simple puzzle
Which white stones, and how many of them, must be removed so that black can capture all remaining white stones?
Bonus: Can the answer be extrapolated to any n x n board?
**SPOILER ALERT**
Short answer:
>!Only two stones need to be removed. For the 13×13 board there are two solutions: one symmetric on the second line (2,4 / 2,10) and all their transpositions, as well as several asymmetric ones, all of which lie within a 3×3 diamond of stones centered at (3,7). Among the asymmetric combinations that work are (3,5 / 2,8), (3,5 / 4,8), (3,9 / 2,6), (3,9 / 4,6), (5,7 / 2,6), and (5,7 / 2,8).!<
>!Bonus (not proven): For a board of size *n*, the minimum number of stones seems to be the ceiling of (n−1)/6. For example, for a 13×13 board we get (13−1)/6 = 2, and for a 19×19 board (19−1)/6 = 3. By contrast, for a 20×20 board we get (20−1)/6 = 3.16, so four stones would need to be removed.!<
>!Similar solutions also seem to work for a matrix that starts with empty corners.!<
**Long answer:**
Single-stone matrices are more resilient than they might appear at first glance, especially diagonal ones. Likewise, if we remove any individual stone starting from the third row onward, the matrix holds and captures do not seem to propagate.
The key for the position to collapse lies in removing an entire row or column. Once all the stones from any single row are removed, it becomes possible to capture all the remaining white stones.
The problem can therefore be reformulated as follows: *What is the minimum number of stones that must be removed in order to capture all the stones of a single row?*
A first possible solution would be to remove the six stones from the second row. A slightly better one is to remove three alternating stones from the first row. There is another interesting solution involving the removal of three stones from the main diagonal: (2,2), (4,4), and (6,6). These solutions work, but they are not optimal.
To find the best solution, we must take into account that removing certain stones can have effects on neighboring stones. The only stones that, when removed individually, allow additional captures are located in the second row. That is why, if we remove the stones at 2,4 and 2,10, two small empty triangles are formed beneath them. Each of these frees up five points (intersections) in the first row. This, in turn, allows us to later capture both corners and the central point of the first row, completely freeing it and enabling the capture of the entire board.
The general scheme for any n × n board is therefore to remove stones from the second row starting at 2,4, every six intersections. This generates the following pattern of empty spaces in the first row, where “o” is either a corner stone or an intermediate stone, and “5” represents the intersections freed beneath the removed stone: o-5-o-5-o …
For example, on a 19×19 board it is enough to remove 2,4 / 2,10 / 2,16, which produces the following pattern in the first row: o-5-o-5-o-5-o which corresponds to the total board length: (5×3 = 15) + 4 = 19.
Therefore, the minimum number of stones that need to be removed on an *n × n* board seems to be the smallest positive integer greater than or equal to (n−1)/6, since each stone removed from the second row allows us to free 5+1 intersections, in addition to the first corner (1+5+1).
However, there is also another very interesting solution that arises from the interaction of removing stones from other rows. Removing individual stones does not seem to affect the whole matrix, but if they are close enough to one another, their effects are amplified.
Let us then imagine a 3×3 diamond of stones centered at 3,7, with its lower vertex touching the first row. If we remove all nine stones of that diamond, two small triangles are formed on each side. These can be captured and, in turn, allow us to reach and capture the corners, completely freeing the first row.
From this follows the second solution: to capture the nine stones of that central diamond, only two stones need to be removed—any of the three lateral or upper vertices (the lower one does not seem to work), combined with a lateral stone opposite to that vertex. This solution generates a different but equivalent pattern: o-11-o-11-o …
Both patterns can be combined. For example, on a 19×19 board one can remove three stones from the second row, or alternatively remove one stone from the second row and the two required to capture the corresponding diamond, generating a pattern like o-5-o-11-o.
By the way, ChatGPT doesn't seem to find the solution.
And that’s it. I’m learning go/baduk, and in a future post I’ll explain how this puzzle came about.
Cheers!
EDIT 2. For the 19x19 board, there is an even more elegant solution: removing the stones at (10,8), (9,5), and (10,2). This creates a large capture triangle with its top vertex at (10,8) extending to the stones in the board's corners, allowing for their capture and, consequently, the collapse of the entire board. The pattern for this triangle would be o-17-o-17-o….
Apologies if this has turned into a math problem. I do not know if a regular pattern exists when more stones are removed, or if the interaction becomes more complex. Honestly, I have no idea how to calculate it or what the optimal solution for an n x n board might be.