做测试 登录 English
← 练习 504 →
搜索
跳转
找到 {{searchResults.length}} 条与“{{searchWords}}”相关的结果 没有找到与“{{searchWords}}”相关的结果 × 返回目录
目录 · 按章节
基础计数 (147)
球与盒子 (6)
概率 (142)

练习及解答

练习 504
Each square of a $5\times5$ grid is filled or empty, and its neighbors are the up to eight squares sharing a side or a corner with it. The grid is transformed as follows: a filled square with two or three filled neighbors stays filled; an empty square with exactly three filled neighbors becomes filled; all other squares become or remain empty. Suppose the grid has a border of empty squares around a $3\times3$ subgrid. How many initial configurations lead to a transformed grid consisting of a single filled square that is \emph{not} the center square? (One such transformed grid is shown below. Rotations and reflections are considered different.)
← 返回第 504 题
解答


Call the corners of the $3\times3$ subgrid \emph{corners}, the squares at the middles of its sides \emph{edges}, and the middle one the \emph{center}. Two edges are \emph{adjacent} if they touch at a corner (for example, the top and right edges).
  1. \emph{No border square.} A border square touches at most $3$ squares of the subgrid. Only the middle square of a side of the border touches $3$, so it is born only when that whole side of the subgrid is filled, say the top side. Both top corners must then die. The top-left corner has only $3$ neighbors in the subgrid (the top edge, the left edge and the center), and the top edge is filled, so it dies only if the left edge and the center are empty. Likewise the right edge is empty. Now the top edge has exactly $2$ filled neighbors (the two top corners) and survives, so the border square is not alone. Also, whenever a whole side of the subgrid is filled, the border square next to it is born; so if the lone square is in the subgrid, no side of the subgrid may be completely filled.
  2. \emph{No corner,} say the top-left corner $A$. If the center is empty, $A$ has at most $2$ filled neighbors (the top and left edges), so $A$ must be filled with both of these filled. The top edge must die, and it already has $2$ filled neighbors, so it needs at least $4$: the top-right corner and the right edge are filled too. Then the top-right corner has $2$ filled neighbors and survives, a contradiction. If the center is filled, every other filled corner must die, so its two edges are empty. Also $A$ needs a filled edge, say the top edge. Then the top-right corner is empty, so the top edge (which must die) needs $A$, the left edge and the right edge filled. In the same way, the left edge forces the bottom edge to be filled. Now the empty top-right corner has exactly $3$ filled neighbors (top edge, right edge, center) and is born, a contradiction.
  3. \emph{An edge,} say the top edge $T$. Call the other squares $C_1,C_2$ (top-left and top-right corners), $C_3,C_4$ (bottom-right and bottom-left corners), and $E_\ell,E_r,E_b$ (left, right and bottom edges). The neighbors of $T$ are $C_1,C_2,E_\ell,E_r$ and the center.
  4. \emph{The center is empty.} Otherwise it must die. Since $T$ needs a filled neighbor besides the center, the center has at least $2$ filled neighbors, so it has at least $4$. A filled corner has only $3$ neighbors (its two edges and the center), so it dies only if both of its edges are empty. Then a filled edge other than $T$ has empty corners next to it, so it dies only if no adjacent edge is filled. If $T$ is filled, it needs a filled $E_\ell$ or $E_r$, which is adjacent to $T$: impossible. If $T$ is empty, exactly $2$ of $C_1,C_2,E_\ell,E_r$ are filled. With $C_1,C_2$: $E_\ell,E_r$ are empty, and a filled $E_b$ would empty $C_3,C_4$, so to reach $4$ the center needs $C_3,C_4$ filled. But then the empty $E_r$ has exactly $3$ filled neighbors ($C_2,C_3$, center) and is born. With $C_1,E_r$: $C_2,E_\ell,E_b,C_3$ are empty, leaving at most $3$ filled squares around the center. With $E_\ell,E_r$: all corners and $E_b$ are empty, leaving $2$. ($C_2,E_\ell$ mirrors $C_1,E_r$.)
  5. So the center is empty. Now a corner's only possible filled neighbors are its two edges: a corner is never born and survives only if both of its edges are filled. A filled edge other than $T$ has only $4$ possible filled neighbors (two corners and two edges), so it dies only if at most $1$ or all $4$ of them are filled; in every case below one of the four is empty, so at most $1$ may be filled. The center must not have exactly $3$ filled neighbors.
  6. \emph{$T$ filled} needs $2$ or $3$ of $C_1,C_2,E_\ell,E_r$, and $C_1$ (or $C_2$) is allowed only if $E_\ell$ (or $E_r$) is empty. This leaves $\{C_1,C_2\}$, $\{C_1,E_r\}$, $\{C_2,E_\ell\}$, $\{E_\ell,E_r\}$. The first fills the top side, which is ruled out. For $\{C_1,E_r\}$: $E_r$ has $T$ as a filled neighbor, so $C_3,E_b$ are empty; then $E_\ell$ has neighbors $C_1,T$ filled, so $C_4$ is empty, and the center has exactly $3$ filled neighbors ($C_1,T,E_r$). For $\{E_\ell,E_r\}$: $C_3,C_4,E_b$ are empty and again the center has $3$. $\{C_2,E_\ell\}$ mirrors $\{C_1,E_r\}$.
  7. \emph{$T$ empty} needs exactly $3$ of $C_1,C_2,E_\ell,E_r$. With $C_1,C_2,E_r$: $E_r$ must die, so $C_3,E_b$ are empty, and the center avoids $3$ only if $C_4$ is filled. This configuration $\{C_1,C_2,E_r,C_4\}$ works. With $C_1,E_\ell,E_r$: $E_\ell$ forces $C_4,E_b$ empty, the center forces $C_3$ filled, and then the empty $E_b$ has exactly $3$ filled neighbors ($C_3,E_\ell,E_r$), a contradiction. The other two choices are mirror images, so $T$ has exactly $2$ configurations.
  8. With $4$ edges, the total is $4\cdot2=\boxed{8}$.
搜索 跳转 上一题      下一题

联系我们

谢谢!您的消息已发送。
按年份