ISL 2017 C8
- Answer
Let be a given positive integer. In the Cartesian plane, each lattice point with nonnegative coordinates initially contains a butterfly, and there are no other butterflies. The neighborhood of a lattice point consists of all lattice points within the axis-aligned square centered at , apart from itself. We call a butterfly lonely, crowded, or comfortable, depending on whether the number of butterflies in its neighborhood is respectively less than, greater than, or equal to half of the number of lattice points in . Every minute, all lonely butterflies fly away simultaneously. This process goes on for as long as there are any lonely butterflies. Assuming that the process eventually stops, determine the number of comfortable butterflies at the final state.
Dataset text NuminaMath olympiads. Quoted with source.
Official text: IMO 2017 Shortlist booklet, page 9.
Show the answer
n^2 + 1
Solutions
Official solution Solution 1 by the IMO Problem Selection Committee
The terms of the source let olymmath link to this solution but not copy it. Read the solution (IMO official site).