# NZMO Round Two 2025 — Solutions
1. Problem: Find all pairs of positive integers \(m\) and \(n\) such that the centres of the unit squares in a \(m\) by \(n\) grid of unit squares can be paired up so that the distance between the centres of each pair is exactly 2.
(A unit square has side length 1. )
Solution: (Tony Wang)
We will show that the answer is all pairs \((a,b)\) where either \(a\) or \(b\) (or both) is a multiple of 4. First, partition the grid into four subgrids \(A\) , \(B\) , \(C\) , and \(D\)
Note that, for any given square \(s\) , all the square centres that are exactly 2 away from the centre of \(s\) are in the same partition as \(s\) itself. This means that \(s\) must be paired with some square which is in the same partition as itself. Hence, each partition of squares must have an even number of squares. Meanwhile, if each partition of squares has an even number of squares, one of the dimensions of the subgrid must be even, and hence we can pair up the squares along that even dimension.
Hence, it suffices to find all values of \(a\) and \(b\) which create four subgrids which all have an even number of squares. Consider \(a\) modulo 4: if \(a \equiv 0\) (mod 4), then all subgrids will have an even dimension along the axis of \(a\) . Otherwise, at least one of the subgrids will have an odd dimension along the axis of \(a\) . The same reasoning holds for \(b\) . Hence, if neither \(a\) nor \(b\) are multiples of 4, then one of the partitions will have an odd number of squares. However, if either \(a\) or \(b\) is a multiple of 4, then all partitions will have an even number of squares. Hence, we have shown that the answer is all pairs \((a,b)\) where either \(a\) or \(b\) (or both) is a multiple of 4.
2. Problem: For which positive integers \(n\) , does there exist a sequence of real numbers \((x_{1}, x_{2}, \ldots , x_{n})\) such that
- \(-2 < x_{i} < 2\) for all \(i\) ,- \(x_{1} + x_{2} + x_{3} + \dots + x_{n} = 0\) , and- \(x_{1}^{4} + x_{2}^{4} + x_{3}^{4} + \dots + x_{n}^{4} \geqslant 32\) .
Solution: (Eric Liang)
Note that if \(n = j\) works then \(n > j\) also works for a positive integer \(j\) as we can just set \(x_{i} = 0\) for \(n \geq i > j\) and have \(x_{1}, \ldots , x_{n}\) be the sequence that worked for \(n\) .
Consider \(n = 4\) . We take \(x_{1}, x_{2} = \sqrt[4]{8}\) and \(x_{3}, x_{4} = -\sqrt[4]{8}\) and all conditions are satisfied. Thus all \(n \geq 4\) works.
Now if \(n = 2\) , we note \(|x_{1}|,|x_{2}|< 2\) and thus \(x_{1}^{4},x_{2}^{4}< 16\) so \(x_{1}^{4} + x_{2}^{4}< 32\) . Contradiction.
If \(n = 3\) , then wlog \(x_{1},x_{2}\geq 0\) and \(x_{3}\leq 0\) (as flipping the signs won't affect any of the conditions).
Now as \(x_{1} + x_{2} = - x_{3}< 2\) , we get that \((x_{1} + x_{2})^{4}< 16\) . But if we expand this out we get \(16 > (x_{1} + x_{2})^{4} = x_{1}^{4} + 4x_{1}^{3}x_{2} + 6x_{1}^{2}x_{2}^{2} + 4x_{1}x_{2}^{3} + x_{2}^{4}\geq x_{1}^{4} + x_{2}^{4}\) (as \(x_{1},x_{2}\geq 0\) ).
Thus \(x_{1}^{4} + x_{2}^{4}< 16\) but also note that \(x_{3}^{4}< 16\) , thus \(x_{1}^{4} + x_{2}^{4} + x_{3}^{4}< 32\) . Contradiction.
Thus, a sequence only exists for integers \(n\geq 4\) .
## 3. Problem:
Let \(A B C\) be an acute scalene triangle with \(A C > B C > A B\) . Let the orthocentre be \(H\) and circumcentre be \(O\) . Suppose that lines \(B O\) and \(C H\) intersect at a point \(D\) . Point \(E\) (where \(E\neq C\) ) lies on side \(A C\) so that \(O E C D\) is cyclic. Point \(F\) (where \(F\neq C\) ) lies on side \(B C\) such that \(C E = F E\) . Prove that \(B H D F\) is cyclic.
(The orthocentre of a triangle is the point of intersection of its altitudes.)
Solution: (Nico McKinlay & George Zhu)
Let \(\alpha = \angle B A C\) . Let \(B B^{\prime}\) and \(C C^{\prime}\) be altitudes in triangle \(A B C\) , as shown.

Claim. Triangle \(C D E\) is isosceles with \(C E = D E\) .
Proof.
\[\angle D E C = \angle D O C\] \[\qquad = \angle B O C\] \[\qquad = 2\angle B A C\] \[\qquad = 2\alpha\]
\[\angle D C E = \angle C^{\prime}C A = 90^{\circ} - \angle C^{\prime}A C\] \[\qquad = 90^{\circ} - \alpha\]
\[\begin{array}{r l} & {\angle C D E = 180^{\circ} - \angle D E C - \angle D C E}\\ & {\qquad = 180^{\circ} - 2\alpha -(90^{\circ} - \alpha)}\\ & {\qquad = 90^{\circ} - \alpha}\\ & {\qquad = \angle D C E.} \end{array} \quad (angle sum in \triangle C D E)\]
Since \(C E = D E\) and \(C E = F E\) , we have \(C E = D E = F E\) , therefore \(E\) is the circumcentre of triangle \(C D F\) . Consequently,
\[\begin{array}{r l} & {\angle H D F = 180^{\circ} - \angle C D F}\\ & {\qquad = 180^{\circ} - \frac{1}{2}\cdot \angle C E F}\\ & {\qquad = 180^{\circ} - \frac{1}{2}\bullet (180^{\circ} - 2\angle E C F)}\\ & {\qquad = 180^{\circ} - \frac{1}{2}\bullet (180^{\circ} - 2\angle B^{\prime}C B)}\\ & {\qquad = 180^{\circ} - (90^{\circ} - \angle B^{\prime}C B)}\\ & {\qquad = 180^{\circ} - \angle B^{\prime}B C}\\ & {\qquad = 180^{\circ} - \angle H B F} \end{array} \quad (angles in \triangle B^{\prime}B C)\]
so \(B H D F\) is cyclic.
4. Problem: The function \(r_{n}(x)\) is the remainder when \(x\) is divided by \(n\) , where \(0 \leq r_{n}(x) < n\) . For which \(n\) does there exists some ordering \(\{a_{1}, \ldots , a_{n - 1}\}\) of \(\{1, 2, \ldots , n - 1\}\) such that \(\{r_{n}(a_{1}), r_{n}(2 \times a_{2}), \ldots , r_{n}((n - 1) \times a_{n - 1})\}\) is an ordering of \(\{1, 2, \ldots , n - 1\}\) ?
(An ordering of \(\{1, 2, \ldots , n - 1\}\) is the sequence of numbers 1 to \(n - 1\) in some order.)
Solution: (James Xu)
Notice that \(r_{n}(x)\) is just \(x\) modulo \(n\) . Therefore
\[\prod_{i}r_{n}(i a_{i})\equiv \prod_{i}i a_{i}\pmod{n}\]
For primes \(p\) , apply Wilson's theorem to see that we must have
\[\prod_{i}i a_{i}\equiv -1\pmod{p}\]
However,
\[\prod_{i}i a_{i} = \prod_{i}i\prod_{i}a_{i}\equiv -1^{2}\equiv 1\pmod{p}\]
So the only possibility in that case is \(p = 2\) .
Now, if \(n\) is composite, then let \(n\) be the minimal solution. Let \(n = pq\) for prime \(p\) . Notice that we must have \((p - 1)q\) numbers in \(\{a_{1}, 2a_{2}, 3a_{3}, \ldots , (n - 1)a_{n - 1}\}\) not divisible by \(p\) . The \(q - 1\) numbers of the form \((kp)a_{kp}\) are divisible by \(p\) and there are only \(q - 1\) multiples of \(p\) in \(\{1, 2, \ldots , pq - 1\}\) . Therefore they must be the only numbers divisible by \(p\) , so \(\{a_{kp} | 1 \leq k < q\} = \{kp | 1 \leq k < q\}\) . Now, \(p \nmid q\) as otherwise all of \((kp)a_{kp}\) are multiples of \(p^{2}\) , which is not true.
Let \(c \equiv \frac{1}{p} \pmod {q}\) . Consider \(\{\frac{a_{p}}{p}, \frac{a_{2p}}{p}, \ldots , \frac{a_{(q - 1)p}}{p}\} = \{1, 2, \ldots , q - 1\}\) .
Then,
\[\{\frac{a_{p}}{p},\frac{2a_{2p}}{p},\ldots ,\frac{(q - 1)a_{(q - 1)p}}{p}\} = \{\frac{p a_{p}}{p^{2}},\frac{2p a_{2p}}{p^{2}},\ldots ,\frac{(q - 1)p a_{(q - 1)p}}{p^{2}}\}\]
\[\equiv c\{1,2,3,\ldots ,q - 1\} \pmod {q}\]
As \((k p)a_{k p}\equiv k^{\prime}p\) (mod \(p q\) ) for some \(k^{\prime}\) , and \(k a_{k p}\equiv k^{\prime}\) (mod \(q\) )
Since \(g c d(c,q) = 1\)
\[c\{1,2,3,\ldots ,q - 1\} \equiv \{1,2,3,\ldots ,q - 1\} \pmod {q}\]
in some order. This is a solution for \(n = q\) , which contradicts the minimality of the solution for \(n = p q\) . Therefore no such solution \(n = p q\) can exist.
Hence, \(n = 2\) is the only solution.
5. Problem: Let \(a,b,c\) be positive real numbers satisfying \(a b c = 1\) . Determine the smallest possible value of
\[\frac{a^{2} + 2025}{a^{3}(b + c)} +\frac{b^{2} + 2025}{b^{3}(c + a)} +\frac{c^{2} + 2025}{c^{3}(a + b)}\]
Solution: (Eric Liang)
Note,
\[\begin{array}{r l r}{{\frac{1}{a^{3}(b+c)}+\frac{1}{b^{3}(a+c)}+\frac{1}{c^{3}(a+b)}=\frac{(\frac{1}{a})^{2}}{a(b+c)}+\frac{(\frac{1}{b})^{2}}{b(a+c)}+\frac{(\frac{1}{c})^{2}}{c(a+b)}}}\\ &{}&{\geq\frac{(\frac{1}{a}+\frac{1}{b}+\frac{1}{c})^{2}}{2(a b+a c+b c)}}\\ &{}&{=\frac{(\frac{1}{a}+\frac{1}{b}+\frac{1}{c})^{2}}{2(\frac{1}{c}+\frac{1}{b}+\frac{1}{a})}}\\ &{}&{=\frac{(\frac{1}{a}+\frac{1}{b}+\frac{1}{c})}{2}}\\ &{}&{\geq\frac{3}{2\sqrt[3]{a b c}}}\\ &{}&{=\frac{3}{2}}\end{array} \quad (AM-GM)\]
Now, \((a + b + c)^{2} \geq 3(a b + a c + b c)\) for positive reals \(a, b, c\) . (†)
So we also get,
\[\begin{array}{r l r}{{\frac{1}{a^{2}(b+c)}+\frac{1}{b^{2}(a+c)}+\frac{1}{c^{2}(a+b)}\geq\frac{(\frac{1}{a})^{2}}{(b+c)}+\frac{(\frac{1}{b})^{2}}{(a+c)}+\frac{(\frac{1}{c})^{2}}{(a+b)}}}\\ &{}&{\geq\frac{(\frac{1}{a}+\frac{1}{b}+\frac{1}{c})^{2}}{2(a+b+c)}}\\ &{}&{=\frac{(\frac{1}{a}+\frac{1}{b}+\frac{1}{c})^{2}}{2(\frac{1}{b}\cdot\frac{1}{c}+\frac{1}{a}\cdot\frac{1}{c}+\frac{1}{a}\cdot\frac{1}{b})}}\\ &{}&{=\frac{3}{2}}\end{array} \quad (†)\]
Finally, as \(a^{2} + 1 \geq 2a\) , we get
\[\frac{a^{2} + 2025}{a^{3}(b + c)} +\frac{b^{2} + 2025}{b^{3}(a + c)} +\frac{c^{2} + 2025}{c^{3}(a + b)}\geq \frac{2a + 2024}{a^{3}(b + c)} +\frac{2b + 2024}{b^{3}(a + c)} +\frac{2c + 2024}{c^{3}(a + b)}\] \[\qquad \geq 2\cdot \frac{3}{2} +2024\cdot \frac{3}{2}\] \[\qquad =3039\]
Equality can be achieved when \(a = b = c = 1\) .