We call a coloring of an m×n table (m,n≥5) in three colors a good coloring if the following two conditions are satisfied:
1) Each cell has the same number of neighboring cells of two other colors; 2) Each corner cell has no neighboring cells of its color.
Find all pairs (m,n) (m,n≥5) for which there exists a good coloring of m×n table.
Solution
Answer: all (m,n) such that 6 divides both of them.
Want a route through all this instead of an archive? The track
puts 2,604 problems in a working order, from Junior Challenge level to the IMO shortlist.
Source: MathNet,
licensed CC-BY-4.0.
Statement reproduced verbatim; metadata (topic, difficulty) added by this project.