1. ទំព័រដើម
  2. ប្រឡងអន្តរជាតិ
  3. Canada Math Olympiad
  4. ឆ្នាំ ២០១៥

វិញ្ញាសា Canada Math Olympiad — ២០១៥

47th Canadian Mathematical Olympiad (2015) · ៥ លំហាត់វិចារបញ្ជាក់ពេញលេញ ជា HTML/KaTeX ទំព័រដើម និងកូដ LaTeX (.tex)។

🌐 បកប្រែផ្ទាល់ (4 ភាសា)៖
ប្រធាន និងដំណោះស្រាយ ៖
១
Find all functions $f: \mathbb{N} \to \mathbb{N}$ such that $(n - 1)^2 < f(n)f(f(n)) < n^2 + n$ for every positive integer $n$.
💡មើលដំណោះស្រាយផ្លូវការ▾
💡 ដំណោះស្រាយលំហាត់ទី ១
Answer: $f(n) = n$ for all $n \in \mathbb{N}$.
Prove by strong induction. For $n = 1$, $0 < f(1)f(f(1)) < 2 \implies f(1) = 1$. Assume $f(k) = k$ for all $k < n$. If $f(n) \le n - 1$, then $f(f(n)) = f(n)$ and $f(n)f(f(n)) = f(n)^2 \le (n - 1)^2$, contradiction.
If $f(n) = M \ge n + 1$, then $(n + 1)f(M) \le f(n)f(f(n)) < n^2 + n \implies f(M) < n$. By the induction hypothesis $f(f(M)) = f(M)$, so $f(M)f(f(M)) = f(M)^2 < n^2 \le (M - 1)^2$, contradicting the inequality at $M$. Thus $f(n) = n$.
🖼️ មើលទំព័រដំណោះស្រាយ PDF ដើម (រូបភាពស្កេន)
CMO 2015 Official Solution Scan · s01.webp
CMO 2015 Solution Problem 1
២
Let $ABC$ be an acute-angled triangle with altitudes $AD, BE, CF$ meeting at orthocentre $H$. Prove that
$$\frac{AB \cdot AC + BC \cdot BA + CA \cdot CB}{AH \cdot AD + BH \cdot BE + CH \cdot CF} \le 2.$$
💡មើលដំណោះស្រាយផ្លូវការ▾
💡 ដំណោះស្រាយលំហាត់ទី ២
Let $a = BC, b = AC, c = AB$. Since $\angle BFH = \angle BDH = 90^\circ$, $FHDB$ is cyclic, so $AH \cdot AD = AF \cdot AB = bc\cos A = \frac{b^2 + c^2 - a^2}{2}$ by the Law of Cosines.
Summing cyclically over all three altitudes gives
$$AH \cdot AD + BH \cdot BE + CH \cdot CF = \frac{a^2 + b^2 + c^2}{2}.$$
Hence the inequality is equivalent to $\frac{ab + bc + ca}{(a^2 + b^2 + c^2)/2} \le 2 \iff a^2 + b^2 + c^2 \ge ab + bc + ca$, which follows from $(a - b)^2 + (b - c)^2 + (c - a)^2 \ge 0$ (equality iff $\triangle ABC$ is equilateral).
🖼️ មើលទំព័រដំណោះស្រាយ PDF ដើម (រូបភាពស្កេន)
CMO 2015 Official Solution Scan · s01.webp
CMO 2015 Solution Problem 2
CMO 2015 Official Solution Scan · s02.webp
CMO 2015 Solution Problem 2
៣
On a $(4n + 2) \times (4n + 2)$ square grid, a turtle moves between adjacent squares (sharing a side), starting in a corner square, visiting each square exactly once, and returning to the start. In terms of $n$, what is the largest positive integer $k$ such that there must be a row or column that the turtle enters at least $k$ distinct times?
💡មើលដំណោះស្រាយផ្លូវការ▾
💡 ដំណោះស្រាយលំហាត់ទី ៣
Answer: $k = 2n + 2$.
Let $m = 4n + 2$. Each of the $m^2$ moves enters either a row or a column, so $\sum_{i=1}^m r_i + \sum_{i=1}^m c_i = m^2$. However, these $2m$ counts cannot all be equal: WLOG starting at top-right, every entry into column $1$ must exit into column $2$, plus column $2$ is entered from column $3$ at least once, so $c_2 > c_1$. Thus some row or column count strictly exceeds the average $\frac{m^2}{2m} = 2n + 1$, hence is at least $2n + 2$.
To attain max $\le 2n + 2$, split the board into four $(2n + 1) \times (2n + 1)$ quadrants $A, B, C, D$ and snake row-by-row/column-by-column through $B \to D \to C \to A$ back to $B$ (see diagram in scan), entering each row/column at most $2n + 2$ times.
🖼️ មើលទំព័រដំណោះស្រាយ PDF ដើម (រូបភាពស្កេន)
CMO 2015 Official Solution Scan · s02.webp
CMO 2015 Solution Problem 3
CMO 2015 Official Solution Scan · s03.webp
CMO 2015 Solution Problem 3
CMO 2015 Official Solution Scan · s04.webp
CMO 2015 Solution Problem 3
៤
Let $ABC$ be an acute-angled triangle with circumcentre $O$. Let $\Gamma$ be a circle with centre on the altitude from $A$ in $ABC$, passing through $A$ and points $P, Q$ on sides $AB, AC$ such that $BP \cdot CQ = AP \cdot AQ$. Prove that $\Gamma$ is tangent to the circumcircle of $\triangle BOC$.
💡មើលដំណោះស្រាយផ្លូវការ▾
💡 ដំណោះស្រាយលំហាត់ទី ៤
Let $\omega = (BOC)$ and $M$ be the point diametrically opposite $O$ on $\omega$; let $AM$ meet $\omega$ again at $K$. Since $OB = OC$, $O$ and $M$ are midpoints of arcs $BOC$ and $BMC$ of $\omega$, so $KM$ bisects $\angle BKC = \angle BOC = 2\angle BAC$, giving $\angle BKM = \angle CKM = \angle BAC$.
Then $\angle AKB = \angle AKC = 180^\circ - \angle BAC$, whence $\angle KBA = \angle KAC$, so $\triangle KBA \sim \triangle KAC$. Combined with $\frac{BP}{AP} = \frac{AQ}{CQ}$, we get $\triangle KPA \sim \triangle KQC$, so $\angle KPA = \angle KQC = 180^\circ - \angle KQA$, proving $K \in \Gamma$.
Let $S$ be the centre of $\Gamma$ (on the $A$-altitude $\perp BC$) and $T$ the centre of $\omega$ (midpoint of $OM$, with $TM \perp BC$). Thus $AS \parallel TM$, giving $\angle KMT = \angle KAS$. Since $\triangle KTM$ and $\triangle KSA$ are isosceles, $\angle TKM = \angle SKA$, making $S, T, K$ collinear; hence $\Gamma$ and $\omega$ are tangent at $K$.
🖼️ មើលទំព័រដំណោះស្រាយ PDF ដើម (រូបភាពស្កេន)
CMO 2015 Official Solution Scan · s04.webp
CMO 2015 Solution Problem 4
CMO 2015 Official Solution Scan · s05.webp
CMO 2015 Solution Problem 4
៥
Let $p$ be a prime number for which $q = \frac{p - 1}{2}$ is also prime, and let $a, b, c$ be integers not divisible by $p$. Prove that there are at most $1 + \sqrt{2p}$ positive integers $n < p$ such that $p \mid (a^n + b^n + c^n)$.
💡មើលដំណោះស្រាយផ្លូវការ▾
💡 ដំណោះស្រាយលំហាត់ទី ៥
If $b \equiv \pm a$ and $c \equiv \pm b \pmod p$, then since $p \neq 3$ (as $\frac{3-1}{2} = 1$ is not prime), $a^n + b^n + c^n \equiv \pm a^n$ or $\pm 3a^n \not\equiv 0 \pmod p$, giving $0$ solutions.
Otherwise assume WLOG $b a^{-1} \not\equiv \pm 1 \pmod p$. Since the order of $ab^{-1}$ mod $p$ divides $p - 1 = 2q$ and does not divide $2$, its order is either $q$ or $2q$.
Let $S = \{1 \le n < p : a^n + b^n + c^n \equiv 0 \pmod p\}$, and let $s_t$ count ordered pairs $(i, j) \in S^2$ with $j - i \equiv t \pmod{p - 1}$. For any $t \not\equiv 0, q \pmod{2q}$, combining $a^i + b^i + c^i \equiv 0$ and $a^j + b^j + c^j \equiv 0 \pmod p$ gives $a^i(c^t - a^t) \equiv b^i(b^t - c^t) \pmod p$. We cannot have $c^t \equiv a^t$, otherwise $(ab^{-1})^t \equiv 1$ while $q \nmid t$; thus $(ab^{-1})^i \equiv (b^t - c^t)(c^t - a^t)^{-1} \pmod p$ has at most $2$ solutions for $i$ since $\operatorname{ord}_p(ab^{-1}) \ge q$.
Thus $s_t \le 2$ for each $t \neq 0, q$. Each $i \in S$ pairs with at least $|S| - 2$ other $j \in S$ avoiding difference $q$, so
$$|S|(|S| - 2) \le \sum_{t \neq 0, q} s_t \le 2(p - 2) \implies (|S| - 1)^2 \le 2p - 3 < 2p \implies |S| < 1 + \sqrt{2p}.$$
🖼️ មើលទំព័រដំណោះស្រាយ PDF ដើម (រូបភាពស្កេន)
CMO 2015 Official Solution Scan · s05.webp
CMO 2015 Solution Problem 5
⬇️ ទាញយក CMO_2015.tex
% !TEX program = pdflatex
\documentclass[11pt,a4paper]{article}
\usepackage[utf8]{inputenc}
\usepackage[T1]{fontenc}
\usepackage{amsmath,amssymb,amsthm}
\usepackage[margin=2.2cm]{geometry}
\usepackage{enumitem}
\setlength{\parindent}{0pt}
\setlength{\parskip}{6pt}

\title{47th Canadian Mathematical Olympiad (2015) \\ \large Problems and Official Solutions}
\author{Canadian Mathematical Society (CMS) --- Archive curated by Edu-Plus Cambodia}
\date{2015}

\begin{document}
\maketitle

\section*{Problems}
\subsection*{Problem 1}
Find all functions $f: \mathbb{N} \to \mathbb{N}$ such that $(n - 1)^2 < f(n)f(f(n)) < n^2 + n$ for every positive integer $n$.

\subsection*{Problem 2}
Let $ABC$ be an acute-angled triangle with altitudes $AD, BE, CF$ meeting at orthocentre $H$. Prove that

\[
\frac{AB \cdot AC + BC \cdot BA + CA \cdot CB}{AH \cdot AD + BH \cdot BE + CH \cdot CF} \le 2.
\]

\subsection*{Problem 3}
On a $(4n + 2) \times (4n + 2)$ square grid, a turtle moves between adjacent squares (sharing a side), starting in a corner square, visiting each square exactly once, and returning to the start. In terms of $n$, what is the largest positive integer $k$ such that there must be a row or column that the turtle enters at least $k$ distinct times?

\subsection*{Problem 4}
Let $ABC$ be an acute-angled triangle with circumcentre $O$. Let $\Gamma$ be a circle with centre on the altitude from $A$ in $ABC$, passing through $A$ and points $P, Q$ on sides $AB, AC$ such that $BP \cdot CQ = AP \cdot AQ$. Prove that $\Gamma$ is tangent to the circumcircle of $\triangle BOC$.

\subsection*{Problem 5}
Let $p$ be a prime number for which $q = \frac{p - 1}{2}$ is also prime, and let $a, b, c$ be integers not divisible by $p$. Prove that there are at most $1 + \sqrt{2p}$ positive integers $n < p$ such that $p \mid (a^n + b^n + c^n)$.

\newpage
\section*{Official Solutions}
\subsection*{Solution to Problem 1}
\textbf{Answer:} $f(n) = n$ for all $n \in \mathbb{N}$.

Prove by strong induction. For $n = 1$, $0 < f(1)f(f(1)) < 2 \implies f(1) = 1$. Assume $f(k) = k$ for all $k < n$. If $f(n) \le n - 1$, then $f(f(n)) = f(n)$ and $f(n)f(f(n)) = f(n)^2 \le (n - 1)^2$, contradiction.

If $f(n) = M \ge n + 1$, then $(n + 1)f(M) \le f(n)f(f(n)) < n^2 + n \implies f(M) < n$. By the induction hypothesis $f(f(M)) = f(M)$, so $f(M)f(f(M)) = f(M)^2 < n^2 \le (M - 1)^2$, contradicting the inequality at $M$. Thus $f(n) = n$.

\subsection*{Solution to Problem 2}
Let $a = BC, b = AC, c = AB$. Since $\angle BFH = \angle BDH = 90^\circ$, $FHDB$ is cyclic, so $AH \cdot AD = AF \cdot AB = bc\cos A = \frac{b^2 + c^2 - a^2}{2}$ by the Law of Cosines.

Summing cyclically over all three altitudes gives

\[
AH \cdot AD + BH \cdot BE + CH \cdot CF = \frac{a^2 + b^2 + c^2}{2}.
\]

Hence the inequality is equivalent to $\frac{ab + bc + ca}{(a^2 + b^2 + c^2)/2} \le 2 \iff a^2 + b^2 + c^2 \ge ab + bc + ca$, which follows from $(a - b)^2 + (b - c)^2 + (c - a)^2 \ge 0$ (equality iff $\triangle ABC$ is equilateral).

\subsection*{Solution to Problem 3}
\textbf{Answer:} $k = 2n + 2$.

Let $m = 4n + 2$. Each of the $m^2$ moves enters either a row or a column, so $\sum_{i=1}^m r_i + \sum_{i=1}^m c_i = m^2$. However, these $2m$ counts cannot all be equal: WLOG starting at top-right, every entry into column $1$ must exit into column $2$, plus column $2$ is entered from column $3$ at least once, so $c_2 > c_1$. Thus some row or column count strictly exceeds the average $\frac{m^2}{2m} = 2n + 1$, hence is at least $2n + 2$.

To attain max $\le 2n + 2$, split the board into four $(2n + 1) \times (2n + 1)$ quadrants $A, B, C, D$ and snake row-by-row/column-by-column through $B \to D \to C \to A$ back to $B$ (see diagram in scan), entering each row/column at most $2n + 2$ times.

\subsection*{Solution to Problem 4}
Let $\omega = (BOC)$ and $M$ be the point diametrically opposite $O$ on $\omega$; let $AM$ meet $\omega$ again at $K$. Since $OB = OC$, $O$ and $M$ are midpoints of arcs $BOC$ and $BMC$ of $\omega$, so $KM$ bisects $\angle BKC = \angle BOC = 2\angle BAC$, giving $\angle BKM = \angle CKM = \angle BAC$.

Then $\angle AKB = \angle AKC = 180^\circ - \angle BAC$, whence $\angle KBA = \angle KAC$, so $\triangle KBA \sim \triangle KAC$. Combined with $\frac{BP}{AP} = \frac{AQ}{CQ}$, we get $\triangle KPA \sim \triangle KQC$, so $\angle KPA = \angle KQC = 180^\circ - \angle KQA$, proving $K \in \Gamma$.

Let $S$ be the centre of $\Gamma$ (on the $A$-altitude $\perp BC$) and $T$ the centre of $\omega$ (midpoint of $OM$, with $TM \perp BC$). Thus $AS \parallel TM$, giving $\angle KMT = \angle KAS$. Since $\triangle KTM$ and $\triangle KSA$ are isosceles, $\angle TKM = \angle SKA$, making $S, T, K$ collinear; hence $\Gamma$ and $\omega$ are tangent at $K$.

\subsection*{Solution to Problem 5}
If $b \equiv \pm a$ and $c \equiv \pm b \pmod p$, then since $p \neq 3$ (as $\frac{3-1}{2} = 1$ is not prime), $a^n + b^n + c^n \equiv \pm a^n$ or $\pm 3a^n \not\equiv 0 \pmod p$, giving $0$ solutions.

Otherwise assume WLOG $b a^{-1} \not\equiv \pm 1 \pmod p$. Since the order of $ab^{-1}$ mod $p$ divides $p - 1 = 2q$ and does not divide $2$, its order is either $q$ or $2q$.

Let $S = \{1 \le n < p : a^n + b^n + c^n \equiv 0 \pmod p\}$, and let $s_t$ count ordered pairs $(i, j) \in S^2$ with $j - i \equiv t \pmod{p - 1}$. For any $t \not\equiv 0, q \pmod{2q}$, combining $a^i + b^i + c^i \equiv 0$ and $a^j + b^j + c^j \equiv 0 \pmod p$ gives $a^i(c^t - a^t) \equiv b^i(b^t - c^t) \pmod p$. We cannot have $c^t \equiv a^t$, otherwise $(ab^{-1})^t \equiv 1$ while $q \nmid t$; thus $(ab^{-1})^i \equiv (b^t - c^t)(c^t - a^t)^{-1} \pmod p$ has at most $2$ solutions for $i$ since $\operatorname{ord}_p(ab^{-1}) \ge q$.

Thus $s_t \le 2$ for each $t \neq 0, q$. Each $i \in S$ pairs with at least $|S| - 2$ other $j \in S$ avoiding difference $q$, so

\[
|S|(|S| - 2) \le \sum_{t \neq 0, q} s_t \le 2(p - 2) \implies (|S| - 1)^2 \le 2p - 3 < 2p \implies |S| < 1 + \sqrt{2p}.
\]

\end{document}