Let $k$ and $s$ be positive integers such that $s<(2k + 1)^2$. Initially, one cell out of an $n \times n$ grid is coloured green. On each turn, we pick some green cell $c$ and colour green some $s$ out of the $(2k + 1)^2$ cells in the $(2k + 1) \times (2k + 1)$ square centred at $c$. No cell may be coloured green twice. We say that $s$ is $k-sparse$ if there exists some positive number $C$ such that, for every positive integer $n$, the total number of green cells after any number of turns is always going to be at most $Cn$. Find, in terms of $k$, the least $k$-sparse integer $s$. Proposed by Nikolai Beluhov.
Problem
Source: 2018 RMM Shortlist C4
Tags: combinatorics
27.03.2020 06:39
Solution with william122.
(it's for $k=2$ but generalizes readily) shows that we can create a chain of squares that can zig-zag in any direction. The bottom left part of the image then shows how we can make $Cn^2$ of the squares green. The difficult part is to show that $s=3k^2+2k$ is $k$-sparse. Call a green square good if it is used to generate $s$ more green squares. Draw an arrow from a good square $a$ to another good square $b$ if $b$ is generated from $a$. In this case, write $a=f(b)$ (reverse arrow diagram). Since there are at most $s-1$ non-good green squares for each good square, it suffices to show that the good squares can't achieve positive density. Call a good square non-ideal of type I if $f(a)\to a$ is not a translation by $(\pm k,\pm k)$. Call a good square non-ideal of type II if $f^2(a)\to a\to a$ are both translations by $(\pm k,\pm k)$, but they are orthogonal. We have the following key claim. Claim: There are at most $100k$ non-ideal good squares. Proof: Suppose there are $N$ total good squares. Our goal is to bound the total area of all the $(2k+1)\times(2k+1)$ squares centered at the good squares. Start from the original green square (which is also good), and add all the good squares by following the arrows (so we can't add $a$ unless $f(a)$ has already been added). If we add a non-ideal good square of type I, then we are adding at most $(2k+1)^2-(k+1)(k+2)<(3k^2+2k)-k$ area. If we add a non-ideal good square of type II, then we are adding at most $(2k+1)^2-(k+1)^2-k=(3k^2+2k)-k$ area. Thus, the total area is at most \[(2k+1)^2+(N-1-\ell)[(2k+1)^2-(k+1)^2]+\ell[(2k+1)^2-(k+1)^2-k],\]which is \[N[3k^2+2k]+(k+1)^2-\ell k.\]Now all $1+(N-1)s$ generated squares have to fit in this area, so we have \[1+(N-1)[3k^2+2k]\le N[3k^2+2k]+(k+1)^2-\ell k,\]so $\ell\le 4k+4\le 100k$. $\blacksquare$ Note that if we have an arrow from $a\to b$ and $a\to c$, then one of $b$ or $c$ is non-ideal. Thus, there are at most $100k$ good squares that point to more than one good square, so the entire arrow diagram can be partitioned into at most $(3k^2+2k)^{100k}$ chains. We see that for each pair of consecutive arrows in a chain that switch direction, there is a non-ideal square. Thus, the chain switches direction at most $100k$ times, so the chain can't cover positive density. Since there are at most $(3k^2+2k)^{100k}$ chains, the good squares do not cover positive density, as desired.
29.05.2020 11:15
yayups wrote: Solution with william122.
(it's for $k=2$ but generalizes readily) shows that we can create a chain of squares that can zig-zag in any direction. The bottom left part of the image then shows how we can make $Cn^2$ of the squares green. The difficult part is to show that $s=3k^2+2k$ is $k$-sparse. Call a green square good if it is used to generate $s$ more green squares. Draw an arrow from a good square $a$ to another good square $b$ if $b$ is generated from $a$. In this case, write $a=f(b)$ (reverse arrow diagram). Since there are at most $s-1$ non-good green squares for each good square, it suffices to show that the good squares can't achieve positive density. Call a good square non-ideal of type I if $f(a)\to a$ is not a translation by $(\pm k,\pm k)$. Call a good square non-ideal of type II if $f^2(a)\to a\to a$ are both translations by $(\pm k,\pm k)$, but they are orthogonal. We have the following key claim. Claim: There are at most $100k$ non-ideal good squares. Proof: Suppose there are $N$ total good squares. Our goal is to bound the total area of all the $(2k+1)\times(2k+1)$ squares centered at the good squares. Start from the original green square (which is also good), and add all the good squares by following the arrows (so we can't add $a$ unless $f(a)$ has already been added). If we add a non-ideal good square of type I, then we are adding at most $(2k+1)^2-(k+1)(k+2)<(3k^2+2k)-k$ area. If we add a non-ideal good square of type II, then we are adding at most $(2k+1)^2-(k+1)^2-k=(3k^2+2k)-k$ area. Thus, the total area is at most \[(2k+1)^2+(N-1-\ell)[(2k+1)^2-(k+1)^2]+\ell[(2k+1)^2-(k+1)^2-k],\]which is \[N[3k^2+2k]+(k+1)^2-\ell k.\]Now all $1+(N-1)s$ generated squares have to fit in this area, so we have \[1+(N-1)[3k^2+2k]\le N[3k^2+2k]+(k+1)^2-\ell k,\]so $\ell\le 4k+4\le 100k$. $\blacksquare$ Note that if we have an arrow from $a\to b$ and $a\to c$, then one of $b$ or $c$ is non-ideal. Thus, there are at most $100k$ good squares that point to more than one good square, so the entire arrow diagram can be partitioned into at most $(3k^2+2k)^{100k}$ chains. We see that for each pair of consecutive arrows in a chain that switch direction, there is a non-ideal square. Thus, the chain switches direction at most $100k$ times, so the chain can't cover positive density. Since there are at most $(3k^2+2k)^{100k}$ chains, the good squares do not cover positive density, as desired. Nice solution, mine is the same. At the end I don't think you mean positive density since that's a weaker result then what's required. E.g. if the number of green squares covered O(nlogn) squares that's not positive density but also not O(n).
29.05.2020 13:14
@above fair point but I think my solution shows $O(n)$ right?
02.07.2020 18:18
yayups wrote: @above fair point but I think my solution shows $O(n)$ right? Yeah the solution is fine.
11.12.2020 00:53