Now isn’t that an inviting title.
So, the idea is that in general, you have an NxN chessboard, with all white squares, and you’re going to go through each square and color it black with a probability p. So ideally, you’re left with p*N*N many black squares and (1 – p)*N*N many white squares. Consider the 20×20 board below. I hope this comes out formatted properly.
X__X_XXXX________XX____X_X__XX
_X_____XXX____X_X_XXX___X_X__X
_______X___X_XX_____XXXX_X__X_
X__XX____XXX__X_X__X_____X_X__
X___XX__X__XXXXXX____XXX__X__X
___________XXXXX__XX__X_XX__XX
XX__XX___X__X___X___X_____X__X
X_X_X_XXX_______X___X_____XX_X
_XXX__X_X___XX_X__XXX__X___XX_
X___X__X_XX_X_XXX____X_____X_X
X_X_X_X____X_X_______________X
_XXXX_X__X_____XX_X_X___X___X_
____XX_XX_X___XX____XX_X____X_
X_X_XXXXXX____XX_X_____X____X_
X___X_X_XX______XX_X____XX_XXX
X_X__X__X___XX_XXX____X___XXX_
_X_X_XX_X____X_______XXX__XX_X
_X_XXX_______XX__XXX__XX__X_XX
____X_______X_XXX_XX_X_X______
__XX_X__XX_X_X___XX_XX_X__XX_X
X___XX_XXXXX__X____XXX_X______
__X_XX__XX_X__________XX__XX_X
______XXXXX_______X_X________X
X__X_X__XX__XX_XX_XX_____XXXX_
X___XX_XXXXX_XXX_X_XX___XXX_X_
_XX_____X_XX_X___X_X___XXXXXX_
__XX_X_X____X_X__X_______X_X__
X__X_X___X_XXX_XXX_X__XX_X__X_
___X_X__X_XXX_____XX__XX______
_X_XX_X__X___XXX_X__X_X_______
The question I would like to consider then is, what is the size, in number of squares, of the largest continuous black section? We’ll say that two black squares are touching only if they share a side – no diagonals. So, for a given value of p on a given board, what is the largest number of black squares you expect to find all touching each other?
This is a variant of a problem in graph theory known as looking for the largest connected component of a random graph. Analysis of that problem yields some interesting results, but I’m not sure how to extend it to here, where the geometry of the graph is modified.
However, we can approximate, test, and simulate. Using p from 0 to 1, at increments of 0.01, I generated such boards (I think it was a 70×70 board), filled them, and determined the maximum connected component on the board. And then I repeated this multiple times, averaging them all together with a convenient ruby script. Here is a plot of the results, in terms of the probability p along the x, and the maximum size as a fraction of the whole board along the y. Click for the full graph. Won’t fit nicely on the main page.

Notice that for p less than about 1/2, the size of the maximum component is ridiculously small. Which means that if you color only half or less of the squares, you can expect, on average, very tiny connected blobs of black. But soon after that, the behavior of the curve changes drastically, practically exponentially. A dramatic increase in the expected size of the maximum component. It is as though the board reaches a sort of carrying capacity for the smaller blobs, after which point (increasing p and adding more black squares), it becomes necessary to begin connecting smaller blobs into larger. There’s no way to fit any more smaller blobs onto the board, and as you continue to add black squares, the smaller blobs become connected at an increasing rate.
It’s very interesting, I think.
And makes me think, abstractly, of Blokus.