In a small town, there are houses indexed by for with being the house at the top left corner, where and are the row and column indices, respectively. At time , a fire breaks out at the house indexed by , where . During each subsequent time interval , the fire fighters defend a house which is not yet on fire while the fire spreads to all undefended neighbors of each house which was on fire at time . Once a house is defended, it remains so all the time. The process ends when the fire can no longer spread. At most how many houses can be saved by the fire fighters? A house indexed by is a neighbor of a house indexed by if .
, 2005
Solution
At most houses can be saved. This can be achieved under the following order of defending:
Under this strategy, there are
2 columns (column numbers , ) at which houses are saved
2 columns (column numbers , ) at which houses are saved
⋯
2 columns (column numbers , ) at which houses are saved
columns (column numbers ) at which houses are saved
Adding all these we obtain:
We say that a house indexed by is at level if . Let be the number of houses at level defended by time , and be the number of houses at levels greater than defended by time . It is clear that
Let be the number of houses at level which are not burning at time . We prove that
for by induction. It is obvious when . Assume that it is true for . The union of the neighbors of any houses at level contains at least vertices at level . Since , one of these houses at level is burning. Therefore, at most houses at level have no neighbor burning. Hence we have
We now prove that the strategy given above is optimal. Since
the maximum number of houses at levels less than or equal to , that can be saved under any strategy is at most , which is realized by the strategy above. Moreover, at levels bigger than , every house is saved under the strategy above.
The following is an example when and . The houses with mark are burned. The houses with mark are blocked ones and hence those and the houses below them are saved.
