diff --git a/CANADA_MO/download_script/download.py b/CANADA_MO/download_script/download.py new file mode 100644 index 0000000000000000000000000000000000000000..ce6dcd8e50bf69655d41024028d428edc68ed62c --- /dev/null +++ b/CANADA_MO/download_script/download.py @@ -0,0 +1,91 @@ +# ----------------------------------------------------------------------------- +# Author: Jiawei Liu +# Date: 2024-11-22 +# ----------------------------------------------------------------------------- +''' +Download script for CANADA MO + +Notes: +1. 1969-1993 no solution +2. 1994-1999 problem and solution are separated in two file +3. 2000+ problem and solution in the same file + +To run: +`python CANADA_MO\download_script\download.py` +''' + +import requests +from requests.adapters import HTTPAdapter +from tqdm import tqdm +from bs4 import BeautifulSoup +from urllib.parse import urljoin +from urllib3.util.retry import Retry +from pathlib import Path + + +def build_session( + max_retries: int = 3, + backoff_factor: int = 2, + session: requests.Session = None +) -> requests.Session: + """ + Build a requests session with retries + + Args: + max_retries (int, optional): Number of retries. Defaults to 3. + backoff_factor (int, optional): Backoff factor. Defaults to 2. + session (requests.Session, optional): Session object. Defaults to None. + """ + session = session or requests.Session() + adapter = HTTPAdapter(max_retries=Retry(total=max_retries, backoff_factor=backoff_factor)) + session.mount("http://", adapter) + session.mount("https://", adapter) + session.headers.update({ + "User-Agent": "Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/58.0.3029.110 Safari/537.3" + }) + + return session + + +def main(): + req_session = build_session() + base_url = "https://cms.math.ca/Competitions/CMO/" + + output_dir = Path(__file__).parent.parent / "raw" + output_dir.mkdir(parents=True, exist_ok=True) + + resp = req_session.get(base_url) + soup = BeautifulSoup(resp.text, "html.parser") + + cmo_year_a_ele = soup.find_all("a", href=lambda t: "#cmo" in t) + + for cy_a_ele in tqdm(cmo_year_a_ele): + year = cy_a_ele.get_text(strip=True) + + # Get problem and solution link elements + pro_link_ele = cy_a_ele.parent.parent.select_one("td:nth-child(2)").find("a") + sol_link_ele = cy_a_ele.parent.parent.select_one("td:nth-child(3)").find("a") + + donwload_urls = [] + if sol_link_ele: + donwload_urls.append(sol_link_ele["href"]) + else: + donwload_urls.append(pro_link_ele["href"]) + + # Year is between 1994 and 1999, download both problem and solution + if int(year) >= 1994 and int(year) <= 1999: + donwload_urls.append(pro_link_ele["href"]) + + for du in donwload_urls: + output_file = output_dir / f"en-{du.split('/')[-1]}" + + # Skip if file already exists + if output_file.exists(): + continue + + pdf_resp = req_session.get(du) + output_file.write_bytes(pdf_resp.content) + + +if __name__ == "__main__": + main() \ No newline at end of file diff --git a/CANADA_MO/md/en-2021CMO_solutions_en-1.md b/CANADA_MO/md/en-2021CMO_solutions_en-1.md new file mode 100644 index 0000000000000000000000000000000000000000..24ad31b52a617577ee81e6ad80bd3c98b1af3136 --- /dev/null +++ b/CANADA_MO/md/en-2021CMO_solutions_en-1.md @@ -0,0 +1,172 @@ +# Canadian Mathematical Olympiad 2021 + +## Official Solutions + +## A full list of our competition sponsors and partners is available online at https://cms.math.ca/competitions/competition-sponsors/ + +## Note: Each problem starts on a new page. + +Problem No. 1. + +Let $A B C D$ be a trapezoid with $A B$ parallel to $C D,|A B|>|C D|$, and equal edges $|A D|=|B C|$. Let $I$ be the center of the circle tangent to lines $A B, A C$ and $B D$, where $A$ and $I$ are on opposite sides of $B D$. Let $J$ be the center of the circle tangent to lines $C D, A C$ and $B D$, where $D$ and $J$ are on opposite sides of $A C$. Prove that $|I C|=|J B|$. + +Solution. Let $\{P\}=A C \cap B D$ and let $\angle A P B=180-2 a$. Since $A B C D$ is an isosceles trapezoid, $A P B$ is an isosceles triangle. Therefore $\angle P B A=a$, which implies that $\angle P B I=90^{\circ}-a / 2$ since $I$ lies on the external bisector of $\angle P B A$. Since $I$ lies on the bisector of $\angle C P B$, it follows that $\angle B P I=a$ and hence that $I P B$ is isosceles with $|I P|=|P B|$. Similarly $J P C$ is isosceles with $|J P|=|P C|$. So, in the triangles $C P I$ and $B P J$ we have $P I \equiv P B$ and $P J \equiv C P$. Since $I$ and $J$ both lie on the internal bisector of $\angle B P C$, it follows that triangles $C P I$ and $B P J$ are congruent. Therefore $|I C|=|J B|$. + +A competition of the Canadian Mathematical Society and supported by the Actuarial Profession. +![](https://cdn.mathpix.com/cropped/2024_11_22_6804b549993495e6e39fg-1.jpg?height=338&width=764&top_left_y=2086&top_left_x=626) + +Expertise. Insight. Solutions. + +## Canadian Mathematical Olympiad 2021 + +## Problem No. 2. + +Let $n \geq 2$ be some fixed positive integer and suppose that $a_{1}, a_{2}, \ldots, a_{n}$ are positive real numbers satisfying $a_{1}+a_{2}+\cdots+a_{n}=2^{n}-1$. + +Find the minimum possible value of + +$$ +\frac{a_{1}}{1}+\frac{a_{2}}{1+a_{1}}+\frac{a_{3}}{1+a_{1}+a_{2}}+\cdots+\frac{a_{n}}{1+a_{1}+a_{2}+\cdots+a_{n-1}} . +$$ + +Solution. We claim the the minimum possible value of this expression is $n$. Observe that by AM-GM, we have that + +$$ +\begin{aligned} +\frac{a_{1}}{1}+ & \frac{a_{2}}{1+a_{1}}+\cdots+\frac{a_{n}}{1+a_{1}+a_{2}+\cdots+a_{n-1}} \\ +& =\frac{1+a_{1}}{1}+\frac{1+a_{1}+a_{2}}{1+a_{1}}+\cdots+\frac{1+a_{1}+a_{2}+\cdots+a_{n}}{1+a_{1}+a_{2}+\cdots+a_{n-1}}-n \\ +& \geq n \cdot \sqrt[n]{\frac{1+a_{1}}{1} \cdot \frac{1+a_{1}+a_{2}}{1+a_{1}} \cdots \frac{1+a_{1}+a_{2}+\cdots+a_{n}}{1+a_{1}+a_{2}+\cdots+a_{n-1}}}-n \\ +& =n \cdot \sqrt[n]{1+a_{1}+a_{2}+\cdots+a_{n}}-n \\ +& =2 n-n=n . +\end{aligned} +$$ + +Furthermore, equality is achieved when $a_{k}=2^{k-1}$ for each $1 \leq k \leq n$. + +## Canadian Mathematical Olympiad 2021 + +## Problem No. 3. + +At a dinner party there are $N$ hosts and $N$ guests, seated around a circular table, where $N \geq 4$. A pair of two guests will chat with one another if either there is at most one person seated between them or if there are exactly two people between them, at least one of whom is a host. Prove that no matter how the 2 N people are seated at the dinner party, at least $N$ pairs of guests will chat with one another. + +Solution. Let a run refer to a maximal group of consecutive dinner party guests all of whom are the same type (host or guest). Suppose that there are exactly $k$ runs of hosts and $k$ runs of guests. Let $G_{i}$ and $H_{i}$ denote the number of runs of guests and hosts, respectively, of length exactly $i$. Furthermore, let $X$ denote the number of hosts surrounded by two runs of guests, both of length exactly 1 . We claim that the number of pairs of guests who chat is at least + +$$ +2 N-3 k+G_{1}+2 H_{1}+H_{2}-X +$$ + +The number of pairs of guests who chat with no host between them is at least the sum of $\max \{2 \ell-3,0\}$ over all guest run lengths $\ell$. This sum is at least $2 N-3 k+G_{1}$. The number of pairs of guests who chat with exactly two hosts between them is $H_{2}$. Furthermore, the number of pairs of guests who chat with exactly one host between them is at least $2 H_{1}-X$. This is because any host surrounded by two runs of guests causes at least two pairs of guests to chat unless these runs are both of length exactly 1 . This proves the claim. Now note that + +$$ +2 H_{1}+H_{2}+N \geq 3 k +$$ + +because each run of hosts contributes at least three to the left hand side. Furthermore, pairing each run counted in $X$ with the guest run of length 1 immediately following it in clockwise order shows that $G_{1} \geq X$. Combining these inequalities yields that $2 N-3 k+G_{1}+2 H_{1}+H_{2}-X \geq N$, completing the proof of the desired result. + +## Canadian Mathematical Olympiad 2021 + +## Problem No. 4. + +A function $f$ from the positive integers to the positive integers is called Canadian if it satisfies + +$$ +\operatorname{gcd}(f(f(x)), f(x+y))=\operatorname{gcd}(x, y) +$$ + +for all pairs of positive integers $x$ and $y$. +Find all positive integers $m$ such that $f(m)=m$ for all Canadian functions $f$. + +Solution. Define an $m \in \mathbb{N}$ to be good if $f(m)=m$ for all such $f$. It will be shown that $m$ is good if and only if $m$ has two or more distinct prime divisors. Let $P(x, y)$ denote the assertion + +$$ +\operatorname{gcd}(f(f(x)), f(x+y))=\operatorname{gcd}(x, y) +$$ + +for a pair $x, y \in \mathbb{N}$. Let $x$ be a positive integer with two or more distinct prime divisors and let $p^{k}$ be largest power of one of these prime divisors such that $p^{k} \mid x$. If $x=p^{k} \cdot q$, then $p^{k}$ and $q$ are relatively prime and $x>p^{k}, q>1$. By $P(q, x-q)$, + +$$ +\operatorname{gcd}(f(f(q)), f(x-q+q))=\operatorname{gcd}(f(f(q)), f(x))=\operatorname{gcd}(q, x-q)=q +$$ + +which implies that $q \mid f(x)$. By $P\left(p^{k}, x-p^{k}\right)$, + +$$ +\operatorname{gcd}\left(f\left(f\left(p^{k}\right)\right), f\left(x-p^{k}+p^{k}\right)\right)=\operatorname{gcd}\left(f\left(f\left(p^{k}\right)\right), f(x)\right)=\operatorname{gcd}\left(p^{k}, x-p^{k}\right)=p^{k} +$$ + +which implies that $p^{k} \mid f(x)$. Since $p^{k}$ and $q$ are relatively prime, $x=p^{k} \cdot q$ divides $f(x)$, which implies that $f(x) \geq x$. Now assume for contradiction that $f(x)>x$. Let $y=f(x)-x>0$ and note that, by $P(x, y)$, it follows that + +$$ +f(f(x))=\operatorname{gcd}(f(f(x)), f(x+f(x)-x))=\operatorname{gcd}(x, f(x)-x)=\operatorname{gcd}(x, f(x)) . +$$ + +Therefore $f(f(x)) \mid x$ and $f(f(x)) \mid f(x)$. By $P(x, x)$, it follows that + +$$ +\operatorname{gcd}(f(f(x)), f(2 x))=\operatorname{gcd}(x, x)=x +$$ + +This implies that $x \mid f(f(x))$, which when combined with the above result, yields that $f(f(x))=x$. Since $x \mid f(x)$ and $x$ is divisible by at least two distinct prime numbers, $f(x)$ is also divisible by at least two distinct prime numbers. As shown previously, this implies that $f(x) \mid f(f(x))=x$, which is a contradiction since $f(x)>x$. Therefore $f(x)=x$ for all positive integers $x$ with two or more distinct prime divisors. + +Now it will be shown that all $m \in \mathbb{N}$ such that either $m$ has one prime divisor or $m=1$ are not good. In either case, let $m=p^{k}$ where $k \geq 0$ and $p$ is a prime number and consider the function satisfying that $f\left(p^{k}\right)=p^{k+1}, f\left(p^{k+1}\right)=p^{k}$ and $f(x)=x$ for all $x \neq p^{k}, p^{k+1}$. Note that this function also satisfies that $f(f(x))=x$ for all positive integers $x$. If $x+y \neq p^{k}, p^{k+1}$, then $P(x, y)$ holds by the Euclidean + +## Canadian Mathematical Olympiad 2021 + +algorithm since $f\left(f((x))=x\right.$ and $f(x+y)=x+y$. If $x+y=p^{k+1}$, then $P(x, y)$ is equivalent to $\operatorname{gcd}\left(x, p^{k}\right)=\operatorname{gcd}\left(x, p^{k+1}-x\right)=\operatorname{gcd}\left(x, p^{k+1}\right)$ for all $xz$, as desired. + +Case 2. At least two carries: $x+y$ and $x+z$ carry and $d_{\ell+1}(y)=d_{\ell+1}(z)=0$, or cyclic equivalent. ( $y+z$ may or may not carry.) + +Let $i$ be maximal such that $d_{\ell+1}(x)=\cdots=d_{\ell+i}(x)=1$ (possibly $i=0$ ). By maximality of $\ell, d_{\ell+1}(y)=$ $\cdots=d_{\ell+i}(y)=d_{\ell+1}(z)=\cdots=d_{\ell+i}(z)=0$. By maximality of $i, d_{\ell+i+1}(x)=0$. + +If $d_{\ell+i+1}(y)=d_{\ell+i+1}(z)=0$, then $d_{\ell+i+1}(x+y)=d_{\ell+i+1}(x+z)=1$, so $d_{\ell+i+1}\left(x^{\prime}\right)=1$. The binary representations of $x$ and $x^{\prime}$ agree to the left of the $2^{\ell+i+1}$ position, so $x^{\prime}>x$. + +## Canadian Mathematical Olympiad 2021 + +Otherwise, WLOG $d_{\ell+i+1}(y)=1$ and $d_{\ell+i+1}(z)=0$. (Note that, here we in fact have $i \geq 1$.) Then $d_{\ell+i+1}(y+z)=d_{\ell+i+1}(x+z)=1$, so $d_{\ell+i+1}\left(z^{\prime}\right)=1$. The binary representations of $z$ and $z^{\prime}$ agree to the left of the $2^{\ell+i+1}$ position, so $z^{\prime}>z$. + +Case 3. At least two carries, and the condition in Case 2 does not occur. +WLOG let $x+y, x+z$ involve carries. Since the condition in Case 2 does not occur, $d_{\ell+1}(y)=1$ or $d_{\ell+1}(z)=1$. In either case, $d_{\ell+1}(x)=0$. WLOG $d_{\ell+1}(y)=1$ and $d_{\ell+1}(z)=0$. +Since the condition in Case 2 does not occur, $y+z$ does not involve a carry from the $2^{\ell}$ position. (Otherwise, $x+y$ and $y+z$ carry and $d_{\ell+1}(x)=d_{\ell+1}(z)=0$.) Then $d_{\ell+1}(x+z)=d_{\ell+1}(y+z)=1$, so $d_{\ell+1}\left(z^{\prime}\right)=1$. The binary representations of $z$ and $z^{\prime}$ agree to the left of the $2^{\ell+1}$ position, so $z^{\prime}>z$. + +Proof of Claim 1. Proceed by strong induction on $x+y+z$. There is no base case. +Suppose by induction the claim holds for all $(x, y, z)$ with sum less than $N$. Consider a triple $(x, y, z)$ with $x+y+z=N$. +Suppose no two of $x, y, z$ overlap. If all moves from this position lead to positions with a negative coordinate, $(x, y, z)$ is a losing position, as claimed. Otherwise, the player increases or decreases all coordinates by $k$. Consider the smallest $m$ such that $d_{m}(k)=1$. The player's move will toggle each of $d_{m}(x), d_{m}(y), d_{m}(z)$. Since at most one of the original $d_{m}(x), d_{m}(y), d_{m}(z)$ is 1 , at least two of the new $d_{m}(x), d_{m}(y), d_{m}(z)$ will be 1 . So, two of the new $x, y, z$ overlap. By induction, the new $(x, y, z)$ is winning. Thus the original $(x, y, z)$ is losing, as claimed. + +Conversely, suppose at least one pair of $x, y, z$ overlap. By Lemma 1, at least one of $x0$. Note that + +$$ +a b=-\sqrt{a b+1}-\sqrt{a^{2}+b} \cdot \sqrt{b^{2}+a}<0 +$$ + +so $a$ and $b$ have opposite signs. Without loss of generality, we may assume $a>0>b$. Then rewrite + +$$ +a \sqrt{b^{2}+a}+b \sqrt{a^{2}+b}=a\left(\sqrt{b^{2}+a}+b\right)-b\left(a-\sqrt{a^{2}+b}\right) +$$ + +and, since $\sqrt{b^{2}+a}+b$ and $a-\sqrt{a^{2}+b}$ are both positive, the expression above is positive. Therefore, + +$$ +a \sqrt{b^{2}+a}+b \sqrt{a^{2}+b}=1, +$$ + +and the proof is finished. + +P2. Let $d(k)$ denote the number of positive integer divisors of $k$. For example, $d(6)=4$ since 6 has 4 positive divisors, namely, $1,2,3$, and 6 . Prove that for all positive integers $n$, + +$$ +d(1)+d(3)+d(5)+\cdots+d(2 n-1) \leq d(2)+d(4)+d(6)+\cdots+d(2 n) +$$ + +Solution. For any integer $k$ and set of integers $S$, let $f_{S}(k)$ be the number of multiples of $k$ in $S$. We can count the number of pairs $(k, s)$ with $k \in \mathbb{N}$ dividing $s \in S$ in two different ways, as follows: + +- For each $s \in S$, there are $d(s)$ pairs that include $s$, one for each divisor of $s$. +- For each $k \in \mathbb{N}$, there are $f_{k}(S)$ pairs that include $k$, one for each multiple of $k$. + +Therefore, + +$$ +\sum_{s \in S} d(s)=\sum_{k \in \mathbb{N}} f_{S}(k) +$$ + +Let + +$$ +O=\{1,3,5, \ldots, 2 n-1\} \quad \text { and } \quad E=\{2,4,6, \ldots, 2 n\} +$$ + +be the set of odd and, respectively, the set of even integers between 1 and $2 n$. It suffices to show that + +$$ +\sum_{k \in \mathbb{N}} f_{O}(k) \leq \sum_{k \in \mathbb{N}} f_{E}(k) +$$ + +Since the elements of $O$ only have odd divisors, + +$$ +\sum_{k \in \mathbb{N}} f_{O}(k)=\sum_{k \text { odd }} f_{O}(k) +$$ + +For any odd $k$, consider the multiples of $k$ between 1 and $2 n$. They form a sequence + +$$ +k, 2 k, 3 k, \ldots,\left\lfloor\frac{2 n}{k}\right\rfloor k +$$ + +alternating between odd and even terms. There are either an equal number of odd and even terms, or there is one more odd term than even terms. Therefore, we have the inequality + +$$ +f_{O}(k) \leq f_{E}(k)+1 +$$ + +for all odd $k$. Combining this with the previous observations gives us the desired inequality: + +$$ +\begin{aligned} +\sum_{k \in \mathbb{N}} f_{O}(k) & =\sum_{k \text { odd }} f_{O}(k) \\ +& \leq \sum_{k \text { odd }}\left(f_{E}(k)+1\right) \\ +& =\sum_{k \text { odd }} f_{E}(k)+n \\ +& =\sum_{k \text { odd }} f_{E}(k)+f_{E}(2) \\ +& \leq \sum_{k \in \mathbb{N}} f_{E}(k) +\end{aligned} +$$ + +P3: Let $n \geq 2$ be an integer. Initially, the number 1 is written $n$ times on a board. Every minute, Vishal picks two numbers written on the board, say $a$ and $b$, erases them, and writes either $a+b$ or $\min \left\{a^{2}, b^{2}\right\}$. After $n-1$ minutes there is one number left on the board. Let the largest possible value for this final number be $f(n)$. Prove that + +$$ +2^{n / 3}4$, we have that + +$$ +g(n)=\max \left\{g(n-1)+1, \max _{1 \leq x \leq n-1} g(x) g(n-x)\right\} +$$ + +Now proceed similarly to the first proof. Assume $n>4$ and $g(m) \leq 3^{m / 3}$ for all $m0$, we get + +$$ +\begin{gathered} +f\left(2^{m}\right) \geq f\left(2^{m-1}\right)^{2} \geq\left(2^{2^{m-2}}\right)^{2}=2^{2^{m-1}} \\ +f\left(3 \cdot 2^{m}\right) \geq f\left(3 \cdot 2^{m-1}\right)^{2} \geq\left(3^{2^{m-1}}\right)^{2}=3^{2^{m}} +\end{gathered} +$$ + +by induction, as required. +(This lemma can also be proved more constructively. Briefly, if $n=2^{m}$, then partition the 1 's on the board into $2^{m-1}$ pairs, and then add each pair to get $2^{m-1} 2^{\prime} \mathrm{s}\left(2=2^{2^{0}}\right)$; then multiply pairs of 2 's to get $2^{m-2} 4$ 's $\left(4=2^{2^{1}}\right)$; then multiply pairs of 4's to get $2^{m-3} 16$ 's $\left(16=2^{2^{2}}\right)$; and so on, until there are $2\left(=2^{1}\right)$ copies of $2^{2^{m-2}}$, which then gets replaced with $\left.\mathrm{a} 2^{2^{m-1}}\right)$. The process is similar for $n=3 \cdot 2^{m}$, except that the first step is to partition the 1 's into $2^{m}$ groups of 3 , and then use addition within each group to get $2^{m} 3$ 's on the board.) + +Now assume $2^{x} \leq n<3 \cdot 2^{x-1}$ for some integer $x$. Then we have + +$$ +f(n) \geq f\left(2^{x}\right) \geq 2^{2^{x-1}}>2^{n / 3} +$$ + +as required. If no such $x$ exists, then there exists an integer $x$ such that $3 \cdot 2^{x-1} \leq n<2^{x+1}$. In this case, we have + +$$ +f(n) \geq f\left(3 \cdot 2^{x-1}\right) \geq 3^{2^{x-1}}>2^{2^{x+1} / 3}>2^{n / 3} +$$ + +where the second last inequality is equivalent to $2^{x-1} \log (3) \geq \frac{2^{x+1}}{3} \log (2)$, and by dividing out $2^{x}$ and clearing the denominator this is equivalent to $3 \log (3) \geq 4 \log 2$, which is true as $3^{3}=27>16=2^{4}$. + +Second proof of lower bound. We shall prove the stronger result $f(n) \geq 2^{(n+1) / 3}$ for $n \geq 2$ by induction. One can check that $f(n)=n$ for $n=2,3,4$, which proves the result for these values. Assume that $n \geq 5$ and that $f(k) \geq 2^{(k+1) / 3}$ for all $k=2,3, \ldots, n-1$. Then + +$$ +\begin{array}{rlr} +f(n) & \geq f(\lfloor n / 2\rfloor)^{2} & \\ +& \geq\left(2^{(\lfloor n / 2\rfloor+1) / 3}\right)^{2} \quad \quad \text { since }\left\lfloor\frac{n}{2}\right\rfloor \geq 2 \\ +& =2^{(2\lfloor n / 2\rfloor+2) / 3} \quad \\ +& \geq 2^{(n+1) / 3} \quad \text { since }\left\lfloor\frac{n}{2}\right\rfloor \geq \frac{n-1}{2} . +\end{array} +$$ + +The result follows by induction. +Remark 1. One can show that $f$ satisfies the recurrence $f(n)=n$ for $n=1,2, f(2 n)=f(n)^{2}$ for $n \geq 2$, and $f(2 n+1)=f(2 n)+1$ for $n \geq 1$. The upper bound in the problem is tight (equality holds for $n=3 \cdot 2^{x}$ ), but the lower bound is not. + +P4. Let $n$ be a positive integer. A set of $n$ distinct lines divides the plane into various (possibly unbounded) regions. The set of lines is called "nice" if no three lines intersect at a single point. A "colouring" is an assignment of two colours to each region such that the first colour is from the set $\left\{A_{1}, A_{2}\right\}$, and the second colour is from the set $\left\{B_{1}, B_{2}, B_{3}\right\}$. Given a nice set of lines, we call it "colourable" if there exists a colouring such that + +1. no colour is assigned to two regions that share an edge; +2. for each $i \in\{1,2\}$ and $j \in\{1,2,3\}$ there is at least one region that is assigned with both $A_{i}$ and $B_{j}$. + +Determine all $n$ such that every nice configuration of $n$ lines is colourable. +Solution. The answer is $n \geq 5$. If $n \leq 4$, consider $n$ parallel lines. There are 6 total colour combinations required, and only $n+1 \leq 5$ total regions, hence the colouring is not possible. + +Now, assume $n \geq 5$. Rotate the picture so that no line is horizontal, and orient each line so that the "forward" direction increases the $y$-value. In this way, each line divides the plane into a right and left hand side (with respect to this forward direction). Every region of the plane is on the right hand side of $k$ lines and on the left hand side of $n-k$ lines for some $0 \leq k \leq n$. Furthermore, there is a region for every $k$ : let $w$ be large enough so that $w$ is greater than the $y$-value of any intersection point of two lines. Consider the horizontal line $y=w$ : a point very far on the left of this line is left of every single line, and as we cross over all lines in the problem, we hit all values of $k$. + +Finally, take a region that is on the right hand side of $k$ lines. Colour it $A_{1}$ if $k$ is odd, and $A_{2}$ if it is even. Similarly, colour it $B_{i}$ if $k \equiv i(\bmod 3)$. By the previous paragraph, there are regions for at least $k=0,1, \ldots, 5$, whence there is a region coloured $A_{i}$ and $B_{j}$ for all $(i, j)$. Furthermore, two regions that share an edge will be on the right hand side of $k$ and $k+1$ lines for some $k$. By construction, the $A_{i}$ and $B_{i}$ colours of the regions must differ, hence we have proven that the set of lines is colourable. + +P5. Let $A B C D E$ be a convex pentagon such that the five vertices lie on a circle and the five sides are tangent to another circle inside the pentagon. There are $\binom{5}{3}=10$ triangles which can be formed by choosing 3 of the 5 vertices. For each of these 10 triangles, mark its incenter. Prove that these 10 incenters lie on two concentric circles. + +Solution. Let $I$ be the incenter of pentagon $A B C D E$. Let $I_{A}$ denote the incenter of triangle $E A B$ and $I_{a}$ the incenter $D A C$. Define $I_{B}, I_{b}, I_{C}, I_{c}, I_{D}, I_{d}, I_{E}, I_{e}$ similarly. + +We will first show that $I_{A} I_{B} I_{C} I_{D} I_{E}$ are concyclic. Let $\omega_{A}$ be the circle with center at the midpoint of arc $D E$ and passing through $D$ and $E$. Define $\omega_{B}, \omega_{C}, \omega_{D}, \omega_{E}$ similarly. It is well-known that the incenter of a triangle lies on such circles, in particular, $I_{A}$ lies on $\omega_{C}$ and $\omega_{D}$. So the radical axis of $\omega_{C}, \omega_{D}$ is the line $A I_{A}$. But this is just the angle bisector of $\angle E A B$, which $I$ also lies on. So $I$ is in fact the radical center of $\omega_{A}, \omega_{B}, \omega_{C}, \omega_{D}, \omega_{E}$ ! Inverting about $I$ swaps $I_{A}$ and $A$ and since $A B C D E$ are concyclic, $I_{A} I_{B} I_{C} I_{D} I_{E}$ are concyclic as well. + +Let $O$ be the center of the circle $I_{A} I_{B} I_{C} I_{D} I_{E}$. We will now show that $O I_{a}=O I_{d}$ which finishes the problem as we can consider the cyclic versions of this equation to find that $O I_{a}=O I_{d}=O I_{b}=O I_{e}=O I_{c}$. Recall a well-known lemma: For any cyclic quadrilateral $W X Y Z$, the incenters of $X Y Z, Y Z W, Z W X, W X Y$ form a rectangle. Applying this lemma on $A B C D$, we see that $I_{B}, I_{C}, I_{a}, I_{d}$ form a rectangle in that order. Then the perpendicular bisector of $I_{B} I_{C}$ is exactly the perpendicular bisector of $I_{a} I_{d}$. Thus, $O$ is equidistant to $I_{a}$ and $I_{d}$ and we are done. + diff --git a/CANADA_MO/md/en-cmo2023-solutions-en.md b/CANADA_MO/md/en-cmo2023-solutions-en.md new file mode 100644 index 0000000000000000000000000000000000000000..93e9e43671c91c597f3adffda2db1cdd7cbf8c79 --- /dev/null +++ b/CANADA_MO/md/en-cmo2023-solutions-en.md @@ -0,0 +1,169 @@ +![](https://cdn.mathpix.com/cropped/2024_11_22_a6fde8055c8f4889ad00g-1.jpg?height=313&width=1654&top_left_y=234&top_left_x=233) + +# Official Solutions for CMO 2023 + +P1. William is thinking of an integer between 1 and 50, inclusive. Victor can choose a positive integer $m$ and ask William: "does $m$ divide your number?", to which William must answer truthfully. Victor continues asking these questions until he determines William's number. What is the minimum number of questions that Victor needs to guarantee this? + +Solution. The minimum number is 15 questions. +First, we show that 14 or fewer questions is not enough to guarantee success. Suppose Victor asks at most 14 questions, and William responds with "no" to each question unless $m=$ 1. Note that these responses are consistent with the secret number being 1. But since there are 15 primes less than 50 , some prime $p$ was never chosen as $m$. That means the responses are also consistent with the secret number being $p$. Therefore, Victor cannot determine the number for sure because 1 and $p$ are both possible options. + +Now we show that Victor can always determine the number with 15 questions. Let $N$ be William's secret number. First, Victor asks 4 questions, with $m=2,3,5,7$. We then case on William's responses. + +Case 1. William answers " $n o$ " to all four questions. +$N$ can only be divisible by primes that are 11 or larger. This means $N$ cannot have multiple prime factors (otherwise $N \geq 11^{2}>50$ ), so either $N=1$ or $N$ is one of the 11 remaining primes less than 50 . Victor can then ask 11 questions with $m=11,13,17, \ldots, 47$, one for each of the remaining primes, to determine the value of $N$. + +Case 2. William answers "yes" to $m=2$, and " $n o$ " to $m=3,5,7$. +There are only 11 possible values of $N$ that match these answers $(2,4,8,16,22,26,32$, 34, 38, 44, and 46). Victor can use his remaining 11 questions on each of these possibilities. +Case 3. William answers "yes" to $m=3$, and " $n o$ " to $m=2,5,7$. +There are 5 possible values of $N(3,9,27,33$, and 39). Similar to Case 2, Victor can ask about these 5 numbers to determine the value of $N$. +Case 4. William answers "yes" to multiple questions, or one "yes" to $m=5$ or $m=7$. +Let $k$ be the product of all $m$ 's that received a "yes" response. Since $N$ is divisible by each of these $m$ 's, $N$ must be divisible by $k$. Since $k \geq 5$, there are at most 10 multiples of $k$ between 1 and 50 . Victor can ask about each of these multiples of $k$ with his remaining questions. + +P2. There are 20 students in a high school class, and each student has exactly three close friends in the class. Five of the students have bought tickets to an upcoming concert. If any student sees that at least two of their close friends have bought tickets, then they will buy a ticket too. + +Is it possible that the entire class buys tickets to the concert? +(Assume that friendship is mutual; if student $A$ is close friends with student $B$, then $B$ is close friends with $A$.) + +Solution 1. It is impossible for the whole class to buy tickets to the concert. +If two students $A$ and $B$ are close friends, and $A$ has bought a ticket to the concert while $B$ has not, then $A$ is enticing $B$. We call this pair $(A, B)$ an enticement. + +In order for a student to change their mind and buy a ticket, they first be enticed by at least 2 of their 3 close friends. That means they can only entice at most 1 other friend. Therefore, the total number of enticements among the students decreases by 1 whenever a student changes their mind to buy a ticket. + +Initially, the maximum number of enticements is 15 (each of the initial 5 students with tickets has 3 friends to entice). Assume, for the sake of contradiction, that the entire class ends up buying tickets. After the first 14 people buy tickets, the number of enticements is at most $15-14=1$. This is not enough to convince the last person to buy a ticket, since they need 2 enticements. + +Therefore, it is impossible that the entire class buys tickets. + +Solution 2. We shall use the term friendship to denote an unordered pair of students who are close friends. Since each of the 20 students is part of exactly 3 friendships, there are exactly 30 friendships in the class. (We could also represent friendships as edges in an undirected graph whose vertices are the 20 students.) + +We say that a friendship is used if one of the students in that friendship buys a ticket after the original five buyers, and the other student already has a ticket at that time. Each time a ticket is purchased after the original five purchases, at least two friendships are used. Observe that no friendship gets used twice. + +If all 20 students buy tickets, then three friendships are used when the last student buys a ticket. This would imply that the number of used friendships is at least $14 \times 2+3=31$, which is more than the number of friendships. This contradiction proves that it is not possible that the entire class buys tickets. + +P3. An acute triangle is a triangle that has all angles less than $90^{\circ}$ ( $90^{\circ}$ is a Right Angle). Let $A B C$ be an acute triangle with altitudes $A D, B E$, and $C F$ meeting at $H$. The circle passing through points $D, E$, and $F$ meets $A D, B E$, and $C F$ again at $X, Y$, and $Z$ respectively. Prove the following inequality: + +$$ +\frac{A H}{D X}+\frac{B H}{E Y}+\frac{C H}{F Z} \geq 3 +$$ + +Solution. Let the circumcircle of $A B C$ meet the altitudes $A D, B E$, and $C F$ again at $I, J$, and $K$ respectively. +![](https://cdn.mathpix.com/cropped/2024_11_22_a6fde8055c8f4889ad00g-3.jpg?height=1050&width=1172&top_left_y=792&top_left_x=468) + +Lemma (9-point circle). $I, J, K$ are the reflections of $H$ across $B C, C A, A B$. Moreover, $D, E, F, X, Y, Z$ are the midpoints of $H I, H J, H K, H A, H B, H C$. + +Proof. Since $A B D E$ and $A B I C$ are cyclic, we see that + +$$ +\angle E B D=\angle E A D=\angle C A I=\angle C B I . +$$ + +Hence the lines $B I$ and $B H$ are reflections across $B C$. Similarly, $C H$ and $C I$ are reflections across $B C$, so $I$ is the reflection of $H$ across $B C$. The analogous claims for $J$ and $K$ follow. A $\times 2$ dilation from $H$ now establishes the result. + +From this lemma, we get $A I=2 X D, B J=2 E Y$, and $C K=2 F Z$. Hence it is equivalent to showing that + +$$ +\frac{A H}{2 D X}+\frac{B H}{2 E Y}+\frac{C H}{2 F Z} \geq \frac{3}{2} +$$ + +which is in turn equivalent to + +$$ +\frac{A H}{A I}+\frac{B H}{B J}+\frac{C H}{C K} \geq \frac{3}{2} . +$$ + +Let $a=J K, b=K I$ and $c=I J$. Again by the lemma we find $A H=A K=A J$, so by Ptolemy's theorem on $A K I J$, + +$$ +A J \cdot K I+A K \cdot I J=A I \cdot J K +$$ + +Substituting and rearranging, + +$$ +\begin{aligned} +A H \cdot b+A H \cdot c & =A I \cdot a \\ +A H \cdot(b+c) & =A I \cdot a \\ +\frac{A H}{A I} & =\frac{a}{b+c} . +\end{aligned} +$$ + +Similarly, + +$$ +\frac{B H}{B J}=\frac{b}{c+a} \quad \text { and } \quad \frac{C H}{C K}=\frac{c}{a+b} +$$ + +Plugging these back into $\left(^{*}\right)$, the desired inequality is now + +$$ +\frac{a}{b+c}+\frac{b}{a+c}+\frac{c}{a+b} \geq \frac{3}{2} . +$$ + +This is known as Nesbitt's Inequality, which has many proofs. Below is one such proof. +Add 3 to both sides and rearrange: + +$$ +\begin{aligned} +\left(\frac{a}{b+c}+1\right)+\left(\frac{b}{c+a}+1\right)+\left(\frac{c}{a+b}+1\right) & \geq \frac{3}{2}+3 \\ +\Longleftrightarrow \quad \frac{a+b+c}{b+c}+\frac{a+b+c}{c+a}+\frac{a+b+c}{a+b} & \geq \frac{9}{2} \\ +\Longleftrightarrow \quad(a+b+c)\left(\frac{1}{b+c}+\frac{1}{c+a}+\frac{1}{a+b}\right) & \geq \frac{9}{2} \\ +\Longleftrightarrow \quad & \frac{(b+c)+(c+a)+(a+b)}{3} +\end{aligned} +$$ + +which is true by the AM-HM inequality. + +P4. Let $f(x)$ be a non-constant polynomial with integer coefficients such that $f(1) \neq 1$. For a positive integer $n$, define $\operatorname{divs}(n)$ to be the set of positive divisors of $n$. + +A positive integer $m$ is $f$-cool if there exists a positive integer $n$ for which + +$$ +f[\operatorname{divs}(m)]=\operatorname{divs}(n) +$$ + +Prove that for any such $f$, there are finitely many $f$-cool integers. +(The notation $f[S]$ for some set $S$ denotes the set $\{f(s): s \in S\}$.) +Remark 1. The original problem statement was "For a fixed non-constant polynomial $f(x) \neq$ $x$, prove that there are finitely many composite $f$-cool integers." Note that this allows $f(1)=1$. Try this problem for an added challenge! + +Solution. Assume for the sake of contradiction that there are infinitely many $f$-cool integers. +If $f(x)$ has a negative leading coefficient, then a sufficiently large $f$-cool integer $m$ will have $f(m)<0$. But this implies $m$ is not $f$-cool, contradiction. + +Thus $f(x)$ has a positive leading coefficient, so we can pick an $N$ such that for all $m>N$, + +$$ +f(m)>\max (f(1), f(2), \ldots, f(m-1)) +$$ + +This means $f(m)$ is the largest value in $f[\operatorname{divs}(m)]$, so if $m$ is $f$-cool with $f[\operatorname{divs}(m)]=\operatorname{divs}(n)$, then we must have $n=f(m)$, since $n$ is the largest value in $\operatorname{divs}(n)$. In other words, + +$$ +f[\operatorname{divs}(m)]=\operatorname{divs}(f(m)) +$$ + +for all $f$-cool $m>N$. +For each of those $m$ 's, $1 \in \operatorname{divs}(f(m))$, so there must be a $k \in \operatorname{divs}(m)$ such that $f(k)=1$. Let $k_{1}, k_{2}, \ldots, k_{n}$ be the solutions to $f(x)=1$. Thus every $f$-cool $m>N$ is divisible by some $k \in\left\{k_{1}, k_{2}, \ldots, k_{n}\right\}$. Since there are infinitely many such $m$ 's and finitely many $k$ 's, by the Pigeonhole Principle there is some $k$ which divides infinitely many $f$-cool integers $m$. (Note that $k \neq 1$ since $f(1) \neq 1$.) + +For all $f$-cool $m>N$ divisible by $k$, we have + +$$ +\left.f\left(\frac{m}{k}\right) \in f[\operatorname{divs}(m)]=\operatorname{divs}(f(m)) \Longrightarrow f\left(\frac{m}{k}\right) \right\rvert\, f(m) . +$$ + +Thus, $f(x) \mid f(k x)$ has infinitely many positive integer solutions. Let $d=\operatorname{deg}(f)$, and write + +$$ +\frac{f(k x)}{f(x)}=k^{d}+\frac{g(x)}{f(x)} +$$ + +for some $g(x) \in \mathbb{Z}[x]$ with $\operatorname{deg}(g)\operatorname{deg}(g)$. But then $\frac{f(k x)}{f(x)}-k^{d}=\frac{g(x)}{f(x)}$ cannot be an integer, which gives us the desired contradiction. + +Therefore $g(x)=0$, so $f(k x)=k^{d} f(x)$, i.e. $f(x)=a x^{d}$ for some positive integer $a$. If $a=1$ then $f(1)=1$, a contradiction. But if $a>1$, then $f(x)=1$ has no integer solutions, another contradiction. + +P5. A country with $n$ cities has some two-way roads connecting certain pairs of cities. Someone notices that if the country is split into two parts in any way, then there would be at most $k n$ roads between the two parts (where $k$ is a fixed positive integer). What is the largest integer $m$ (in terms of $n$ and $k$ ) such that there is guaranteed to be a set of $m$ cities, no two of which are directly connected by a road? + +Solution. The answer is $m=\left\lceil\frac{n}{4 k}\right\rceil$ +Call a collection of cities independent if no two cities in the collection are joined by a road. Let $r$ and $k$ be integers such that $n=4 k q+r$ where $1 \leq r \leq 4 k$. + +First we show that $m \leq\left\lceil\frac{n}{4 k}\right\rceil=q+1$. Let $K_{i}$ denote a set of $i$ cities such that every pair of cities in $K_{i}$ is linked by a road. Consider a country containing $q$ copies of $K_{4 k}$ and one copy of $K_{r}$. An independent set of cities in this country contains at most one city from each $K_{4 k}$ or $K_{r}$ and therefore contains at most $q+1$ cities. Now note that any partition of the cities of the country into two new countries partitions each $K_{4 k}$ and $K_{r}$ into two sets. If $K_{i}$ where $i \leq 4 k$ is partitioned into two sets of cities of sizes $a$ and $b$, then the number of roads between the two sets is $a b \leq \frac{(a+b)^{2}}{4} \leq k i$. Summing this inequality over all copies of $K_{4 k}$ and $K_{r}$ yields that there are at most $k n$ roads between the two new countries. This implies that this particular country satisfies the given condition and it follows that $m \leq\left\lceil\frac{n}{4 k}\right\rceil$. + +Now we show that any country satisfying the given condition has an independent set containing at least $\left\lceil\frac{n}{4 k}\right\rceil$ cities. Call a set of cities $i$-separable if it can be partitioned into $i$ disjoint independent sets of cities. Given a country satisfying the conditions, let $S$ be a largest set of cities in the country that is $2 k$-separable. We prove that $|S| \geq n / 2$. By definition of $S$, there exists a partition $A_{1}, A_{2}, \ldots, A_{2 k}$ of the cities in $S$ such that each $A_{i}$ is independent. Let $|S|=t$. Assume for contradiction that $t<\frac{n}{2}$. There are at most $k n$ roads between $S$ and the rest of the country, which by the pigeonhole principle implies that there is a city $u$ not in $S$ that is connected to at most $\frac{k n}{n-t}<2 k$ cities by road. Therefore $u$ is joined by a road to at most $2 k-1$ cities in $S$, and there must be an independent subset $A_{i}$ such that $u$ is not linked by a road to any city in $A_{i}$. Adding $u$ to $S$ maintains the fact that $S$ is $2 k$-separable but contradicts its maximality. Therefore it must follow that $t \geq \frac{n}{2}$. By the pigeonhole principle, one of the sets $A_{1}, A_{2}, \ldots, A_{2 k}$ must contain at least $\frac{t}{2 k} \geq \frac{n}{4 k}$ cities. This proves the claim and therefore $m=\left\lceil\frac{n}{4 k}\right\rceil$. + diff --git a/CANADA_MO/md/en-cmo2024-solutions-en.md b/CANADA_MO/md/en-cmo2024-solutions-en.md new file mode 100644 index 0000000000000000000000000000000000000000..dccec2bcebd553b5491c7f59e0e8924e51ab42cb --- /dev/null +++ b/CANADA_MO/md/en-cmo2024-solutions-en.md @@ -0,0 +1,146 @@ +![](https://cdn.mathpix.com/cropped/2024_11_22_954c1edb53eb2110c797g-1.jpg?height=324&width=1659&top_left_y=231&top_left_x=233) + +# Official Solutions for CMO 2024 + +P1. Let $A B C$ be a triangle with incenter $I$. Suppose the reflection of $A B$ across $C I$ and the reflection of $A C$ across $B I$ intersect at a point $X$. Prove that $X I$ is perpendicular to $B C$. +(The incenter is the point where the three angle bisectors meet.) + +Solution. Suppose the reflection of $A C$ across $B I$ intersects $B C$ at $E$. Define $F$ similarly for the reflection of $A B$ across $C I$. Also suppose $C I$ intersects $A B$ at $M$ and $B I$ intersects $A C$ at $N$. Since $C A$ and $C F=B C$ are reflections across $C I$, and so are $M A$ and $M F=X M$, we have that $A$ and $F$ are reflections across $C I$. Similarly $A$ and $E$ are reflections across $B I$. Thus $\angle X F C=\angle B A C=\angle X E B$ if $\angle B A C$ is acute (and $\angle X F C=\angle X E B=\pi-\angle B A C$, when $\angle B A C$ is obtuse), so $X F=X E$. Moreover we also find that $I F=I A=I E$ by the aforementioned reflection properties, so thus $X I$ is the perpendicular bisector of $E F$ and is hence perpendicular to $B C$. + +P2. Jane writes down 2024 natural numbers around the perimeter of a circle. She wants the 2024 products of adjacent pairs of numbers to be exactly the set $\{1!, 2!, \ldots, 2024!\}$. Can she accomplish this? + +Solution 1. Given any prime $p$ and positive integer $x$, let $v_{p}(x)$ denote the highest power of $p$ dividing $x$. We claim that Jane cannot write 2024 such numbers as that would imply that $1!\cdot 2!\cdots 2024$ ! is the square of the product of the 2024 numbers. Let $p$ be a prime and $k$ be a natural number such that $k2024$. Then note that + +$$ +v_{p}(1!\cdot 2!\cdots 2024!)=(2024-p+1)+(2024-2 p+1)+\ldots+(2024-k p+1) +$$ + +In particular, let $p$ be in $\left(\frac{2024}{4}, \frac{2024}{2}\right)$. By Bertrand's Postulate, such a prime $p$ exists (and $p$ must also be odd). Further, the corresponding $k$ is either 2 or 3 . Either way, $v_{p}(1!\cdot 2!\cdots 2024$ !) is odd from the above formula, and so $1!\cdot 2!\cdots 2024$ ! cannot be a perfect square. + +Solution 2. As in the first solution, we prove $1!\cdot 2!\cdots 2024$ ! is not a perfect square. To do this, note that we can rewrite the product as $(1!)^{2} \cdot 2 \cdot(3!)^{2} \cdot 4 \cdots(2023!)^{2} \cdot 2024$ which is + +$$ +2 \cdot 4 \cdots 2024 \cdot(1!\cdot 3!\cdots 2023!)^{2}=1012!\cdot\left(2^{1012} \cdot 1!\cdot 3!\cdots 2023!\right)^{2} +$$ + +so it is sufficient to verify 1012 ! is not a perfect square. This can be verified by either noticing the prime 1009 only appears as a factor of 1012 ! once, or by evaluating $v_{2}(1012!)=1005$. + +P3. Let $N$ be the number of positive integers with 10 digits $\overline{d_{9} d_{8} \cdots d_{1} d_{0}}$ in base 10 (where $0 \leq d_{i} \leq 9$ for all $i$ and $d_{9}>0$ ) such that the polynomial + +$$ +d_{9} x^{9}+d_{8} x^{8}+\cdots+d_{1} x+d_{0} +$$ + +is irreducible in $\mathbb{Q}$. Prove that $N$ is even. +(A polynomial is irreducible in $\mathbb{Q}$ if it cannot be factored into two non-constant polynomials with rational coefficients.) + +Solution. Let $f(x)=d_{9} x^{9}+d_{8} x^{8}+\cdots+d_{1} x+d_{0}$. If $d_{0}=0$, then $f(x)$ is divisible by $x$ and thus reducible, so we may ignore all such polynomials. The remaining polynomials all have nonzero leading and constant coefficients. + +For any polynomial $p(x)$ of degree $n$ with nonzero leading and constant coefficients, say $p(x)=a_{n} x^{n}+a_{n-1} x^{n-1}+\cdots+a_{1} x+a_{0}$, define $\bar{p}(x)$ to be the reversed polynomial $a_{0} x^{n}+$ $a_{1} x^{n-1}+\cdots+a_{n-1} x+a_{n}$. Observe that $\bar{p}(x)$ also has degree $n$ and furthermore, $\bar{p}(x)=$ $x^{n}\left(a_{0}+a_{1}\left(\frac{1}{x}\right)+\cdots+a_{n-1}\left(\frac{1}{x}\right)^{n-1}+a_{n}\left(\frac{1}{x}\right)^{n}\right)=x^{n} p\left(\frac{1}{x}\right)$. +Consider pairing each $f(x)$ with $\bar{f}(x)$ whenever $f(x) \neq \bar{f}(x)$. If $f(x)$ is reducible, it can be factored as $f(x)=g(x) h(x)$ where $\operatorname{deg} g, \operatorname{deg} h \geq 1$. Because the leading and constant coefficients of $f(x)$ are nonzero, so are the leading and constant coefficients of $g(x)$ and $h(x)$. Hence $\bar{g}(x)$ and $\bar{h}(x)$ are well defined with $\operatorname{deg} \bar{g}=\operatorname{deg} g \geq 1$ and $\operatorname{deg} \bar{h}=\operatorname{deg} h \geq 1$. Furthermore, + +$$ +\bar{f}(x)=x^{9} f\left(\frac{1}{x}\right)=x^{9} g\left(\frac{1}{x}\right) h\left(\frac{1}{x}\right)=\left(x^{\operatorname{deg} g} g\left(\frac{1}{x}\right)\right)\left(x^{\operatorname{deg} h} h\left(\frac{1}{x}\right)\right)=\bar{g}(x) \bar{h}(x) +$$ + +Thus $\bar{f}(x)=\bar{g}(x) \bar{h}(x)$ is a factorization of $\bar{f}(x)$ into two non-constant polynomials, so $\bar{f}(x)$ is also reducible. Therefore $f(x)$ is irreducible if and only if $\bar{f}(x)$ is irreducible, so considering each pair, there are an even number of irreducible polynomials with $f(x) \neq \bar{f}(x)$. +Finally, note that if $f(x)=\bar{f}(x)$, then $d_{i}=d_{9-i}$ for each $i$. In such a case, we have $f(-1)=$ $\left(d_{0}-d_{9}\right)+\left(d_{2}-d_{7}\right)+\left(d_{4}-d_{5}\right)+\left(d_{6}-d_{3}\right)+\left(d_{8}-d_{1}\right)=0$, so by the Factor Theorem, $(x+1)$ is a factor of $f(x)$. Therefore these remaining polynomials are all reducible. + +P4. Centuries ago, the pirate Captain Blackboard buried a vast amount of treasure in a single cell of an $M \times N(2 \leq M, N)$ grid-structured island. You and your crew have reached the island and have brought special treasure detectors to find the cell with the treasure. For each detector, you can set it up to scan a specific subgrid $[a, b] \times[c, d]$ with $1 \leq a \leq b \leq M$ and $1 \leq c \leq d \leq N$. Running the detector will tell you whether the treasure is in the region or not, though it cannot say where in the region the treasure was detected. You plan on setting up $Q$ detectors, which may only be run simultaneously after all $Q$ detectors are ready. In terms of $M$ and $N$, what is the minimum $Q$ required to guarantee your crew can determine the location of Blackboard's legendary treasure? + +Solution 1. Let $m=\left\lceil\frac{M}{2}\right\rceil$ and $n=\left\lceil\frac{N}{2}\right\rceil$. We claim that the minimal $Q$ is $m+n$. For the construction, start with $m$ detectors covering $[i, i+m-1] \times[1, N]$ for $1 \leq i \leq m$. For every pair of rows, there is a detector that covers one row but not the other, hence this determines the row of the treasure. Similarly, placing $n$ detectors covering $[1, M] \times[i, i+n-1]$ for $1 \leq i \leq n$ determines the column, and thus the location of the treasure. + +For the bound, we require the following lemma. +Lemma. $A 1 \times k$ island requires at least $\left\lceil\frac{k}{2}\right\rceil$ detectors. +Proof. Consider the $k-1$ lines separating the cells. If one of these lines is not covered by any detector, then these cells are indistinguishable. Similarly, if neither of the vertical lines at the ends are covered, then the first and last cells are indistinguishable. In particular, at least $k$ vertical lines need to be covered by the detectors. A detector covers 2 vertical lines, giving the result. + +In general, consider the first row. Since the cells are distinguishable, by the lemma there must be at least $n$ detectors that intersect it non-trivially (as in, cover between 1 and $N-1$ of the cells). The analogous result holds for the last row and the first/last columns, giving $2 m+2 n$ detectors, where a detector may be counted multiple times. + +If a detector intersected at least three of these sets, say it intersected the first row and the first and last columns. Therefore it covers the entire width of the island, and does not actually distinguish any cells in the first row, contradiction. + +Therefore each detector contributes to at most 2 of the above $2 m+2 n$ detectors, giving the final lower bound of $\frac{2 m+2 n}{2}=m+n$ detectors required, as desired. + +Solution 2. The following alternative approach from CMO competitor Marvin Mao of Bergen County Academies is another full solution. + +Take the same construction as in Solution 1. For the bound, consider the following sets: + +- $S_{\mathrm{CR}}:=\{\{(1,1),(1, N)\},\{(M, 1),(M, N)\}\}$, i.e. the pairs of corners on the same row; +- $S_{\mathrm{CC}}:=\{\{(1,1),(M, 1)\},\{(1, N),(M, N)\}\}$, i.e. the pairs of corners on the same column; +- $S_{\mathrm{R}}:=\{\{(x, i),(x, i+1)\}: x \in\{1, M\}, 1 \leq i \leq N-1\}$, i.e. the pairs of adjacent edges on the first/last row; +- $S_{\mathrm{C}}:=\{\{(i, x),(i+1, x)\}: 1 \leq i \leq M-1, x \in\{1, N\}$, $\}$, i.e. the pairs of adjacent edges on the first/last column. + +For each detector, we assign it a score $\left(x_{\mathrm{CR}}, x_{\mathrm{CC}}, x_{\mathrm{R}}, x_{\mathrm{C}}\right)$, where $x_{\mathrm{i}}$ is the number of pairs of cells in $S_{\mathrm{i}}$ for which the detector covers exactly one of the two cells. The possible scores of the detectors are as follows: + +| What the detector hits | Score | +| :---: | :---: | +| No edges | $(0,0,0,0)$ | +| One edge, no corners | $(0,0,2,0)$ or $(0,0,0,2)$ | +| Two edges, no corners | $(0,0,4,0)$ or $(0,0,0,4)$ | +| One corner | $(1,1,1,1)$ | +| Two corners | $(2,0,2,0)$ or $(0,2,0,2)$ | +| $>2$ corners or edges | $(0,0,0,0)$ | + +In order to determine the treasure, the total component-wise sum of scores of the detectors needs to be at least $(2,2,2 N-2,2 M-2)$, since we need to tell apart each of the pairs of cells. The sum of these components is $2 M+2 N$, and based on the analysis above, each detector adds a total component sum of at most 4 , giving at least $\left\lceil\frac{2 M+2 N}{4}\right\rceil=\left\lceil\frac{M+N}{2}\right\rceil$ detectors. + +This is equal to $\left\lceil\frac{M}{2}\right\rceil+\left\lceil\frac{N}{2}\right\rceil$ except if both $M, N$ are odd. In this case, if there is at least one more detector, then we have the required bound, so assume otherwise. In particular, we must achieve exactly the score $(2,2,2 N-2,2 M-2)$, with each detector contributing 4 to the total component sum. + +In particular, to fill out the first two components, we must either have two detectors scoring $(1,1,1,1)$, or two detectors scoring $(2,0,2,0)$ and $(0,2,0,2)$. This yields a total score of $(2,2,2,2)$, leaving us with achieving exactly $(0,0,2 N-4,2 M-4)$ from the rest. Since we cannot have a non-zero score in the first two entries and must have a total component sum of 4 , we can only use detectors scoring $(0,0,4,0)$ or $(0,0,0,4)$. But $2 N-4,2 M-4 \equiv 2$ $(\bmod 4)$, which is a contradiction. +Therefore all situations require at least $\left\lceil\frac{M}{2}\right\rceil+\left\lceil\frac{N}{2}\right\rceil$ detectors. + +P5. Initially, three non-collinear points, $A, B$, and $C$, are marked on the plane. You have a pencil and a double-edged ruler of width 1. Using them, you may perform the following operations: + +- Mark an arbitrary point in the plane. +- Mark an arbitrary point on an already drawn line. +- If two points $P_{1}$ and $P_{2}$ are marked, draw the line connecting $P_{1}$ and $P_{2}$. +- If two non-parallel lines $\ell_{1}$ and $\ell_{2}$ are drawn, mark the intersection of $\ell_{1}$ and $\ell_{2}$. +- If a line $\ell$ is drawn, draw a line parallel to $\ell$ that is at distance 1 away from $\ell$ (note that two such lines may be drawn). + +Prove that it is possible to mark the orthocenter of $A B C$ using these operations. + +## Solution 1. + +Claim 1. It is possible to draw internal/external angle bisectors. +Proof. Let $A, B, C$ be marked. To bisect $\angle A B C$, draw the parallel line to $A B$ unit 1 away from it on the opposite side as $C$, and draw the parallel line to $B C$ unit 1 away from it on the opposite side as $A$. Let these lines intersect at $D$. Then $B D$ is the internal angle bisector of $\angle A B C$. We can construct external angle bisectors similarly by drawing the line on the same side as $A$ for the second line instead. + +Corollary 2. It is possible to mark the incenters and excenters of a triangle $A B C$. +Proof. Draw in the internal/external bisectors of all three angles and intersect them. +Claim 3. It is possible to mark the midpoint of any segment $A B$. +Proof. Let $B$ and $C$ be marked. Draw an arbitrary point $A$ not on line $B C$. Draw a line parallel to $B C$ unit 1 away from it on the opposite side as $A$, and let this line intersect $A B$ at $D$ and $A C$ at $E$. Let $B E$ and $C D$ intersect at $F$, and let $A F$ intersect $B C$ at $M$. Then by Ceva's Theorem, $M$ is the midpoint of $B C$. + +Corollary 4. It is possible to mark the centroid of $A B C$. +Proof. Draw the midpoint $D$ of $B C$ and the midpoint $E$ of $A C$, and intersect $A D$ with BE. + +Claim 5. It is possible to draw the perpendicular bisector of any segment BC. + +Proof. Let $B$ and $C$ be marked. Draw an arbitrary point $A$ not on line $B C$. Construct the incenter $I$ and $A$-excenter $I_{A}$ of $A B C$. Draw the midpoint $M$ of $B C$ and midpoint $N$ of $I I_{A}$. By the incenter-excenter lemma, $N$ is the midpoint of the $\operatorname{arc} \overparen{B C}$ not containing $A$, so $M N$ is the perpendicular bisector of $B C$. + +Corollary 6. It is possible to mark the circumcenter of $A B C$. +Proof. Draw and intersect the perpendicular bisectors of $B C$ and $A C$. + +Claim 7. Given two marked points $A$ and $B$, it is possible to mark the point $C$ such that $\overrightarrow{B C}=\frac{1}{2} \overrightarrow{A B}$. + +Proof. Draw an arbitrary point $D$ not on line $A B$. Draw the midpoint $M$ of $A D$. Draw the midpoint $M_{1}$ of $B D$ and the midpoint $M_{2}$ of $M D$, and let $M_{1} M_{2}$ intersect $A B$ at $C$. Then $M_{1} M_{2} \| B M$ and $M M_{2}=\frac{1}{2} M D=\frac{1}{2} A M$, so $B C=\frac{1}{2} A B$. + +Claim 8. Given two marked points $A$ and $B$ and any positive real number $k$ such that $2 k \in \mathbb{Z}$, it is possible to mark the point $C$ such that $\overrightarrow{B C}=k \overrightarrow{A B}$. + +Proof. Note that by applying Claim 7 and marking the midpoint of $A B$, we can translate both $A$ and $B$ by $\frac{1}{2} \overrightarrow{A B}$. The claim now follows by applying this operation repeatedly. + +To finish, take the given triangle $A B C$ and mark its circumcenter $O$ and centroid $G$. Note that its orthocenter $H$ satisfies that $\overrightarrow{G H}=2 \overrightarrow{O G}$, so applying Claim 8 to $k=2$ now finishes the problem. + +Solution 2. Ming Yang of Brophy College Preparatory submitted the following short, elegant solution which also creates tools that are able to extend beyond the problem. This solution has been designated by the CMO as the Best Solution for 2024 and earns Ming Yang the Matthew Brennan Award this year. + +Start with Claims 1-3 of solution 1, allowing us to draw internal/external angle bisectors, in/excentres, and midpoints. We add one more claim. + +Claim 9. Given a point $P$ and a line $\ell_{1}$, it is possible to draw a line through $P$ parallel to $\ell_{1}$. + +Proof. Draw the line $\ell_{2}$ on the opposite side of $\ell_{1}$ to $P$, a distance 1 away. Draw arbitrary lines $P A B$ and $P C D$ with $A, C \in \ell_{1}, B, D \in \ell_{2}$. Let $E$ be the midpoint of $A C$, let $F=P E \cap \ell_{2}$, and let $Q=B E \cap F C$. + +Since $\triangle Q E C \sim \triangle Q B F$ and $\triangle P A E \sim \triangle P B F$, we have + +$$ +\frac{Q E}{Q B}=\frac{E C}{B F}=\frac{A E}{B F}=\frac{P A}{P B} +$$ + +so $\triangle B A E \sim \triangle B P Q$. In particular, $P Q$ is parallel to $A E$, as desired. +In triangle $\triangle A B C$, draw the incentre $I$ and $A$-excentre $I_{A}$. Draw the midpoints $D$ of $B C$ and $M$ of $I I_{A}$. By the incentre-excentre lemma, $M$ is on the perpendicular bisector of $B C$, so $M D$ is perpendicular to $B C$. Finally, using Claim 9, we can draw a line through $A$ that is perpendicular to $B C$. Repeat this for $B$ and $A C$, and their intersection is the orthocentre of $\triangle A B C$, as required. + diff --git a/CANADA_MO/md/en-exam1969.md b/CANADA_MO/md/en-exam1969.md new file mode 100644 index 0000000000000000000000000000000000000000..6558342a4ede3b012c2316125991fdadec990f75 --- /dev/null +++ b/CANADA_MO/md/en-exam1969.md @@ -0,0 +1,61 @@ +# Canadian Mathematical Olympiad + +## Problem 1 + +Show that if $a_{1} / b_{1}=a_{2} / b_{2}=a_{3} / b_{3}$ and $p_{1}, p_{2}, p_{3}$ are not all zero, then + +$$ +\left(\frac{a_{1}}{b_{1}}\right)^{n}=\frac{p_{1} a_{1}^{n}+p_{2} a_{2}^{n}+p_{3} a_{3}^{n}}{p_{1} b_{1}^{n}+p_{2} b_{2}^{n}+p_{3} b_{3}^{n}} +$$ + +for every positive integer $n$. + +## PROBLEM 2 + +Determine which of the two numbers $\sqrt{c+1}-\sqrt{c}, \sqrt{c}-\sqrt{c-1}$ is greater for any $c \geq 1$. + +## Problem 3 + +Let $c$ be the length of the hypotenuse of a right angle triangle whose other two sides have lengths $a$ and $b$. Prove that $a+b \leq \sqrt{2} c$. When does the equality hold? + +Problem 4 +Let $A B C$ be an equilateral triangle, and $P$ be an arbitrary point within the triangle. Perpendiculars $P D, P E, P F$ are drawn to the three sides of the triangle. Show that, no matter where $P$ is chosen, + +$$ +\frac{P D+P E+P F}{A B+B C+C A}=\frac{1}{2 \sqrt{3}} +$$ + +## PROBLEM 5 + +Let $A B C$ be a triangle with sides of lengths $a, b$ and $c$. Let the bisector of the angle $C$ cut $A B$ in $D$. Prove that the length of $C D$ is + +$$ +\frac{2 a b \cos \frac{C}{2}}{a+b} +$$ + +## PROBLEM 6 + +Find the sum of $1 \cdot 1!+2 \cdot 2!+3 \cdot 3!+\cdots+(n-1)(n-1)!+n \cdot n!$, where $n!=$ $n(n-1)(n-2) \cdots 2 \cdot 1$. + +PROBLEM 7 +Show that there are no integers $a, b, c$ for which $a^{2}+b^{2}-8 c=6$. + +## Problem 8 + +Let $f$ be a function with the following properties: + +1) $f(n)$ is defined for every positive integer $n$; +2) $f(n)$ is an integer; +3) $f(2)=2$; +4) $f(m n)=f(m) f(n)$ for all $m$ and $n$; +5) $f(m)>f(n)$ whenever $m>n$. + +Prove that $f(n)=n$. +PROBLEM 9 +Show that for any quadrilateral inscribed in a circle of radius 1 , the length of the shortest side is less than or equal to $\sqrt{2}$. + +## PRoblem 10 + +Let $A B C$ be the right-angled isosceles triangle whose equal sides have length $1 . P$ is a point on the hypotenuse, and the feet of the perpendiculars from $P$ to the other sides are $Q$ and $R$. Consider the areas of the triangles $A P Q$ and $P B R$, and the area of the rectangle $Q C R P$. Prove that regardless of how $P$ is chosen, the largest of these three areas is at least $2 / 9$. +![](https://cdn.mathpix.com/cropped/2024_11_22_a66f72136a51e76a6969g-2.jpg?height=461&width=472&top_left_y=870&top_left_x=1130) + diff --git a/CANADA_MO/md/en-exam1970.md b/CANADA_MO/md/en-exam1970.md new file mode 100644 index 0000000000000000000000000000000000000000..0ba4cc635be808c78db2ff7563dfb5e469d9cb1f --- /dev/null +++ b/CANADA_MO/md/en-exam1970.md @@ -0,0 +1,67 @@ +# Canadian Mathematical Olympiad + +1970 + +## Problem 1 + +Find all number triples $(x, y, z)$ such that when any one of these numbers is added to the product of the other two, the result is 2 . + +## Problem 2 + +Given a triangle $A B C$ with angle $A$ obtuse and with altitudes of length $h$ and $k$ as shown in the diagram, prove that $a+h \geq b+k$. Find under what conditions $a+h=b+k$. + +## Problem 3 + +A set of balls is given. Each ball is coloured red or blue, and there is at least one of each colour. Each ball weighs either 1 pound or 2 pounds, and there is at least one of each weight. Prove that there are 2 balls having different weights and different colours. + +## PROBLEM 4 + +a) Find all positive integers with initial digit 6 such that the integer formed by deleting this 6 is $1 / 25$ of the original integer. +b) Show that there is no integer such that deletion of the first digit produces a result which is $1 / 35$ of the original integer. + +## Problem 5 + +A quadrilateral has one vertex on each side of a square of side-length 1. Show that the lengths $a, b, c$ and $d$ of the sides of the quadrilateral satisfy the inequalities + +$$ +2 \leq a^{2}+b^{2}+c^{2}+d^{2} \leq 4 +$$ + +## Problem 6 + +Given three non-collinear points $A, B, C$, construct a circle with centre $C$ such that the tangents from $A$ and $B$ to the circle are parallel. + +## PROBLEM 7 + +Show that from any five integers, not necessarily distinct, one can always choose three of these integers whose sum is divisible by 3. + +## Problem 8 + +Consider all line segments of length 4 with one end-point on the line $y=x$ and the other end-point on the line $y=2 x$. Find the equation of the locus of the midpoints of these line segments. + +## PROblem 9 + +Let $f(n)$ be the sum of the first $n$ terms of the sequence + +$$ +0,1,1,2,2,3,3,4,4,5,5,6,6, \ldots +$$ + +a) Give a formula for $f(n)$. +b) Prove that $f(s+t)-f(s-t)=s t$ where $s$ and $t$ are positive integers and $s>t$. + +Problem 10 +Given the polynomial + +$$ +f(x)=x^{n}+a_{1} x^{n-1}+a_{2} x^{n-2}+\cdots+a_{n-1} x+a_{n} +$$ + +with integral coefficients $a_{1}, a_{2}, \ldots, a_{n}$, and given also that there exist four distinct integers $a, b, c$ and $d$ such that + +$$ +f(a)=f(b)=f(c)=f(d)=5 +$$ + +show that there is no integer $k$ such that $f(k)=8$. + diff --git a/CANADA_MO/md/en-exam1971.md b/CANADA_MO/md/en-exam1971.md new file mode 100644 index 0000000000000000000000000000000000000000..d035d0e17b8856c43405132ae05b4187fe691b5e --- /dev/null +++ b/CANADA_MO/md/en-exam1971.md @@ -0,0 +1,55 @@ +# Canadian Mathematical Olympiad + +## Problem 1 + +$D E B$ is a chord of a circle such that $D E=3$ and $E B=5$. Let $O$ be the centre of the circle. Join $O E$ and extend $O E$ to cut the circle at $C$. (See diagram). Given $E C=1$, find the radius of the circle. + +## PROBLEM 2 + +![](https://cdn.mathpix.com/cropped/2024_11_22_1fecdb00db36e1aa824bg-1.jpg?height=337&width=350&top_left_y=585&top_left_x=1191) + +Let $x$ and $y$ be positive real numbers such that $x+y=1$. Show that + +$$ +\left(1+\frac{1}{x}\right)\left(1+\frac{1}{y}\right) \geq 9 +$$ + +## PROblem 3 + +$A B C D$ is a quadrilateral with $A D=B C$. If $\angle A D C$ is greater than $\angle B C D$, prove that $A C>B D$. + +## PROBLEM 4 + +Determine all real numbers $a$ such that the two polynomials $x^{2}+a x+1$ and $x^{2}+x+a$ have at least one root in common. + +## Problem 5 + +Let + +$$ +p(x)=a_{0} x^{n}+a_{1} x^{n-1}+\cdots+a_{n-1} x+a_{n} +$$ + +where the coefficients $a_{i}$ are integers. If $p(0)$ and $p(1)$ are both odd, show that $p(x)$ has no integral roots. + +## Problem 6 + +Show that, for all integers $n, n^{2}+2 n+12$ is not a multiple of 121 . + +## PROBLEM 7 + +Let $n$ be a five digit number (whose first digit is non-zero) and let $m$ be the four digit number formed from $n$ by deleting its middle digit. Determine all $n$ such that $n / m$ is an integer. + +## Problem 8 + +A regular pentagon is inscribed in a circle of radius $r . P$ is any point inside the pentagon. Perpendiculars are dropped from $P$ to the sides, or the sides produced, of the pentagon. +a) Prove that the sum of the lengths of these perpendiculars is constant. +b) Express this constant in terms of the radius $r$. + +Problem 9 +Two flag poles of heights $h$ and $k$ are situated $2 a$ units apart on a level surface. Find the set of all points on the surface which are so situated that the angles of elevation of the tops of the poles are equal. + +## PROBLEM 10 + +Suppose that $n$ people each know exactly one piece of information, and all $n$ pieces are different. Every time person A phones person B, A tells B everything that A knows, while B tells A nothing. What is the minimum number of phone calls between pairs of people needed for everyone to know everything? Prove your answer is a minimum. + diff --git a/CANADA_MO/md/en-exam1972.md b/CANADA_MO/md/en-exam1972.md new file mode 100644 index 0000000000000000000000000000000000000000..eb33198e83cabce46e1f40434c5b8fc3fb71fcd6 --- /dev/null +++ b/CANADA_MO/md/en-exam1972.md @@ -0,0 +1,54 @@ +# Canadian Mathematical Olympiad + +1972 + +## Problem 1 + +Given three distinct unit circles, each of which is tangent to the other two, find the radii of the circles which are tangent to all three circles. + +## PROblem 2 + +Let $a_{1}, a_{2}, \ldots, a_{n}$ be non-negative real numbers. Define $M$ to be the sum of all products of pairs $a_{i} a_{j}(i0$. + +## PROBLEM 7 + +a) Prove that the values of $x$ for which $x=\left(x^{2}+1\right) / 198$ lie between $1 / 198$ and 197.99494949 . +b) Use the result of a) to prove that $\sqrt{2}<1.41 \overline{421356}$. +c) Is it true that $\sqrt{2}<1.41421356$ ? + +## Problem 8 + +During a certain election campaign, $p$ different kinds of promises are made by the various political parties $(p>0)$. While several parties may make the same promise, any two parties have at least one promise in common; no two parties have exactly the same set of promises. Prove that there are no more than $2^{p-1}$ parties. + +Problem 9 +Four distinct lines $L_{1}, L_{2}, L_{3}, L_{4}$ are given in the plane: $L_{1}$ and $L_{2}$ are respectively parallel to $L_{3}$ and $L_{4}$. Find the locus of a point moving so that the sum of its perpendicular distances from the four lines is constant. + +Problem 10 +What is the maximum number of terms in a geometric progression with common ratio greater than 1 whose entries all come from the set of integers between 100 and 1000 inclusive? + diff --git a/CANADA_MO/md/en-exam1973.md b/CANADA_MO/md/en-exam1973.md new file mode 100644 index 0000000000000000000000000000000000000000..c4805f5c884998cad2703af31e11e4d890c1dec3 --- /dev/null +++ b/CANADA_MO/md/en-exam1973.md @@ -0,0 +1,61 @@ +# Canadian Mathematical Olympiad + +1973 + +## Problem 1 + +(i) Solve the simultaneous inequalities, $x<\frac{1}{4 x}$ and $x<0$; i.e., find a single inequality equivalent to the two given simultaneous inequalities. +(ii) What is the greatest integer which satisfies both inequalities $4 x+13<0$ and $x^{2}+3 x>16 ?$ +(iii) Give a rational number between $11 / 24$ and $6 / 13$. +(iv) Express 100000 as a product of two integers neither of which is an integral multiple of 10. +(v) Without the use of logarithm tables evaluate + +$$ +\frac{1}{\log _{2} 36}+\frac{1}{\log _{3} 36} +$$ + +## PROBLEM 2 + +Find all the real numbers which satisfy the equation $|x+3|-|x-1|=x+1$. (Note: $|a|=a$ if $a \geq 0 ;|a|=-a$ if $a<0$.) + +## Problem 3 + +Prove that if $p$ and $p+2$ are both prime integers greater than 3 , then 6 is a factor of $p+1$. + +## PROBLEM 4 + +The figure shows a (convex) polygon with nine vertices. The six diagonals which have been drawn dissect the polygon into the seven triangles: $P_{0} P_{1} P_{3}, \quad P_{0} P_{3} P_{6}, \quad P_{0} P_{6} P_{7}, \quad P_{0} P_{7} P_{8}, \quad P_{1} P_{2} P_{3}$, $P_{3} P_{4} P_{6}, P_{4} P_{5} P_{6}$. In how many ways can these triangles be labelled with the names $\triangle_{1}, \triangle_{2}, \triangle_{3}$, $\triangle_{4}, \triangle_{5}, \triangle_{6}, \triangle_{7}$ so that $P_{i}$ is a vertex of triangle $\triangle_{i}$ for $i=1,2,3,4,5,6,7$ ? Justify your answer. +![](https://cdn.mathpix.com/cropped/2024_11_22_f115bae7a445ac46b066g-1.jpg?height=362&width=388&top_left_y=1440&top_left_x=1156) + +## PRoblem 5 + +For every positive integer $n$, let + +$$ +h(n)=1+\frac{1}{2}+\frac{1}{3}+\cdots+\frac{1}{n} +$$ + +For example, $h(1)=1, h(2)=1+\frac{1}{2}, h(3)=1+\frac{1}{2}+\frac{1}{3}$. Prove that for $n=2,3,4, \ldots$ + +$$ +n+h(1)+h(2)+h(3)+\cdots+h(n-1)=n h(n) +$$ + +PROBLEM 6 +If $A$ and $B$ are fixed points on a given circle not collinear with centre $O$ of the circle, and if $X Y$ is a variable diameter, find the locus of $P$ (the intersection of the line through $A$ and $X$ and the line through $B$ and $Y$ ). + +## PROBLEM 7 + +Observe that + +$$ +\frac{1}{1}=\frac{1}{2}+\frac{1}{2} ; \quad \frac{1}{2}=\frac{1}{3}+\frac{1}{6} ; \quad \frac{1}{3}=\frac{1}{4}+\frac{1}{12} ; \quad \frac{1}{4}=\frac{1}{5}+\frac{1}{20} +$$ + +State a general law suggested by these examples, and prove it. +Prove that for any integer $n$ greater than 1 there exist positive integers $i$ and $j$ such that + +$$ +\frac{1}{n}=\frac{1}{i(i+1)}+\frac{1}{(i+1)(i+2)}+\frac{1}{(i+2)(i+3)}+\cdots+\frac{1}{j(j+1)} +$$ + diff --git a/CANADA_MO/md/en-exam1974.md b/CANADA_MO/md/en-exam1974.md new file mode 100644 index 0000000000000000000000000000000000000000..1f3f24a02960690d605cdeced04d11c8f8efe905 --- /dev/null +++ b/CANADA_MO/md/en-exam1974.md @@ -0,0 +1,102 @@ +# Canadian Mathematical Olympiad + +1974 + +## PART A + +Problem 1 +i) If $x=\left(1+\frac{1}{n}\right)^{n}$ and $y=\left(1+\frac{1}{n}\right)^{n+1}$, show that $y^{x}=x^{y}$. +ii) Show that, for all positive integers $n$, + +$$ +1^{2}-2^{2}+3^{2}-4^{2}+\cdots+(-1)^{n}(n-1)^{2}+(-1)^{n+1} n^{2}=(-1)^{n+1}(1+2+\cdots+n) +$$ + +## Problem 2 + +Let $A B C D$ be a rectangle with $B C=3 A B$. Show that if $P, Q$ are the points on side $B C$ with $B P=P Q=Q C$, then + +$$ +\angle D B C+\angle D P C=\angle D Q C . +$$ + +## PART B + +## Problem 3 + +Let + +$$ +f(x)=a_{0}+a_{1} x+a_{2} x^{2}+\cdots+a_{n} x^{n} +$$ + +be a polynomial with coefficients satisfying the conditions: + +$$ +0 \leq a_{i} \leq a_{0}, \quad i=1,2, \ldots, n +$$ + +Let $b_{0}, b_{1}, \ldots, b_{2 n}$ be the coefficients of the polynomial + +$$ +\begin{aligned} +(f(x))^{2} & =\left(a_{0}+a_{1} x+a_{2} x^{2}+\cdots+a_{n} x^{n}\right)^{2} \\ +& =b_{0}+b_{1} x+b_{2} x^{2}+\cdots+b_{n+1} x^{n+1}+\cdots+b_{2 n} x^{2 n} +\end{aligned} +$$ + +Prove that + +$$ +b_{n+1} \leq \frac{1}{2}(f(1))^{2} +$$ + +PROBLEM 4 +Let $n$ be a fixed positive integer. To any choice of $n$ real numbers satisfying + +$$ +0 \leq x_{i} \leq 1, \quad i=1,2, \ldots, n +$$ + +there corresponds the sum +(*) + +$$ +\begin{aligned} +& \sum_{1 \leq i1$ for all values of $n=1,2,3, \ldots$. +Problem 7 +A rectangular city is exactly $m$ blocks long and $n$ blocks wide (see diagram). A woman lives in the southwest corner of the city and works in the northeast corner. She walks to work each day but, on any given trip, she makes sure that her path does not include any intersection twice. Show that the number $f(m, n)$ of different paths she can take to work satisfies $f(m, n) \leq 2^{m n}$. +![](https://cdn.mathpix.com/cropped/2024_11_22_9e9b468da327302f511bg-2.jpg?height=343&width=611&top_left_y=1501&top_left_x=665) + diff --git a/CANADA_MO/md/en-exam1978.md b/CANADA_MO/md/en-exam1978.md new file mode 100644 index 0000000000000000000000000000000000000000..bf4bd8e4c06006e61b728ac9677863a33dc3ba95 --- /dev/null +++ b/CANADA_MO/md/en-exam1978.md @@ -0,0 +1,43 @@ +# Canadian Mathematical Olympiad + +1978 + +## Problem 1 + +Let $n$ be an integer. If the tens digit of $n^{2}$ is 7 , what is the units digit of $n^{2}$ ? + +## Problem 2 + +Find all pairs $a, b$ of positive integers satisfying the equation $2 a^{2}=3 b^{3}$. + +## Problem 3 + +Determine the largest real number $z$ such that + +$$ +\begin{gathered} +x+y+z=5 \\ +x y+y z+x z=3 +\end{gathered} +$$ + +and $x, y$ are also real. + +## Problem 4 + +The sides $A D$ and $B C$ of a convex quadrilateral $A B C D$ are extended to meet at $E$. Let $H$ and $G$ be the midpoints of $B D$ and $A C$, respectively. Find the ratio of the area of the triangle $E H G$ to that of the quadrilateral $A B C D$. + +Problem 5 +Eve and Odette play a game on a $3 \times 3$ checkerboard, with black checkers and white checkers. The rules are as follows: +I. They play alternately. +II. A turn consists of placing one checker on an unoccupied square of the board. +III. In her turn, a player may select either a white checker or a black checker and need not always use the same colour. +IV. When the board is full, Eve obtains one point for every row, column or diagonal that has an even number of black checkers, and Odette obtains one point for every row, column or diagonal that has an odd number of black checkers. +V. The player obtaining at least five of the eight points WINS. +(a) Is a $4-4$ tie possible? Explain. +(b) Describe a winning strategy for the girl who is first to play. + +## Problem 6 + +Sketch the graph of $x^{3}+x y+y^{3}=3$. + diff --git a/CANADA_MO/md/en-exam1979.md b/CANADA_MO/md/en-exam1979.md new file mode 100644 index 0000000000000000000000000000000000000000..0d98bbed2490e75296074c3a737d58b7d7d289b0 --- /dev/null +++ b/CANADA_MO/md/en-exam1979.md @@ -0,0 +1,38 @@ +# Canadian Mathematical Olympiad + +1979 + +## Problem 1 + +Given: (i) $a, b>0$; (ii) $a, A_{1}, A_{2}, b$ is an arithmetic progression; (iii) $a, G_{1}, G_{2}, b$ is a geometric progression. Show that + +$$ +A_{1} A_{2} \geq G_{1} G_{2} +$$ + +PROblem 2 +It is known in Euclidean geometry that the sum of the angles of a triangle is constant. Prove, however, that the sum of the dihedral angles of a tetrahedron is not constant. + +Note. (i) A tetrahedron is a triangular pyramid, and (ii) a dihedral angle is the interior angle between a pair of faces. +![](https://cdn.mathpix.com/cropped/2024_11_22_3e6da46db7678c438602g-1.jpg?height=296&width=345&top_left_y=931&top_left_x=1123) + +## Problem 3 + +Let $a, b, c, d, e$ be integers such that $1 \leq ap_{2}>p_{3}>0$ and $p_{1}, p_{2}, p_{3}$ are integers. The final score for $A$ was 22 , for $B$ was 9 and for $C$ was also 9. $B$ won the 100 metres. What is the value of $M$ and who was second in the high jump? + +## Problem 3 + +A chord $S T$ of constant length slides around a semicircle with diameter $A B . M$ is the mid-point of $S T$ and $P$ is the foot of the perpendicular from $S$ to $A B$. Prove that angle $S P M$ is constant for all positions of $S T$. + +## Problem 4 + +For positive integers $n$ and $k$, define $F(n, k)=\sum_{r=1}^{n} r^{2 k-1}$. Prove that $F(n, 1)$ divides $F(n, k)$. + +Problem 5 +Let $u_{1}, u_{2}, u_{3}, \ldots$ be a sequence of integers satisfying the recurrence relation $u_{n+2}=$ $u_{n+1}^{2}-u_{n}$. Suppose $u_{1}=39$ and $u_{2}=45$. Prove that 1986 divides infinitely many terms of the sequence. + diff --git a/CANADA_MO/md/en-exam1987.md b/CANADA_MO/md/en-exam1987.md new file mode 100644 index 0000000000000000000000000000000000000000..f377fcef89a8f8462386d22eeb78022b3a8f19ab --- /dev/null +++ b/CANADA_MO/md/en-exam1987.md @@ -0,0 +1,28 @@ +# Canadian Mathematical Olympiad + +1987 + +## Problem 1 + +Find all solutions of $a^{2}+b^{2}=n$ ! for positive integers $a, b, n$ with $a \leq b$ and $n<14$. + +## Problem 2 + +The number 1987 can be written as a three digit number $x y z$ in some base $b$. If $x+y+z=1+9+8+7$, determine all possible values of $x, y, z, b$. + +Problem 3 +Suppose $A B C D$ is a parallelogram and $E$ is a point between $B$ and $C$ on the line $B C$. If the triangles $D E C, B E D$ and $B A D$ are isosceles what are the possible values for the angle $D A B$ ? + +Problem 4 +On a large, flat field $n$ people are positioned so that for each person the distances to all the other people are different. Each person holds a water pistol and at a given signal fires and hits the person who is closest. When $n$ is odd show that there is at least one person left dry. Is this always true when $n$ is even? + +## Problem 5 + +For every positive integer $n$ show that + +$$ +[\sqrt{n}+\sqrt{n+1}]=[\sqrt{4 n+1}]=[\sqrt{4 n+2}]=[\sqrt{4 n+3}] +$$ + +where $[x]$ is the greatest integer less than or equal to $x$ (for example $[2.3]=2$, $[\pi]=3,[5]=5)$. + diff --git a/CANADA_MO/md/en-exam1988.md b/CANADA_MO/md/en-exam1988.md new file mode 100644 index 0000000000000000000000000000000000000000..cc1c99543a84dbed95d668cca1c539ccbacce6f4 --- /dev/null +++ b/CANADA_MO/md/en-exam1988.md @@ -0,0 +1,21 @@ +# Canadian Mathematical Olympiad 1988 + +## PROBLEM 1 + +For what values of $b$ do the equations: $1988 x^{2}+b x+8891=0$ and $8891 x^{2}+b x+$ $1988=0$ have a common root? + +Problem 2 +A house is in the shape of a triangle, perimeter $P$ metres and area $A$ square metres. The garden consists of all the land within 5 metres of the house. How much land do the garden and house together occupy? + +## Problem 3 + +Suppose that $S$ is a finite set of at least five points in the plane; some are coloured red, the others are coloured blue. No subset of three or more similarly coloured points is collinear. Show that there is a triangle +(i) whose vertices are all the same colour, and +(ii) at least one side of the triangle does not contain a point of the opposite colour. + +Problem 4 +Let $x_{n+1}=4 x_{n}-x_{n-1}, x_{0}=0, x_{1}=1$, and $y_{n+1}=4 y_{n}-y_{n-1}, y_{0}=1, y_{1}=2$. +Show for all $n \geq 0$ that $y_{n}^{2}=3 x_{n}^{2}+1$. +Problem 5 +Let $S=\left\{a_{1}, a_{2}, \ldots, a_{r}\right\}$ denote a sequence of integers. For each non-empty subsequence $A$ of $S$, we define $p(A)$ to be the product of all the integers in $A$. Let $m(S)$ be the arithmetic average of $p(A)$ over all non-empty subsets $A$ of $S$. If $m(S)=13$ and if $m\left(S \cup\left\{a_{r+1}\right\}\right)=49$ for some positive integer $a_{r+1}$, determine the values of $a_{1}, a_{2}, \ldots, a_{r}$ and $a_{r+1}$. + diff --git a/CANADA_MO/md/en-exam1989.md b/CANADA_MO/md/en-exam1989.md new file mode 100644 index 0000000000000000000000000000000000000000..482b79a690903b4135e47bd4fd42e298888e31b1 --- /dev/null +++ b/CANADA_MO/md/en-exam1989.md @@ -0,0 +1,24 @@ +# Canadian Mathematical Olympiad + +1989 + +## Problem 1 + +The integers $1,2, \ldots, n$ are placed in order so that each value is either strictly bigger than all the preceding values or is strictly smaller than all preceding values. In how many ways can this be done? + +## PROBLEM 2 + +Let $A B C$ be a right angled triangle of area 1 . Let $A^{\prime} B^{\prime} C^{\prime}$ be the points obtained by reflecting $A, B, C$ respectively, in their opposite sides. Find the area of $\triangle A^{\prime} B^{\prime} C^{\prime}$. + +## Problem 3 + +Define $\left\{a_{n}\right\}_{n=1}$ as follows: $a_{1}=1989^{1989} ; a_{n}, n>1$, is the sum of the digits of $a_{n-1}$. What is the value of $a_{5}$ ? + +## Problem 4 + +There are 5 monkeys and 5 ladders and at the top of each ladder there is a banana. A number of ropes connect the ladders, each rope connects two ladders. No two ropes are attached to the same rung of the same ladder. Each monkey starts at the bottom of a different ladder. The monkeys climb up the ladders but each time they encounter a rope they climb along it to the ladder at the other end of the rope and then continue climbing upwards. Show that, no matter how many ropes there are, each monkey gets a banana. + +## Problem 5 + +Given the numbers $1,2,2^{2}, \ldots, 2^{n-1}$. For a specific permutation $\sigma=X_{1}, X_{2}, \ldots, X_{n}$ of these numbers we define $S_{1}(\sigma)=X_{1}, S_{2}(\sigma)=X_{1}+X_{2}, S_{3}(\sigma)=X_{1}+X_{2}+X_{3}, \ldots$ and $Q(\sigma)=S_{1}(\sigma) S_{2}(\sigma) \cdots S_{n}(\sigma)$. Evaluate $\sum 1 / Q(\sigma)$ where the sum is taken over all possible permutations. + diff --git a/CANADA_MO/md/en-exam1990.md b/CANADA_MO/md/en-exam1990.md new file mode 100644 index 0000000000000000000000000000000000000000..ae43fbabd2726780c29087e6d2a392efeae2c416 --- /dev/null +++ b/CANADA_MO/md/en-exam1990.md @@ -0,0 +1,51 @@ +# Canadian Mathematical Olympiad
1990 + +## PROBLEM 1 + +A competition involving $n \geq 2$ players was held over $k$ days. On each day, the players received scores of $1,2,3, \ldots, n$ points with no two players receiving the same score. At the end of the $k$ days, it was found that each player had exactly 26 points in total. Determine all pairs $(n, k)$ for which this is possible. + +## Problem 2 + +A set of $\frac{1}{2} n(n+1)$ distinct numbers is arranged at random in a triangular array: +![](https://cdn.mathpix.com/cropped/2024_11_22_d44c6cbb61dbb677df78g-1.jpg?height=228&width=532&top_left_y=870&top_left_x=702) + +Let $M_{k}$ be the largest number in the $k$-th row from the top. Find the probability that + +$$ +M_{1}0$, is defined by the relationship: + +$$ +\begin{gathered} +y_{2 k}= \begin{cases}2 y_{k} & \text { if } k \text { is even } \\ +2 y_{k}+1 & \text { if } k \text { is odd }\end{cases} \\ +y_{2 k+1}= \begin{cases}2 y_{k} & \text { if } k \text { is odd } \\ +2 y_{k}+1 & \text { if } k \text { is even }\end{cases} +\end{gathered} +$$ + +Show that the sequence $y_{1}, y_{2}, y_{3}, \ldots$ takes on every positive integer value exactly once. + diff --git a/CANADA_MO/md/en-exam1994.md b/CANADA_MO/md/en-exam1994.md new file mode 100644 index 0000000000000000000000000000000000000000..e8d95048b8a093ff0c9337f0ff9a933ccb0f3c2a --- /dev/null +++ b/CANADA_MO/md/en-exam1994.md @@ -0,0 +1,26 @@ +# Canadian Mathematical Olympiad 1994 + +## Problem 1 + +Evaluate the sum + +$$ +\sum_{n=1}^{1994}(-1)^{n} \frac{n^{2}+n+1}{n!} +$$ + +## PROblem 2 + +Show that every positive integral power of $\sqrt{2}-1$ is of the form $\sqrt{m}-\sqrt{m-1}$ for some positive integer $m$. (e.g. $\left.(\sqrt{2}-1)^{2}=3-2 \sqrt{2}=\sqrt{9}-\sqrt{8}\right)$. + +## PROBLEM 3 + +Twenty-five men sit around a circular table. Every hour there is a vote, and each must respond yes or no. Each man behaves as follows: on the $n^{\text {th }}$ vote, if his response is the same as the response of at least one of the two people he sits between, then he will respond the same way on the $(n+1)^{t h}$ vote as on the $n^{t h}$ vote; but if his response is different from that of both his neighbours on the $n$-th vote, then his response on the $(n+1)$-th vote will be different from his response on the $n^{t h}$ vote. Prove that, however everybody responded on the first vote, there will be a time after which nobody's response will ever change. + +## Problem 4 + +Let $A B$ be a diameter of a circle $\Omega$ and $P$ be any point not on the line through $A$ and $B$. Suppose the line through $P$ and $A$ cuts $\Omega$ again in $U$, and the line through $P$ and $B$ cuts $\Omega$ again in $V$. (Note that in case of tangency $U$ may coincide with $A$ or $V$ may coincide with $B$. Also, if $P$ is on $\Omega$ then $P=U=V$.) Suppose that $|P U|=s|P A|$ and $|P V|=t|P B|$ for some nonnegative real numbers $s$ and $t$. Determine the cosine of the angle $A P B$ in terms of $s$ and $t$. + +## Problem 5 + +Let $A B C$ be an acute angled triangle. Let $A D$ be the altitude on $B C$, and let $H$ be any interior point on $A D$. Lines $B H$ and $C H$, when extended, intersect $A C$ and $A B$ at $E$ and $F$, respectively. Prove that $\angle E D H=\angle F D H$. + diff --git a/CANADA_MO/md/en-exam1995.md b/CANADA_MO/md/en-exam1995.md new file mode 100644 index 0000000000000000000000000000000000000000..79a255fde12ef5ba7718792abe7a4ed865ac631c --- /dev/null +++ b/CANADA_MO/md/en-exam1995.md @@ -0,0 +1,49 @@ +# Canadian Mathematical Olympiad + +1995 + +## Problem 1 + +Let $f(x)=\frac{9^{x}}{9^{x}+3}$. Evaluate the sum + +$$ +f\left(\frac{1}{1996}\right)+f\left(\frac{2}{1996}\right)+f\left(\frac{3}{1996}\right)+\cdots+f\left(\frac{1995}{1996}\right) +$$ + +## PROBLEM 2 + +Let $a, b$, and $c$ be positive real numbers. Prove that + +$$ +a^{a} b^{b} c^{c} \geq(a b c)^{\frac{a+b+c}{3}} +$$ + +## PROBLEM 3 + +Define a boomerang as a quadrilateral whose opposite sides do not intersect and one of whose internal angles is greater than 180 degrees. (See Figure displayed.) Let $C$ be a convex polygon having 5 sides. Suppose that the interior region of C is the union of $q$ quadrilaterals, none of whose interiors intersect one another. Also suppose that $b$ of these quadrilaterals are boomerangs. Show +![](https://cdn.mathpix.com/cropped/2024_11_22_fc9f58e8dd728edf9dbcg-1.jpg?height=281&width=378&top_left_y=1128&top_left_x=1166) +that $q \geq b+\frac{s-2}{2}$. + +Problem 4 +Let $n$ be a fixed positive integer. Show that for only nonnegative integers $k$, the diophantine equation + +$$ +x_{1}^{3}+x_{2}^{3}+\cdots+x_{n}^{3}=y^{3 k+2} +$$ + +has infinitely many solutions in positive integers $x_{i}$ and $y$. +Problem 5 +Suppose that $u$ is a real parameter with $01 +$$ + +Show that there exists a positive ineger $k$ for which $u_{k}=0$. + diff --git a/CANADA_MO/md/en-exam1996.md b/CANADA_MO/md/en-exam1996.md new file mode 100644 index 0000000000000000000000000000000000000000..d1e0ebbeac9880afa0c81145799fb9750b1636ca --- /dev/null +++ b/CANADA_MO/md/en-exam1996.md @@ -0,0 +1,36 @@ +# Canadian Mathematical Olympiad 1996 + +## Problem 1 + +If $\alpha, \beta, \gamma$ are the roots of $x^{3}-x-1=0$, compute + +$$ +\frac{1+\alpha}{1-\alpha}+\frac{1+\beta}{1-\beta}+\frac{1+\gamma}{1-\gamma} +$$ + +## PROBLEM 2 + +Find all real solutions to the following system of equations. Carefully justify your answer. + +$$ +\left\{\begin{array}{l} +\frac{4 x^{2}}{1+4 x^{2}}=y \\ +\frac{4 y^{2}}{1+4 y^{2}}=z \\ +\frac{4 z^{2}}{1+4 z^{2}}=x +\end{array}\right. +$$ + +PROBLEM 3 +We denote an arbitrary permutation of the integers $1, \ldots, n$ by $a_{1}, \ldots, a_{n}$. Let $f(n)$ be the number of these permutations such that +(i) $a_{1}=1$; +(ii) $\left|a_{i}-a_{i+1}\right| \leq 2, \quad i=1, \ldots, n-1$. + +Determine whether $f(1996)$ is divisible by 3 . + +## PROblem 4 + +Let $\triangle A B C$ be an isosceles triangle with $A B=A C$. Suppose that the angle bisector of $\angle B$ meets $A C$ at $D$ and that $B C=B D+A D$. Determine $\angle A$. + +Problem 5 +Let $r_{1}, r_{2}, \ldots, r_{m}$ be a given set of $m$ positive rational numbers such that $\sum_{k=1}^{m} r_{k}=1$. Define the function $f$ by $f(n)=n-\sum_{k=1}^{m}\left[r_{k} n\right]$ for each positive integer n . Determine the minimum and maximum values of $f(n)$. Here $[x]$ denotes the greatest integer less than or equal to $x$ + diff --git a/CANADA_MO/md/en-exam1997.md b/CANADA_MO/md/en-exam1997.md new file mode 100644 index 0000000000000000000000000000000000000000..6da30c45bc2d37832fa4403cf5985af0b4fa99da --- /dev/null +++ b/CANADA_MO/md/en-exam1997.md @@ -0,0 +1,40 @@ +# Canadian Mathematical Olympiad + +1997 + +## Problem 1 + +How many pairs of positive integers $x, y$ are there, with $x \leq y$, and such that $\operatorname{gcd}(x, y)=5!$ and $\operatorname{lcd}(x, y)=50$ !. +Note. $\operatorname{gcd}(x, y)$ denotes the greatest common divisor of $x$ and $y, \operatorname{lcd}(x, y)$ denotes the least common multiple of $x$ and $y$, and $n!=n \times(n-1) \times \cdots \times 2 \times 1$. + +## Problem 2 + +The closed interval $A=[0,50]$ is the union of a finite number of closed intervals, each of length 1. Prove that some of the intervals can be removed so that those remaining are mutually disjoint and have total length $\geq 25$. +Note. For $a \leq b$, the closed interval $[a, b]:=\{x \in \mathbb{R}: a \leq x \leq b\}$ has length $b-a$; disjoint intervals have empty intersection. + +## Problem 3 + +Prove that + +$$ +\frac{1}{1999}<\frac{1}{2} \cdot \frac{3}{4} \cdot \frac{5}{6} \cdots \frac{1997}{1998}<\frac{1}{44} +$$ + +## Problem 4 + +The point $O$ is situated inside the parallelogram $A B C D$ so that + +$$ +\angle A O B+\angle C O D=180^{\circ} +$$ + +Prove that $\angle O B C=\angle O D C$. +PROblem 5 +Write the sum + +$$ +\sum_{k=0}^{n} \frac{(-1)^{k}\binom{n}{k}}{k^{3}+9 k^{2}+26 k+24} +$$ + +in the form $\frac{p(n)}{q(n)}$, where $p$ and $q$ are polynomials with integer coefficients. + diff --git a/CANADA_MO/md/en-exam1998.md b/CANADA_MO/md/en-exam1998.md new file mode 100644 index 0000000000000000000000000000000000000000..004692a90b1ae3bb8ca061bfb13429ae7a2855b4 --- /dev/null +++ b/CANADA_MO/md/en-exam1998.md @@ -0,0 +1,30 @@ +# THE 1998 CANADIAN MATHEMATICAL OLYMPIAD + +1. Determine the number of real solutions $a$ to the equation + +$$ +\left[\frac{1}{2} a\right]+\left[\frac{1}{3} a\right]+\left[\frac{1}{5} a\right]=a +$$ + +Here, if $x$ is a real number, then $[x]$ denotes the greatest integer that is less than or equal to $x$. +2. Find all real numbers $x$ such that + +$$ +x=\left(x-\frac{1}{x}\right)^{1 / 2}+\left(1-\frac{1}{x}\right)^{1 / 2} +$$ + +3. Let $n$ be a natural number such that $n \geq 2$. Show that + +$$ +\frac{1}{n+1}\left(1+\frac{1}{3}+\cdots+\frac{1}{2 n-1}\right)>\frac{1}{n}\left(\frac{1}{2}+\frac{1}{4}+\cdots+\frac{1}{2 n}\right) . +$$ + +4. Let $A B C$ be a triangle with $\angle B A C=40^{\circ}$ and $\angle A B C=60^{\circ}$. Let $D$ and $E$ be the points lying on the sides $A C$ and $A B$, respectively, such that $\angle C B D=40^{\circ}$ and $\angle B C E=70^{\circ}$. Let $F$ be the point of intersection of the lines $B D$ and $C E$. Show that the line $A F$ is perpendicular to the line $B C$. +5. Let $m$ be a positive integer. Define the sequence $a_{0}, a_{1}, a_{2}, \ldots$ by $a_{0}=0, a_{1}=m$, and $a_{n+1}=m^{2} a_{n}-a_{n-1}$ for $n=1,2,3, \ldots$. Prove that an ordered pair $(a, b)$ of non-negative integers, with $a \leq b$, gives a solution to the equation + +$$ +\frac{a^{2}+b^{2}}{a b+1}=m^{2} +$$ + +if and only if $(a, b)$ is of the form $\left(a_{n}, a_{n+1}\right)$ for some $n \geq 0$. + diff --git a/CANADA_MO/md/en-exam1999.md b/CANADA_MO/md/en-exam1999.md new file mode 100644 index 0000000000000000000000000000000000000000..c5ee3d158d3108a4cede1114d761bbc15b4ffeb9 --- /dev/null +++ b/CANADA_MO/md/en-exam1999.md @@ -0,0 +1,16 @@ +# THE 1999 CANADIAN MATHEMATICAL OLYMPIAD + +1. Find all real solutions to the equation $4 x^{2}-40[x]+51=0$. + +Here, if $x$ is a real number, then $[x]$ denotes the greatest integer that is less than or equal to $x$. +2. Let $A B C$ be an equilateral triangle of altitude 1 . A circle with radius 1 and center on the same side of $A B$ as $C$ rolls along the segment $A B$. Prove that the arc of the circle that is inside the triangle always has the same length. +3. Determine all positive integers $n$ with the property that $n=(d(n))^{2}$. Here $d(n)$ denotes the number of positive divisors of $n$. +4. Suppose $a_{1}, a_{2}, \ldots, a_{8}$ are eight distinct integers from $\{1,2, \ldots, 16,17\}$. Show that there is an integer $k>0$ such that the equation $a_{i}-a_{j}=k$ has at least three different solutions. Also, find a specific set of 7 distinct integers from $\{1,2, \ldots, 16,17\}$ such that the equation $a_{i}-a_{j}=k$ does not have three distinct solutions for any $k>0$. +5. Let $x, y$, and $z$ be non-negative real numbers satisfying $x+y+z=1$. Show that + +$$ +x^{2} y+y^{2} z+z^{2} x \leq \frac{4}{27} +$$ + +and find when equality occurs. + diff --git a/CANADA_MO/md/en-sol1994.md b/CANADA_MO/md/en-sol1994.md new file mode 100644 index 0000000000000000000000000000000000000000..0473dcbfdb710c87af17feb28695047be4092404 --- /dev/null +++ b/CANADA_MO/md/en-sol1994.md @@ -0,0 +1,353 @@ +# SOLUTIONS + +## QUESTION 1 + +## Solution 1. + +Let $\mathcal{S}$ denote the given sum. Then + +$$ +\begin{aligned} +\mathcal{S} & =\sum_{n=1}^{1994}(-1)^{n}\left(\frac{n}{(n-1) !}+\frac{n+1}{n !}\right) \\ +& =\sum_{n=0}^{1993}(-1)^{n+1} \frac{n+1}{n !}+\sum_{n=1}^{1994}(-1)^{n} \frac{n+1}{n !} \\ +& =-1+\frac{1995}{1994 !} +\end{aligned} +$$ + +## Solution 2. + +For positive integers $k$, define + +$$ +\mathcal{S}(k)=\sum_{n=1}^{k}(-1)^{n} \frac{n^{2}+n+1}{n !} +$$ + +We prove by induction on $k$ that + +$$ +\text { (*) } \quad \mathcal{S}(k)=-1+(-1)^{k} \frac{k+1}{k !} +$$ + +The given sum is the case when $k=1994$. For $k=1, \mathcal{S}(1)=-3=-1-\frac{2}{1 !}$. Suppose $\left({ }^{*}\right)$ holds for some $k \geq 1$, then + +$$ +\begin{aligned} +\mathcal{S}(k & +1)=\mathcal{S}(k)+(-1)^{k+1} \frac{(k+1)^{2}+(k+1)+1}{(k+1) !} \\ +& =-1+(-1)^{k} \frac{k+1}{k !}+(-1)^{k+1}\left(\frac{k+1}{k !}+\frac{k+2}{(k+1) !}\right) \\ +& =-1+(-1)^{k+1} \frac{k+2}{(k+1) !} +\end{aligned} +$$ + +completing the induction. + +## QUESTION 2 + +## Solution 1. + +Fix a positive integer $n$. Let $a=(\sqrt{2}-1)^{n}$ and $b=(\sqrt{2}+1)^{n}$. Then clearly $a b=1$. Let $c=(b+a) / 2$ and $d=(b-a) / 2$. If $n$ is even, $n=2 k$, then from the Binomial Theorem we get + +$$ +\begin{aligned} +c= & \frac{1}{2} \sum_{i=0}^{n}\left(\begin{array}{c} +n \\ +i +\end{array}\right)\left(\sqrt{2}^{n-i}+(-1)^{i} \sqrt{2}^{n-i}\right) \\ +& =\sum_{j=0}^{k}\left(\begin{array}{c} +2 k \\ +2 j +\end{array}\right) \sqrt{2}^{2 k-2 j} \\ +& =\sum_{j=0}^{k}\left(\begin{array}{c} +2 k \\ +2 j +\end{array}\right) 2^{k-j} +\end{aligned} +$$ + +and + +$$ +\begin{aligned} +\frac{d}{\sqrt{2}} & =\frac{1}{\sqrt{2}} \sum_{i=0}^{n}\left(\begin{array}{c} +n \\ +i +\end{array}\right)\left(\sqrt{2}^{n-i}-(-1)^{i} \sqrt{2}^{n-i}\right) \\ +& =\frac{2}{\sqrt{2}} \sum_{j=0}^{k-1}\left(\begin{array}{c} +2 k \\ +2 j+1 +\end{array}\right) \sqrt{2}^{2 k-2 j-1} \\ +& =\sum_{j=0}^{k-1}\left(\begin{array}{c} +2 k \\ +2 j+1 +\end{array}\right) 2^{k-j} +\end{aligned} +$$ + +showing that $c$ and $\frac{d}{\sqrt{2}}$ are both positive integers. Similarly, when $n$ is odd we see that $\frac{c}{\sqrt{2}}$ and $d$ are both positive integers. In either case, $c^{2}$ and $d^{2}$ are both integers. Notes that + +$$ +c^{2}-d^{2}=\frac{1}{4}\left((b+a)^{2}-(b-a)^{2}\right)=a b=1 . +$$ + +Hence if we let $m=c^{2}$, then $m-1=c^{2}-1=d^{2}$ and $a=c-d=\sqrt{m}-\sqrt{m-1}$. + +## Solution 2. + +Let $m$ and $n$ be positive integers. Observe that + +$$ +(\sqrt{2}-1)^{n}(\sqrt{2}+1)^{n}=1=(\sqrt{m}-\sqrt{m-1})(\sqrt{m}+\sqrt{m-1}) +$$ + +and so + +$$ +\text { (*) } \quad(\sqrt{2}-1)^{n}=\sqrt{m}-\sqrt{m-1} \text { if and only if }(\sqrt{2}+1)^{n}=\sqrt{m}+\sqrt{m-1} \text {. } +$$ + +Assuming $m$ and $n$ satisfy (*), then adding the two equivalent equations we get $2 \sqrt{m}=$ $(\sqrt{2}-1)^{n}+(\sqrt{2}+1)^{n}$ whence: + +$$ +(* *) \quad m=\frac{1}{4}\left[(\sqrt{2}-1)^{2 n}+2+(\sqrt{2}+1)^{2 n}\right] +$$ + +Now we show that the steps above are reversible and that $m$ defined by $\left({ }^{* *}\right)$ is a positive integer. From $\left({ }^{* *}\right.$ ) one sees easily that + +$$ +\sqrt{m}=\frac{1}{2}\left[(\sqrt{2}-1)^{n}+(\sqrt{2}+1)^{n}\right] \text { and } \sqrt{m-1}=\frac{1}{2}\left[(\sqrt{2}+1)^{n}-(\sqrt{2}-1)^{n}\right] +$$ + +and so $\sqrt{m}-\sqrt{m-1}=(\sqrt{2}-1)^{n}$ as required. Finally, from the Binomial Theorem, + +$$ +\begin{aligned} +(\sqrt{2} & -1)^{2 n}+(\sqrt{2}+1)^{2 n}= \\ +& =\sum_{k=0}^{2 n}\left(\begin{array}{c} +2 n \\ +k +\end{array}\right)\left[(-1)^{k} 2^{(2 n-k) / 2}+2^{(2 n-k) / 2}\right] \\ +& =\sum_{\ell=0}^{n}\left(\begin{array}{c} +2 n \\ +2 \ell +\end{array}\right) 2^{n-\ell+1} +\end{aligned} +$$ + +which is congruent to 2 modulo 4 since $2^{n-\ell+1} \equiv 0(\bmod 4)$ for all $\ell=0,1,2, \cdots, n-1$. Therefore, $(\sqrt{2}-1)^{2 n}+2+(\sqrt{2}+1)^{2 n}$ is a multiple of 4 , as required. + +## SOLUTIONS (Cont'd) + +## Solution 3. + +We show by induction that + +$$ +\text { (*) } \quad(\sqrt{2}-1)^{n}=\left\{\begin{array}{l} +a \sqrt{2}-b \text { where } 2 a^{2}=b^{2}+1 \text { if } n \text { is odd } \\ +a-b \sqrt{2} \text { where } a^{2}=2 b^{2}+1 \text { if } n \text { is even } +\end{array}\right. \text {. } +$$ + +Thus $m=2 a^{2}$ when $n$ is odd and $m=a^{2}$ when $n$ is even and the problem is solved. + +The induction is as follows: + +$$ +\begin{aligned} +& (\sqrt{2}-1)^{1}=1 \sqrt{2}-1 \text { where } 2\left(1^{2}\right)=1^{2}+1 \\ +& (\sqrt{2}-1)^{2}=3-2 \sqrt{2} \text { where } 3^{2}=2\left(2^{2}\right)+1 +\end{aligned} +$$ + +Assume (*) holds for some $n \geq 1, n$ odd. Then + +$$ +\begin{aligned} +(\sqrt{2} & -1)^{n+1} \\ +& =(a \sqrt{2}-b)(\sqrt{2}-1) \text { where } 2 a^{2}=b^{2}+1 \\ +& =(2 a+b)-(a+b) \sqrt{2} \\ +& =A-B \sqrt{2} \text { where } A=2 a+b, B=a+b . +\end{aligned} +$$ + +Moreover, $A^{2}=2 a^{2}+4 a b+b^{2}+2 a^{2}=2 a^{2}+4 a b+2 b^{2}+1=2 B^{2}+1$. + +Assume (*) holds for some $n \geq 2, n$ even. Then + +$$ +\begin{aligned} +(\sqrt{2} & -1)^{n+1} \\ +& =(a-b \sqrt{2})(\sqrt{2}-1) \text { where } a^{2}=2 b^{2}+1 \\ +& =(a+b) \sqrt{2}-(a+2 b) \\ +& =A \sqrt{2}-B \text { where } A \approx a+b, B=a+2 b . +\end{aligned} +$$ + +Moreover, $2 A^{2}=2 a^{2}+4 a b+2 b^{2}=a^{2}+4 a b+4 b^{2}+a^{2}-2 b^{2}=B^{2}+1$. + +## Solution 4. + +From $(\sqrt{2}-1)^{1}=\sqrt{2}-1,(\sqrt{2}-1)^{2}=3-2 \sqrt{2},(\sqrt{2}-1)^{3}=5 \sqrt{2}-7,(\sqrt{2}-1)^{4}=17-12 \sqrt{2}$, etc, we conjecture that + +$$ +(*) \quad(\sqrt{2}-1)^{n}=s_{n} \sqrt{2}+t_{n} +$$ + +where $s_{1}=1, t_{1}=1, s_{n+1}=(-1)^{n}\left(\left|s_{n}\right|+\left|t_{n}\right|\right), t_{n+1}=(-1)^{n+1}\left(2\left|s_{n}\right|+\left|t_{n}\right|\right)$. + +Note that $s_{n}$ is positive (negative) if $n$ is odd (even) and $t_{n}$ is negative (positive) if $n$ is odd (even). + +We now show by induction that $\left(^{*}\right)$ holds and that each $s_{n} \sqrt{2}+t_{n}$ of the form $\sqrt{m}-\sqrt{m-1}$ for some $m$. + +It is easily verified that $\left({ }^{*}\right)$ is correct for $n=1$ and 2 . Assume $\left({ }^{*}\right)$ holds for some $n \geq 2$. Then + +$$ +(\sqrt{2}-1)^{n+1}=\left(s_{n} \sqrt{2}+t_{n}\right)(\sqrt{2}-1)=\left(t_{n}-s_{n}\right) \sqrt{2}+\left(2 s_{n}-t_{n}\right) +$$ + +If $n$ is odd, then + +$$ +\begin{aligned} +& t_{n}-s_{n}=-\left(\left|t_{n}\right|+\left|s_{n}\right|\right)=s_{n+1} \\ +& 2 s_{n}-t_{n}=2\left|s_{n}\right|+\left|t_{n}\right|=t_{n+1} +\end{aligned} +$$ + +If $n$ is even, then + +$$ +\begin{aligned} +& t_{n}-s_{n}=\left|t_{n}\right|+\left|s_{n}\right|=s_{n+1} \\ +& 2 s_{n}-t_{n}=-2\left|s_{n}\right|-\left|t_{n}\right|=t_{n+1} +\end{aligned} +$$ + +We have shown that $\left(^{*}\right)$ is correct for all $n$. + +Observe now that $\left(s_{n+1} \sqrt{2}\right)^{2}-t_{n+1}^{2}=2\left(s_{n}^{2}-2 s_{n} t_{n}+t_{n}^{2}\right)-\left(4 s_{n}^{2}-4 s_{n} t_{n}+t_{n}^{2}\right)=-2 s_{n}^{2}+t_{n}^{2}$ $=-\left(\left(s_{n} \sqrt{2}\right)^{2}-t_{n}^{2}\right)$. Since $\left(s_{1} \sqrt{2}\right)^{2}-t_{1}^{2}=1$, it follows that $\left(s_{n} \sqrt{2}\right)^{2}-t_{n}^{2}=(-1)^{n+1}$ for all $n$. To complete the proof it suffices to take $m=\left(s_{n} \sqrt{2}\right)^{2}, m-1=t_{n}^{2}$ when $n$ is odd and $m=t_{n}^{2}, m-1=\left(s_{n} \sqrt{2}\right)^{2}$ when $n$ is even. + +## QUESTION 3 + +First observe that if two neighbours have the same response on the $n^{\text {th }}$ vote, then they both will respond the same way on the $(n+1)^{\text {th }}$ vote. Moreover, neither will ever change his response after the $n^{\text {th }}$ vote. + +Let $A_{n}$ be the set of men who agree with at least one of their neighbours on the $n^{\text {th }}$ vote. The previous paragraph says that $A_{n} \subset A_{n+1}$ for every $n \geq 1$. Moreover, we will be done if we can show that $A_{n}$ contains all 25 men for some $n$. + +Since there are an odd number of men at the table, it is not pssible that every man disagrees with both of his neighbours on the first vote. Therefore $A_{1}$ contains at least two men. And since $A_{n} \subset A_{n+1}$ for every $n$, there exists a $T<25$ such that $A_{T}=A_{T+1}$. Suppose that $A_{T}$ does not contain all 25 men; we shall use this to derive a contradiction. Since $A_{T}$ is not empty, there must exist two neighbours, whom we shall call $x$ and $y$, such that $x \in A_{T}$ and $y \notin A_{T}$. Since $x \in A_{T}$, he will respond the same way on the $T^{\text {th }}$ and $(T+1)^{\text {th }}$ votes. But $y \notin A_{T}$, so $y$ 's response on the $T^{\text {th }}$ vote differs from $x$ 's response. In fact, we know that $y$ disagrees with both of his neighbours on the $T^{\text {th }}$ vote, and so he will change his response on the $(T+1)^{t h}$ vote. Therefore, on the $(T+1)^{\text {th }}$ vote, $y$ responds the same way as does $x$. This implies that $y \in A_{T+1}$. But $y \notin A_{T}$, which contradicts the fact that $A_{T}=A_{T+1}$. Therefore we conclude that $A_{T}$ contains all 25 men, and we are done. + +## QUESTION 4 + +There are three cases to be considered: + +Case 1: If $P$ is outside $\Omega$ (see figures I, II, and III), then since $\angle A U B=\angle A V B=\pi / 2$, we have + +$$ +\cos (\angle A P B)=\frac{P U}{P B}=\frac{P V}{P A}=\sqrt{\frac{P U}{P A} \cdot \frac{P V}{P B}}=\sqrt{s t} +$$ + +![](https://cdn.mathpix.com/cropped/2024_04_17_99b8b91ebd335becafa4g-6.jpg?height=556&width=485&top_left_y=1809&top_left_x=83) + +Figure I + +![](https://cdn.mathpix.com/cropped/2024_04_17_99b8b91ebd335becafa4g-6.jpg?height=545&width=1054&top_left_y=1804&top_left_x=606) + +Figure II +Figure III + +## SOLUTIONS (Cont'd) + +Case 2: If $P$ is on $\Omega$ (see figure IV), then + +$$ +P=U=V \Rightarrow P U=P V=0 \Rightarrow s=t=0 \text {. } +$$ + +Since $\angle A P B=\pi / 2, \cos (\angle A P B)=0=\sqrt{s t}$ holds again. + +![](https://cdn.mathpix.com/cropped/2024_04_17_99b8b91ebd335becafa4g-7.jpg?height=445&width=485&top_left_y=753&top_left_x=455) + +Figure IV + +![](https://cdn.mathpix.com/cropped/2024_04_17_99b8b91ebd335becafa4g-7.jpg?height=435&width=485&top_left_y=774&top_left_x=1063) + +Figure $\mathrm{V}$ + +Case 3: If $P$ is inside $\Omega$ (figure $\mathrm{V}$ ), then + +$$ +\cos (\angle A P B)=\cos (\pi-\angle A P V)=-\cos (\angle A P V)=-\frac{P V}{P A} +$$ + +and + +$$ +\cos (\angle A P B)=\cos (\pi-\angle B P U)=-\cos (\angle B P U)=-\frac{P U}{P B} +$$ + +Therefore $\cos (\angle A P B)=-\sqrt{\frac{P U}{P A} \cdot \frac{P V}{P B}}=-\sqrt{s t}$. + +## SOLUTIONS (Cont'd) + +## QUESTION 5 + +## Solution 1. + +100 degree angle grestion? bit haden? + +From $A$ draw a lkine $\ell$ parallel to $B C$. Extend $D F$ and $D E$ to meet $\ell$ at $P$ and $Q$ respectively (See Figure I). Then from similar triangles, we have + +$$ +\frac{A P}{B D}=\frac{A F}{F B} \text { qne } \frac{A Q}{C D}=\frac{A E}{E C} +$$ + +or + +$$ +A P=\frac{A F}{F B} \cdot B D \text { and } A Q=\frac{A E}{E C} \cdot C D +$$ + +By Ceva's Theorem, $\frac{A F}{F B} \cdot \frac{B D}{D C} \cdot \frac{C E}{E A}=1$ and thus + +$$ +\frac{A F}{F B} \cdot B D=\frac{A E}{E C} \cdot C D +$$ + +From (1) and (2) we get $A P=A Q$ and hence $\triangle A D P \simeq \triangle A D Q$ from which $\angle E D H=$ $\angle F D H$ follows. + +![](https://cdn.mathpix.com/cropped/2024_04_17_99b8b91ebd335becafa4g-8.jpg?height=461&width=660&top_left_y=1492&top_left_x=648) + +Figure I + +## Solution 2. + +Use cartesian coordinates, with $D$ at $(0,0), A=(0, a), B=(-b, 0), C=(c, 0)$. Let $H=(0, h), E=(u, v)$ and $F=(-r, s)$ where $a, b, c, h, u, v, r, s$ are all positive (See Figure II). + +It clearly suffices to show that $\frac{v}{u}=\frac{s}{\tau}$. Since $E C$ and $A C$ have the same slope, we have $\frac{v}{u-c}=\frac{a}{-c}$. Similarly, since $E B$ and $H B$ have the same slope, $\frac{v}{u+b}=\frac{k}{b}$. Thus + +$$ +\frac{v}{a}=\frac{u-c}{-c}=\frac{-u}{c}+1 +$$ + +and + +$$ +\frac{v}{h}=\frac{u+b}{b}=\frac{u}{b}+1 +$$ + +(2)-(1) we get $v\left(\frac{1}{h}-\frac{1}{a}\right)=u\left(\frac{1}{b}+\frac{1}{c}\right)$ and thus + +$$ +\frac{v}{u}=\frac{\frac{1}{b}+\frac{1}{c}}{\frac{1}{h}-\frac{1}{a}}=\frac{a h(b+c)}{b c(a-h)} . +$$ + +With $u, v, b$ and $c$ replaced by $-r, s,-c$ and $-b$ respectively, we have, by a similar argument that + +$$ +\frac{s}{-r}=\frac{a h(-c-b)}{b c(a-h)} \text { or } \frac{s}{r}=\frac{a h(b+c)}{b c(a-h)} \text {. } +$$ + +Therefore, $\frac{v}{u}=\frac{s}{\tau}$ as desired. + +![](https://cdn.mathpix.com/cropped/2024_04_17_99b8b91ebd335becafa4g-9.jpg?height=470&width=724&top_left_y=1679&top_left_x=582) + +Figure II + diff --git a/CANADA_MO/md/en-sol1995.md b/CANADA_MO/md/en-sol1995.md new file mode 100644 index 0000000000000000000000000000000000000000..3d4b463f47a69e2da73379622b8493649a2d0bf7 --- /dev/null +++ b/CANADA_MO/md/en-sol1995.md @@ -0,0 +1,147 @@ +# SOLUTIONS + +## QUESTION 1 + +Solution + +Note that + +$$ +f(1-x)=\frac{9^{1-x}}{9^{1-x}+3}=\frac{9}{9+3 \times 9^{x}}=\frac{3}{9^{x}+3}, +$$ + +from which we get + +$$ +f(x)+f(1-x)=\frac{9^{x}}{9^{x}+3}+\frac{3}{9^{x}+3}=1 . +$$ + +Therefore, + +$$ +\begin{aligned} +& \sum_{k=1}^{1995} f\left(\frac{k}{1996}\right) \\ +& \quad=\sum_{k=1}^{997}\left[f\left(\frac{k}{1996}\right)+f\left(\frac{1996-k}{1996}\right)\right]+f\left(\frac{998}{1996}\right) \\ +& \quad=\sum_{k=1}^{997}\left[f\left(\frac{k}{1996}\right)+f\left(1-\frac{k}{1996}\right)\right]+f\left(\frac{1}{2}\right) \\ +& \quad=997+\frac{3}{3+3}=997 \frac{1}{2} . +\end{aligned} +$$ + +## QUESTION 2 + +## Solution 1. + +We prove equivalently that $a^{3 a} b^{3 b} c^{3 c} \geq(a b c)^{a+b+c}$. Due to complete symmetry in $a, b$ and $c$, we may assume, without loss of generality, that $a \geq b \geq c$. Then $a-b \geq 0, b-c \geq 0, a-c \geq 0$ and $\frac{a}{b} \geq 1, \frac{b}{c} \geq 1, \frac{a}{c} \geq 1$. Therefore, + +$$ +\frac{a^{3 a} b^{3 b} c^{3 c}}{(a b c)^{a+b+c}}=\left(\frac{a}{b}\right)^{a-b}\left(\frac{b}{c}\right)^{b-c}\left(\frac{a}{c}\right)^{a-c} \geq 1 +$$ + +## Solution 2. + +If we assign the weights $a, b, c$ to the numbers $a, b, c$, respectively, then by the wighted geometric-mean-harmonic-mean inequality followed by the arithmeticmean-geometric-mean inequality, we get + +$$ +\sqrt[a+b+c]{a^{a} b^{b} c^{c}} \geq \frac{a+b+c}{\frac{a}{a}+\frac{b}{b}+\frac{c}{c}}=\frac{a+b+c}{3} \geq \sqrt[3]{a b c} +$$ + +from which $a^{a} b^{b} c^{c} \geq(a b c)^{\frac{a+b+c}{3}}$ follows immediately. + +## QUESTION 3 + +## Solution + +For convenience, the interior angle in a boomerang which is greater than $180^{\circ}$ will be called a "reflex angle". + +Clearly, there are $b$ reflex angles, each occurring in a different boomerang and each with the corresponding vertex in the interior of $C$. Angles around these vertices add up to $2 b \pi$. On the other hand, the sum of all the interior angles of $C$ is $(s-2) \pi$ and the sum of the interior angles of all the $q$ quadrilaterals is $2 \pi q$. + +Therefore, $2 \pi q \geq 2 b \pi+(s-2) \pi$ from which $q \geq b+\frac{s-2}{2}$ follows. + +## QUESTION 4 + +## Solution 1. + +Since $1^{3}+2^{3}+\cdots+n^{3}=\left(\frac{n(n+1)}{2}\right)^{2}$, we see that when $k=0,\left(x_{1}, x_{2}, \cdots, x_{n} ; y\right)=$ $\left(1,2, \cdots, n ; \frac{n(n+1)}{2}\right)$ is a solution. To see that we can generate infinitely many solutions in general, set $c=\frac{n(n+1)}{2}$ and notice that for all positive integers $q$, we have: + +$$ +\begin{aligned} +& \left(c^{k} q^{3 k+2}\right)^{3}+\left(2 c^{k} q^{3 k+2}\right)^{3}+\cdots+\left(n c^{k} q^{3 k+2}\right)^{3} \\ +& \quad=c^{3 k} q^{3(3 k+2)}\left(1^{3}+2^{3}+\cdots n^{3}\right) \\ +& \quad=c^{3 k} q^{3(3 k+2)}\left(\frac{n(n+1)}{2}\right)^{2} \\ +& \quad=c^{3 k+2} q^{3(3 k+2)}=\left(c q^{3}\right)^{3 k+2} . +\end{aligned} +$$ + +That is, $\left(x_{1}, x_{2}, \cdots, x_{n} ; y\right)=\left(c^{k} q^{3 k+2}, 2 c^{k} q^{3 k+2}, \cdots, n c^{k} q^{3 k+2} ; c q^{3}\right)$ is a solution. This completes the proof. + +## Solution 2. + +For any positive integer $q$, take $x_{1}=x_{2}=\cdots=x_{n}=n^{2 k+1} q^{3 k+2}, y=n^{2} q^{3}$. Then + +$$ +\sum_{i=1}^{n} x_{i}^{3}=n \cdot n^{6 k+3} \cdot q^{9 k+6}=\left(n^{2} q^{3}\right)^{3 k+2}=y^{3 k+2} +$$ + +## Solution 3. + +If $n=1$, take $x_{1}=q^{3 k+2}, y=q^{3}$ as in solution 2. For $n>1$, we look for solutions of the form + +$$ +x_{1}=x_{2}=\cdots x_{n}=n^{p}, y=n^{q} . +$$ + +Then + +$$ +\sum_{i=1}^{n} x_{i}^{3}=y^{3 k+2} \Leftrightarrow n^{3 p+1}=n^{(3 k+2) q} \Leftrightarrow 3 p+1=(3 k+2) q \Leftrightarrow(3 k+2) q-3 p=1 . +$$ + +The last equation is satisfied if we take + +$$ +q=3 t+2 \text { and } p=(3 k+2) t+(2 k+1) \text { where } t +$$ + +is any nonnegative integer. Thus, infinetely many solutions in positive integers are given by + +$$ +x_{1}=x_{2}=\cdots x_{n}=n^{(3 k+2) t+(2 k+1)}, y=n^{3 t+2} +$$ + +## SOLUTIONS (Cont'd) + +## QUESTION 5 + +## Solution + +Note first that $u_{1}=1-u$. Since for all $x \in[u, 1], u \leq x$ and $1-x \leq 1-u$ we have + +$$ +\begin{aligned} +1- & (\sqrt{u x}+\sqrt{(1-u)(1-x)})^{2} \\ +& =1-u x-(1-u)(1-x)-2 \sqrt{u x(1-u)(1-x)} \\ +& =u+x-2 u x-2 \sqrt{u x(1-u)(1-x)} \\ +& \leq u+x-2 u x-2 u(1-x)=x-u . +\end{aligned} +$$ + +Therefore, + +$$ +f(x)=0 \text { if } 0 \leq x \leq u +$$ + +and + +$$ +f(x) \leq x-u \text { if } u \leq x \leq 1 +$$ + +From (2) we get $u_{2}=f\left(u_{1}\right) \leq u_{1}-u=1-2 u$ if $u_{1} \geq u$. An easy induction then yields + +$$ +u_{n+1}=f\left(u_{n}\right) \leq u_{n}-u \leq 1-(n+1) u \text { if } u_{i} \geq u \text { for all } i=1,2, \cdots, n +$$ + +Thus for sufficiently large $k$, we must have $u_{k-1}0 . +$$ + +So $00$, we assume that $r_{k}=\frac{a_{k}}{b_{k}}$ where $a_{k}, b_{k}$ are integers; $a_{k}0$. The corresponding unit interval ends at $x-\varepsilon+12$, and the $A_{i}$ are intervals of length $1, \min A_{a_{i}}-$ $\max A_{a_{j}}>2-1-1=0$, so $A_{a_{i}} \bigcap A_{a_{j}}=\emptyset$. + +Substituting $n=25$, we get the required result. Q.E.D. + +Problem 3 - Mihaela Enachescu, Dawson College, Montréal, PQ + +Let $P=\frac{1}{2} \cdot \frac{3}{4} \cdot \ldots \cdot \frac{1997}{1998}$. Then $\frac{1}{2}>\frac{1}{3}$ because $2<3, \frac{3}{4}>\frac{3}{5}$ because $4<5, \ldots$, + +.. $\frac{1997}{1998}>\frac{1997}{1999}$ because $1998<1999$. + +So + +$P>\frac{1}{3} \cdot \frac{3}{5} \cdot \ldots \cdot \frac{1997}{1999}=\frac{1}{1999}$. + +Also $\frac{1}{2}<\frac{2}{3}$ because $1 \cdot 3<2 \cdot 2, \frac{3}{4}<\frac{4}{5}$ because $3 \cdot 5<4 \cdot 4, \ldots$ + +$\frac{1997}{1998}<\frac{1998}{1999}$ because $1997 \cdot 1999=1998^{2}-1<1998^{2}$. + +So $P<\frac{2}{3} \cdot \frac{4}{5} \cdot \ldots \cdot \frac{1998}{1999}=\underbrace{\left(\frac{2}{1} \cdot \frac{4}{3} \cdot \frac{6}{5} \cdot \ldots \cdot \frac{1998}{1997}\right)}_{\frac{1}{P}} \frac{1}{1999}$. + +Hence $P^{2}<\frac{1}{1999}<\frac{1}{1936}=\frac{1}{44^{2}}$ and $P<\frac{1}{44}$. + +Then (1) and (2) give $\frac{1}{1999} SOLUTIONS + +The solutions to the problems of the 1998 CMO presented below are taken from students papers. + +Some minor editing has been done - unnecesary steps have been eliminated and some wording has been changed to make the proofs clearer. But for the most part, the proofs are as submitted. + +## Solution to Problem 1 - David Arthur, Upper Canada College, Toronto, ON + +Let $a=30 k+r$, where $k$ is an integer and $r$ is a real number between 0 and 29 inclusive. + +Then $\left[\frac{1}{2} a\right]=\left[\frac{1}{2}(30 k+r)\right]=15 k+\left[\frac{r}{2}\right]$. Similarly $\left[\frac{1}{3} a\right]=10 k+\left[\frac{r}{3}\right]$ and $\left[\frac{1}{5} a\right]=6 k+\left[\frac{r}{5}\right]$. + +Now, $\left[\frac{1}{2} a\right]+\left[\frac{1}{3} a\right]+\left[\frac{1}{5} a\right]=a$, so $\left(15 k+\left[\frac{r}{2}\right]\right)+\left(10 k+\left[\frac{r}{3}\right]\right)+\left(6 k+\left[\frac{r}{5}\right]\right)=30 k+r$ and hence $k=r-\left[\frac{r}{2}\right]-\left[\frac{r}{3}\right]-\left[\frac{r}{5}\right]$. + +Clearly, $r$ has to be an integer, or $r-\left[\frac{r}{2}\right]-\left[\frac{r}{3}\right]-\left[\frac{r}{5}\right]$ will not be an integer, and therefore, cannot equal $k$. + +On the other hand, if $r$ is an integer, then $r-\left[\frac{r}{2}\right]-\left[\frac{r}{3}\right]-\left[\frac{r}{5}\right]$ will also be an integer, giving exactly one solution for $k$. + +For each $r(0 \leq r \leq 29), a=30 k+r$ will have a different remainder mod 30 , so no two different values of $r$ give the same result for $a$. + +Since there are 30 possible values for $r(0,1,2, \ldots, 29)$, there are then 30 solutions for $a$. + +Solution to Problem 2 - Jimmy Chui, Earl Haig S.S., North York, ON + +Since $\left(x-\frac{1}{x}\right)^{1 / 2} \geq 0$ and $\left(1-\frac{1}{x}\right)^{1 / 2} \geq 0$, then $0 \leq\left(x-\frac{1}{x}\right)^{1 / 2}+\left(1-\frac{1}{x}\right)^{1 / 2}=x$. + +Note that $x \neq 0$. Else, $\frac{1}{x}$ would not be defined so $x>0$. + +Squaring both sides gives, + +$$ +\begin{aligned} +x^{2} & =\left(x-\frac{1}{x}\right)+\left(1-\frac{1}{x}\right)+2 \sqrt{\left(x-\frac{1}{x}\right)\left(1-\frac{1}{x}\right)} \\ +x^{2} & =x+1-\frac{2}{x}+2 \sqrt{x-1-\frac{1}{x}+\frac{1}{x^{2}}} . +\end{aligned} +$$ + +Multiplying both sides by $x$ and rearranging, we get + +$$ +\begin{aligned} +x^{3}-x^{2}-x+2 & =2 \sqrt{x^{3}-x^{2}-x+1} \\ +\left(x^{3}-x^{2}-x+1\right)-2 \sqrt{x^{3}-x^{2}-x+1}+1 & =0 \\ +\left(\sqrt{x^{3}-x^{2}-x+1}-1\right)^{2} & =0 \\ +\sqrt{x^{3}-x^{2}-x+1} & =1 \\ +x^{3}-x^{2}-x+1 & =1 \\ +x\left(x^{2}-x-1\right) & =0 \\ +x^{2}-x-1 & =0 \quad \text { since } x \neq 0 . +\end{aligned} +$$ + +Thus $x=\frac{1 \pm \sqrt{5}}{2}$. We must check to see if these are indeed solutions. + +Let $\alpha=\frac{1+\sqrt{5}}{2}, \beta=\frac{1-\sqrt{5}}{2}$. Note that $\alpha+\beta=1, \alpha \beta=-1$ and $\alpha>0>\beta$. + +Since $\beta<0, \beta$ is not a solution. + +Now, if $x=\alpha$, then + +$$ +\begin{aligned} +\left(\alpha-\frac{1}{\alpha}\right)^{1 / 2}+\left(1-\frac{1}{\alpha}\right)^{1 / 2} & =(\alpha+\beta)^{1 / 2}+(1+\beta)^{1 / 2} & & (\text { since } \alpha \beta--1) \\ +& =1^{1 / 2}+\left(\beta^{2}\right)^{1 / 2} & & \left(\text { since } \alpha+\beta=1 \text { and } \beta^{2}=\beta+1\right) \\ +& =1-\beta & & (\text { since } \beta<0) \\ +& =\alpha & & (\text { since } \alpha+\beta=1) . +\end{aligned} +$$ + +So $x=\alpha$ is the unique solution to the equation. + +Solution 1 to Problem 3 - Chen He, Columbia International Collegiate, Hamilton, ON + +$$ +1+\frac{1}{3}+\ldots+\frac{1}{2 n-1}=\frac{1}{2}+\frac{1}{2}+\frac{1}{3}+\frac{1}{5}+\ldots \frac{1}{2 n-1} +$$ + +Since + +$$ +\frac{1}{3}>\frac{1}{4}, \frac{1}{5}>\frac{1}{6}, \ldots, \frac{1}{2 n-1}>\frac{1}{2 n} +$$ + +(1) gives + +$$ +1+\frac{1}{3}+\ldots+\frac{1}{2 n-1}>\frac{1}{2}+\frac{1}{2}+\frac{1}{4}+\frac{1}{6}+\ldots+\frac{1}{2 n}=\frac{1}{2}+\left(\frac{1}{2}+\frac{1}{4}+\frac{1}{6}+\ldots+\frac{1}{2 n}\right) . +$$ + +Since + +$$ +\frac{1}{2}>\frac{1}{4}, \frac{1}{2}>\frac{1}{6}, \frac{1}{2}>\frac{1}{8}, \ldots, \frac{1}{2}>\frac{1}{2 n} +$$ + +then + +$$ +\frac{n}{2}=\underbrace{\frac{1}{2}+\frac{1}{2}+\frac{1}{2}+\ldots+\frac{1}{2}}_{n}>\frac{1}{2}+\frac{1}{4}+\frac{1}{6}+\ldots+\frac{1}{2 n} +$$ + +So + +$$ +\frac{1}{2}>\frac{1}{n}\left(\frac{1}{2}+\frac{1}{4}+\frac{1}{6}+\ldots+\frac{1}{2 n}\right) . +$$ + +Then (1), (2) and (3) show + +$$ +\begin{aligned} +1+\frac{1}{3}+\ldots+\frac{1}{2 n-1} & >\frac{1}{n}\left(\frac{1}{2}+\frac{1}{4}+\frac{1}{6}+\ldots+\frac{1}{2 n}\right)+\left(\frac{1}{2}+\frac{1}{4}+\frac{1}{6}+\ldots+\frac{1}{2 n}\right) \\ +& =\left(1+\frac{1}{n}\right)\left(\frac{1}{2}+\frac{1}{4}+\ldots+\frac{1}{2 n}\right) \\ +& =\frac{n+1}{n}\left(\frac{1}{2}+\frac{1}{4}+\ldots+\frac{1}{2 n}\right) . +\end{aligned} +$$ + +Therefore $\frac{1}{n+1}\left(1+\frac{1}{3}+\ldots+\frac{1}{2 n-1}\right)>\frac{1}{n}\left(\frac{1}{2}+\frac{1}{4}+\ldots+\frac{1}{2 n}\right)$ for all $n \in N$ and $n \geq 2$. + +Solution 2 to Problem 3 - Yin Lei, Vincent Massey S.S., Windsor, ON + +Since $n \geq 2, n(n+1) \geq 0$. Therefore the given inequality is equivalent to + +$$ +n\left(1+\frac{1}{3}+\ldots+\frac{1}{2 n-1}\right) \geq(n+1)\left(\frac{1}{2}+\frac{1}{4}+\ldots+\frac{1}{2 n}\right) . +$$ + +We shall use mathematical induction to prove this. + +For $n=2$, obviously $\frac{1}{3}\left(1+\frac{1}{3}\right)=\frac{4}{9}>\frac{1}{2}\left(\frac{1}{2}+\frac{1}{4}\right)=\frac{3}{8}$. + +Suppose that the inequality stands for $n=k$, i.e. + +$$ +k\left(1+\frac{1}{3}+\ldots+\frac{1}{2 k-1}\right)>(k+1)\left(\frac{1}{2}+\frac{1}{4}+\ldots+\frac{1}{2 k}\right) . +$$ + +Now we have to prove it for $n=k+1$. + +We know + +$$ +\begin{aligned} +& \left(1+\frac{1}{3}+\ldots+\frac{1}{2 k-1}\right)-\left(\frac{1}{2}+\frac{1}{4}+\ldots+\frac{1}{2 k}\right) \\ +& =\left(1-\frac{1}{2}\right)+\left(\frac{1}{3}-\frac{1}{4}\right)+\left(\frac{1}{5}-\frac{1}{6}\right)+\ldots+\left(\frac{1}{2 k-1}-\frac{1}{2 k}\right) \\ +& =\frac{1}{1 \times 2}+\frac{1}{3 \times 4}+\frac{1}{5 \times 6}+\ldots+\frac{1}{(2 k-1)(2 k)} . +\end{aligned} +$$ + +Since + +$$ +1 \times 2<3 \times 4<5 \times 6<\ldots<(2 k-1)(2 k)<(2 k+1)(2 k+2) +$$ + +then + +$$ +\frac{1}{1 \times 2}+\frac{1}{3 \times 4}+\ldots+\frac{1}{(2 k-1)(2 k)}>\frac{k}{(2 k+1)(2 k+2)} +$$ + +hence + +$$ +1+\frac{1}{3}+\ldots+\frac{1}{2 k-1}>\frac{1}{2}+\frac{1}{4}+\ldots+\frac{1}{2 k}+\frac{k}{(2 k+1)(2 k+2)} +$$ + +Also + +$$ +\frac{k+1}{2 k+1}-\frac{k+2}{2 k+2}=\frac{2 k^{2}+2 k+2 k+2-2 k^{2}-4 k-k-2}{(2 k+1)(2 k+2)}=-\frac{k}{(2 k+1)(2 k+2)} +$$ + +therefore + +$$ +\frac{k+1}{2 k+1}=\frac{k+2}{2 k+2}-\frac{k}{(2 k+1)(2 k+2)} +$$ + +Adding 1, 2 and 3 : + +$k\left(1+\frac{1}{3}+\ldots+\frac{1}{2 k-1}\right)+\left(1+\frac{1}{3}+\ldots+\frac{1}{2 k-1}\right)+\frac{k+1}{2 k+1}$ + +$>(k+1)\left(\frac{1}{2}+\frac{1}{4}+\ldots+\frac{1}{2 k}\right)+\left(\frac{1}{2}+\frac{1}{4}+\ldots+\frac{1}{2 k}\right)+\frac{k}{(2 k+1)(2 k+2)}+\frac{k+2}{2 k+2}-\frac{k}{(2 k+1)(2 k+2)}$ + +Rearrange both sides to get + +$$ +(k+1)\left(1+\frac{1}{3}+\ldots+\frac{1}{2 k+1}\right)>(k+2)\left(\frac{1}{2}+\frac{1}{4}+\ldots+\frac{1}{2 k+2}\right) . +$$ + +Proving the induction. + +Solution 1 to Problem 4 - Keon Choi, A.Y. Jackson S.S., North York, ON + +Suppose $H$ is the foot of the perpendicular line from $A$ to $B C$; construct equilateral $\triangle A B G$, with $C$ on $B G$. I will prove that if $F$ is the point where $A H$ meets $B D$, then $\angle F C B=70^{\circ}$. (Because that means $A H$, and the given lines $B D$ and $C E$ meet at one point and that proves the question.) Suppose $B D$ extended meets $A G$ at $I$. + +![](https://cdn.mathpix.com/cropped/2024_04_17_f425197589e2cd933e5cg-06.jpg?height=393&width=423&top_left_y=497&top_left_x=686) + +Now $B F=G F$ and $\angle F B G=\angle F G B=40^{\circ}$ so that $\angle I G F=20^{\circ}$. Also $\angle I F G=\angle F B G+\angle F G B=$ $80^{\circ}$, so that + +$$ +\begin{aligned} +\angle F I G & =180^{\circ}-\angle I F G-\angle I G F \\ +& =180^{\circ}-80^{\circ}-20^{\circ} \\ +& =80^{\circ} . +\end{aligned} +$$ + +Therefore $\triangle G I F$ is an isoceles triangle, so + +$$ +G I=G F=B F +$$ + +But $\triangle B G I$ and $\triangle A B C$ are congruent, since $B G=A B, \angle G B I=\angle B A C, \angle B G I=\angle A B C$. + +Therefore + +$$ +G I=B C . +$$ + +From (1) and (2) we get + +$$ +B C=B F \text {. } +$$ + +So in $\triangle B C F$, + +$$ +\angle B C F=\frac{180^{\circ}-\angle F B C}{2}=\frac{180^{\circ}-40^{\circ}}{2}=70^{\circ} . +$$ + +Thus $\angle F C B=70^{\circ}$ and that proves that the given lines $C E$ and $B D$ and the perpendicular line $A H$ meet at one point. + +Solution 2 to Problem 4 - Adrian Birka, Lakeshore Catholic H.S., Port Colborne, ON + +First we prove the following lemma: + +In $\triangle A B C, A A^{\prime}, B B^{\prime}, C C^{\prime}$ intersect if-f + +$$ +\frac{\sin \alpha_{1}}{\sin \alpha_{2}} \cdot \frac{\sin \beta_{1}}{\sin \beta_{2}} \cdot \frac{\sin \gamma_{1}}{\sin \gamma_{2}}=1 +$$ + +where $\alpha_{1}, \alpha_{2}, \beta_{1}, \beta_{2}, \gamma_{1}, \gamma_{2}$ are as shown in the diagram just below. + +(Editor: This is a known variant of Ceva's Theorem.) + +![](https://cdn.mathpix.com/cropped/2024_04_17_f425197589e2cd933e5cg-07.jpg?height=455&width=466&top_left_y=762&top_left_x=751) + +Proof: Let $\angle B B^{\prime} C=x$, then $\angle B B^{\prime} A=180^{\circ}-x$. Using the sine law in $\triangle B B^{\prime} C$ yields + +$$ +\frac{b_{2}}{\sin \beta_{2}}=\frac{a}{\sin x} . +$$ + +Similarly using the sine law in $\triangle B B^{\prime} A$ yields + +$$ +\frac{b_{1}}{\sin \beta_{1}}=\frac{c}{\sin \left(180^{\circ}-x\right)}=\frac{c}{\sin x} . +$$ + +Hence, + +$$ +b_{1}: b_{2}=\frac{c \sin \beta_{1}}{a \sin \beta_{2}} +$$ + +(from (1),(2)). (Editor: Do you recognize this when $\beta_{1}=\beta_{2}$ ?) + +Similarly, + +$$ +a_{1}: a_{2}=\frac{b \sin \alpha_{1}}{c \sin \alpha_{2}}, \quad c_{1}: c_{2}=\frac{a \sin \gamma_{1}}{b \sin \gamma_{2}} +$$ + +By Ceva's theorem, the necessary and sufficient condition for $A A^{\prime}, B B^{\prime}, C C^{\prime}$ to intersect is: $\left(a_{1}: a_{2}\right) \cdot\left(b_{1}: b_{2}\right) \cdot\left(c_{1}: c_{2}\right)=1$. Using (3), (4) on this yields: + +$$ +\frac{b}{c} \cdot \frac{\sin \alpha_{1}}{\sin \alpha_{2}} \cdot \frac{a}{b} \cdot \frac{\sin \gamma_{1}}{\sin \gamma_{2}} \cdot \frac{c}{a} \cdot \frac{\sin \beta_{1}}{\sin \beta_{2}}=1 +$$ + +$$ +\frac{\sin \alpha_{1}}{\sin \alpha_{2}} \cdot \frac{\sin \beta_{1}}{\sin \beta_{2}} \cdot \frac{\sin \gamma_{1}}{\sin \gamma_{2}}=1 +$$ + +This is just what we needed to show, therefore the lemma is proved. + +Now, in our original question, give $\angle B A C=40^{\circ}, \angle A B C=60^{\circ}$. It follows that $\angle A C B=80^{\circ}$. + +Since $\angle C B D=40^{\circ}, \angle A B D=\angle A B C-\angle D B C=20^{\circ}$. Similarly, $\angle E C A=20^{\circ}$. + +![](https://cdn.mathpix.com/cropped/2024_04_17_f425197589e2cd933e5cg-08.jpg?height=396&width=486&top_left_y=672&top_left_x=749) + +Now let us show that $\angle F A D=10^{\circ}$. Suppose otherwise. Let $F^{\prime}$ be such that $F, F^{\prime}$ are in the same side of $A C$ and $\angle D A F^{\prime}=10^{\circ}$. Then $\angle B A F^{\prime}=\angle B A C-\angle D A F^{\prime}=30^{\circ}$. + +Thus + +$$ +\begin{aligned} +\frac{\sin \angle A B D}{\sin \angle D B C} \cdot \frac{\sin \angle B C E}{\sin \angle E C A} \cdot \frac{\sin \angle C A F^{\prime}}{\sin \angle F^{\prime} A B} & =\frac{\sin 20^{\circ}}{\sin 40^{\circ}} \cdot \frac{\sin 70^{\circ}}{\sin 10^{\circ}} \cdot \frac{\sin 10^{\circ}}{\sin 30^{\circ}} \\ +& =\frac{\sin 20^{\circ}}{2 \sin 20^{\circ} \cos 20^{\circ}} \cdot \frac{\cos 20^{\circ}}{\sin 30^{\circ}} \\ +& =\frac{1}{2 \sin 30^{\circ}}=1 . +\end{aligned} +$$ + +By the lemma above, $A F^{\prime}$ passes through $C E \cap B D=F$. Therefore $A F^{\prime}=A F$, and $\angle F A D=10^{\circ}$, contrary to assumption. Thus $\angle F A D$ must be $10^{\circ}$. Now let $A F \cap B C=K$. Since $\angle K A C=$ $10^{\circ}, \angle K C A=80^{\circ}$, it follows that $\angle A K C=90^{\circ}$. Therefore $A K \perp B C \Rightarrow A F \perp B C$ as needed. + +Solution to Problem 5 - Adrian Chan, Upper Canada College, Toronto, ON + +Let us first prove by induction that $\frac{a_{n}^{2}+a_{n+1}^{2}}{a_{n} \cdot a_{n+1}+1}=m^{2}$ for all $n \geq 0$. + +Proof: + +Base Case $(n=0): \frac{a_{0}^{2}+a_{1}^{2}}{a_{0} \cdot a_{1}+1}=\frac{0+m^{2}}{0+1}=m^{2}$. + +Now, let us assume that it is true for $n=k, k \geq 0$. Then, + +$$ +\begin{aligned} +\frac{a_{k}^{2}+a_{k+1}^{2}}{a_{k} \cdot a_{k+1}+1} & =m^{2} \\ +a_{k}^{2}+a_{k+1}^{2} & =m^{2} \cdot a_{k} \cdot a_{k+1}+m^{2} \\ +a_{k+1}^{2}+m^{4} a_{k+1}^{2}-2 m^{2} \cdot a_{k} \cdot a_{k+1}+a_{k}^{2} & =m^{2}+m^{4} a_{k+1}^{2}-m^{2} \cdot a_{k} \cdot a_{k+1} \\ +a_{k+1}^{2}+\left(m^{2} a_{k+1}-a_{k}\right)^{2} & =m^{2}+m^{2} a_{k+1}\left(m^{2} a_{k+1}-a_{k}\right) \\ +a_{k+1}^{2}+a_{k+2}^{2} & =m^{2}+m^{2} \cdot a_{k+1} \cdot a_{k+2} . +\end{aligned} +$$ + +So $\frac{a_{k+1}^{2}+a_{k+2}^{2}}{a_{k+1} \cdot a_{k+2}+1}=m^{2}$, + +proving the induction. Hence $\left(a_{n}, a_{n+1}\right)$ is a solution to $\frac{a^{2}+b^{2}}{a b+1}=m^{2}$ for all $n \geq 0$. + +Now, consider the equation $\frac{a^{2}+b^{2}}{a b+1}=m^{2}$ and suppose $(a, b)=(x, y)$ is a solution with $0 \leq x \leq y$. Then + +$$ +\frac{x^{2}+y^{2}}{x y+1}=m^{2} +$$ + +If $x=0$ then it is easily seen that $y=m$, so $(x, y)=\left(a_{0}, a_{1}\right)$. Since we are given $x \geq 0$, suppose now that $x>0$. + +Let us show that $y \leq m^{2} x$. + +Proof by contradiction: Assume that $y>m^{2} x$. Then $y=m^{2} x+k$ where $k \geq 1$. + +Substituting into (1) we get + +$$ +\begin{aligned} +\frac{x^{2}+\left(m^{2} x+k\right)^{2}}{(x)\left(m^{2} x+k\right)+1} & =m^{2} \\ +x^{2}+m^{4} x^{2}+2 m^{2} x k+k^{2} & =m^{4} x^{2}+m^{2} k x+m^{2} \\ +\left(x^{2}+k^{2}\right)+m^{2}(k x-1) & =0 . +\end{aligned} +$$ + +Now, $m^{2}(k x-1) \geq 0$ since $k x \geq 1$ and $x^{2}+k^{2} \geq x^{2}+1 \geq 1$ so $\left(x^{2}+k^{2}\right)+m^{2}(k x-1) \neq 0$. + +Thus we have a contradiction, so $y \leq m^{2} x$ if $x>0$. + +Now substitute $y=m^{2} x-x_{1}$, where $0 \leq x_{1}0$. + +Let us now show that $x_{1}0$. + +With the same proof that $y \leq m^{2} x$, we have $x \leq m^{2} x_{1}$. So the substitution $x=m^{2} x_{1}-x_{2}$ with $x_{2} \geq 0$ is valid. + +Substituting $x=m^{2} x_{1}-x_{2}$ into (2) gives $\frac{x_{1}^{2}+x_{2}^{2}}{x_{1} \cdot x_{2}+1}=m^{2}$. + +If $x_{2} \neq 0$, then we continue with the substitution $x_{i}=m_{x_{i+1}}^{2}-x_{i+2}\left({ }^{*}\right)$ until we get $\frac{x_{j}^{2}+x_{j+1}^{2}}{x_{j} \cdot x_{j+1}+1}=m^{2}$ and $x_{j+1}=0$. (The sequence $x_{i}$ is decreasing, nonnegative and integer.) + +So, if $x_{j+1}=0$, then $x_{j}^{2}=m^{2}$ so $x_{j}=m$ and $\left(x_{j+1}, x_{j}\right)=(0, m)=\left(a_{0}, a_{1}\right)$. + +Then $\left(x_{j}, x_{j-1}\right)=\left(a_{1}, a_{2}\right)$ since $x_{j-1}=m^{2} x_{j}-x_{j+1}\left(\right.$ from $\left.\left(^{*}\right)\right)$. + +Continuing, we have $\left(x_{1}, x\right)=\left(a_{n-1}, a_{n}\right)$ for some $n$. Then $(x, y)=\left(a_{n}, a_{n+1}\right)$. + +Hence $\frac{a^{2}+b^{2}}{a b+1}=m^{2}$ has solutions $(a, b)$ if and only if $(a, b)=\left(a_{n}, a_{n+1}\right)$ for some $n$. + +## GRADERS' REPORT + +Each question was worth a maximum of 7 marks. Every solution on every paper was graded by two different markers. If the two marks differed by more than one point, the solution was reconsidered until the difference resolved. If the two marks differed by one point, the average was used in computing the total score. + +The various grades assigned each solution are displayed below, as a percentage. + +| MARKS | $\# 1$ | $\# 2$ | $\# 3$ | $\# 4$ | $\# 5$ | +| :---: | ---: | ---: | ---: | ---: | ---: | +| 0 | 7.6 | 9.8 | 40.2 | 31.0 | 73.9 | +| 1 | 14.1 | 27.7 | 7.1 | 27.7 | 9.2 | +| 2 | 10.9 | 16.8 | 16.8 | 21.7 | 12.0 | +| 3 | 6.5 | 16.3 | 3.8 | 1.6 | 1.1 | +| 4 | 3.3 | 2.2 | 1.6 | 2.2 | 0.5 | +| 5 | 6.0 | 14.1 | 4.3 | 3.8 | 0.0 | +| 6 | 16.3 | 6.0 | 7.1 | 2.2 | 1.1 | +| 7 | 35.3 | 7.1 | 19.0 | 9.8 | 2.2 | + +## PROBLEM 1 + +This question was well done. 47 students received 6 or 7 and only 6 students received no marks. Many students came up with a proof similar to David Arthur's proof. Another common approach was to find bounds for $a$ (either $0 \leq a<60$ or $0 \leq a<90$ ) and to then check which of these $a$ satisfy the equation. + +## PROBLEM 2 + +Although most students attempted this problem, there were only 6 perfect solutions. A further 6 solutions earned a mark of $6 / 7$ and 13 solutions earned a mark of $5 / 7$. + +The most common approach was to square both sides of the equation, rearrange the terms to isolate the radical, and to then square both sides again. This resulted in the polynomial $x^{6}-2 x^{5}-x^{4}+$ $2 x^{3}+x^{2}=0$. Many students were unable to factor this polynomial, and so earned only 2 or 3 points. + +The polynomial has three distinct roots: $0, \frac{1+\sqrt{5}}{2}$, and $\frac{1-\sqrt{5}}{2}$. Most students recognized that 0 is extraneous. One point was deducted for not finding that $\frac{1-\sqrt{5}}{2}$ is extraneous, and a further point was deducted for not checking that $\frac{1+\sqrt{5}}{2}$ is a solution. (It's not obvious that the equation has any solutions.) Failing to check for extraneous roots is considered to be a major error. The graders should, perhaps, have deducted more points for this mistake. + +The solution included here avoids the 6th degree polynomial, thus avoiding the difficult factoring. + +However, the solutions must still be checked. + +## PROBLEM 3 + +There were 17 perfect solutions and eleven more contestants earned either 5 or 6 points. + +The most elegant solution uses two simple observations: that $1=\frac{1}{2}+\frac{1}{2}$ and that $\frac{1}{2}$ is greater than + +the average of $\frac{1}{2}, \frac{1}{4}, \ldots, \frac{1}{2 n}$. A telescope argument also works, adding the first and last terms from each side, and so on. The key to a successful proof by induction is to be careful with algebra and to avoid the temptation to use inequalities. For example, many students used the induction hypothesis to deduce that + +$$ +\frac{1}{n+2}\left(1+\frac{1}{3}+\ldots+\frac{1}{2 n+1}\right)>\frac{n+1}{(n+2) n}\left(1+\frac{1}{2}+\ldots+\frac{1}{2 n}\right)+\frac{1}{(n+2)(2 n+1)} +$$ + +then used $\frac{n+1}{(n+2) n}>\frac{1}{n+1}$, which is too sloppy for a successful induction proof. + +## PROBLEM 4 + +Many contestants attempted this question, though few got beyond labeling the most apparent angles. Nine students successfully completed the problem, while another six made a significant attempt. + +Most of these efforts employed trigonometry or coordinates to set up a trigonometric equation for an unknown angle. This yields to an assault by identities. Adrian Birka produced a very clean solution of this nature. + +Only Keon Choi managed to complete a (very pretty) synthetic solution. One other contestant made significant progress with the same idea. + +## PROBLEM 5 + +Many students were successful in finding the expression for the terms of the sequence $\left\{a_{n}\right\}$ by a variety of methods: producing an explicit formula, by means of a generating function and as a sum of binomial coefficients involving parameter $m$. Unfortunately this does not help solving the problem. Nevertheless seventeen contestants were able to prove by induction that the terms of the sequence satisfy the required relation. + +To prove the "only if" part one should employ the method of descent which technically is the same calculation as in the direct part of the problem. Three students succeeded in this, but only two obtained a complete solution by showing that the sequence constructed by descent is decreasing and must have $m$ and 0 as the last two terms. + diff --git a/CANADA_MO/md/en-sol1999.md b/CANADA_MO/md/en-sol1999.md new file mode 100644 index 0000000000000000000000000000000000000000..947b7c11d45dd2aa8b1a73fd424f251bc0d02580 --- /dev/null +++ b/CANADA_MO/md/en-sol1999.md @@ -0,0 +1,249 @@ +# 1999
SOLUTIONS + +Most of the solutions to the problems of the 1999 CMO presented below are taken from students' papers. Some minor editing has been done - unnecessary steps have been eliminated and some wording has been changed to make the proofs clearer. But for the most part, the proofs are as submitted. + +## Solution to Problem 1 - Adrian Chan, Upper Canada College, Toronto, ON + +Rearranging the equation we get $4 x^{2}+51=40[x]$. It is known that $x \geq[x]>x-1$, so + +$$ +\begin{aligned} +4 x^{2}+51=40[x] & >40(x-1) \\ +4 x^{2}-40 x+91 & >0 \\ +(2 x-13)(2 x-7) & >0 +\end{aligned} +$$ + +Hence $x>13 / 2$ or $x<7 / 2$. Also, + +$$ +\begin{aligned} +4 x^{2}+51=40[x] & \leq 40 x \\ +4 x^{2}-40 x+51 & \leq 0 \\ +(2 x-17)(2 x-3) & \leq 0 +\end{aligned} +$$ + +Hence $3 / 2 \leq x \leq 17 / 2$. Combining these inequalities gives $3 / 2 \leq x<7 / 2$ or $13 / 2\frac{\sqrt{64}}{2}=4$. So, this solution is rejected. + +CASE 2: $13 / 21$ write $n$ in the form $n=P_{1}^{\alpha_{1}} P_{2}^{\alpha_{2}} \ldots P_{m}^{\alpha_{m}}$ where the $P_{i}$ 's, $1 \leq i \leq m$, are distinct prime numbers and $\alpha_{i}>0$. Since $d(n)$ is an integer, $n$ is a perfect square, so $\alpha_{i}=2 \beta_{i}$ for integers $\beta_{i}>0$. + +Using the formula for the number of divisors of $n$, + +$$ +d(n)=\left(2 \beta_{1}+1\right)\left(2 \beta_{2}+1\right) \ldots\left(2 \beta_{m}+1\right) +$$ + +which is an odd number. Now because $d(n)$ is odd, $(d(n))^{2}$ is odd, therefore $n$ is odd as well, so $P_{i} \geq 3,1 \leq i \leq m$. We get + +$$ +P_{1}^{\alpha_{1}} \cdot P_{2}^{\alpha_{2}} \ldots P_{m}^{\alpha_{m}}=\left[\left(\alpha_{1}+1\right)\left(\alpha_{2}+1\right) \ldots\left(\alpha_{m}+1\right)\right]^{2} +$$ + +or using $\alpha_{i}=2 \beta_{i}$ + +$$ +P_{1}^{\beta_{1}} P_{2}^{\beta_{2}} \ldots P_{m}^{\beta_{m}}=\left(2 \beta_{1}+1\right)\left(2 \beta_{2}+1\right) \ldots\left(2 \beta_{m}+1\right) +$$ + +Now we prove a lemma: + +Lemma: $P^{t} \geq 2 t+1$ for positive integers $t$ and $P \geq 3$, with equality only when $\mathrm{P}=3$ and $\mathrm{t}=1$. + +Proof: We use mathematical induction on $t$. The statement is true for $t=1$ because $P \geq 3$. Now suppose $P^{k} \geq 2 k+1, k \geq 1$; then we have + +$$ +P^{k+1}=P^{k} \cdot P \geq P^{k}(1+2)>P^{k}+2 \geq(2 k+1)+2=2(k+1)+1 +$$ + +Thus $P^{t} \geq 2 t+1$ and equality occurs only when $P=3$ and $t=1$. + +Let's say $n$ has a prime factor $P_{k}>3$; then (by the lemma) $P_{k}^{\beta_{k}}>2 \beta_{k}+1$ and we have $P_{1}^{\beta_{1}} \ldots P_{m}^{\beta_{m}}>$ $\left(2 \beta_{1}+1\right) \ldots\left(2 \beta_{m}+1\right)$, a contradiction. + +Therefore, the only prime factor of $n$ is $P=3$ and we have $3^{\alpha}=2 \alpha+1$. By the lemma $\alpha=1$. + +The only positive integer solutions are 1 and 9 . + +## Solution 1 to Problem 4 - David Nicholson, Fenelon Falls S.S., Fenelon Falls, ON + +Without loss of generality let $a_{1}40[x]$ for $x \geq 9$. + +PROBLEM 2 Many competitors saw that the key here is to prove that the angle subtended by the arc at its centre is constant, namely $\pi / 3$. In all, 16 students managed a complete proof. Most attempted an analytic solution - indeed, the problem is nearly routine if one chooses coordinates wisely and later on notes that two such x-coordinates are roots of the same quadratic. A few students used trigonometry, namely the law of sines on a couple of useful triangles. Two students found essentially the same synthetic solution, which is very elegant. + +PROBLEM 3 Most competitors determined by direct calculation that $n=1$ and $n=9$ are solutions. The difficulty was to show that these are the only solutions, which boils down to proving that $p^{k} \geq 2 k+1$ for all primes $p>2$ and all $k>0$ with equality only for $k=1$ and $p=3$. This can be done by induction or by calculus. Only 5 students obtained perfect marks. + +## PROBLEM 4 + +Many students found a specific set of seven integers such that the equation did not have three different solutions. This earned two points. (One student found such a set with maximum value 14. A maximum value of 13 is not possible.) + +Only eight competitors received high marks on the question $(5,6$, or 7 ), and only one student scored a perfect 7. All of the successful solvers considered differences of consecutive integers, showing that they must be $1,1,2,2,3,3$, and 4 , and then showed that every ordering of these differences led to at least three repetitions of the same value. Most competitors recognized that the $1 \mathrm{~s}$ could not be together, nor could they be beside a 2 . They then proceed by considering all such possible arrangements, which often resulted in close to a dozen cases (depending on how the the cases were handled.) David Nicholson was the most efficient at pruning the cases. (See Solution 1 to Problem 4.) Most students failed to consider one or two (easily dismissed) cases, hence lost 1 or 2 points. + +A number of the contestants attempted to solve the problem by examining the odd-even character of the set of eight integers, counting how many of the differences were odd or even, and using the pigeon-hole principle. Although this approach looked promising, no one was able to handle the case that 3 of the integers were of one parity, and 5 were of the other parity. + +PROBLEM 5 No students received full marks for this problem. One student received 5 marks for a proof that had minor errors. This proof was by Calculus. The committee was aware that the problem could be solved using Calculus but (erroneously) thought it unlikely high school students would attempt such a solution. Many students received 1 point for "guessing" that $\left(\frac{2}{3}, \frac{1}{3}, 0\right),\left(0, \frac{2}{3}, \frac{1}{3}\right)$ and $\left(\frac{1}{3}, 0, \frac{2}{3}\right)$ are where equality occurred. Some students received a further point for verifying the inequality on the boundary of the region. + diff --git a/CANADA_MO/md/en-sol2000.md b/CANADA_MO/md/en-sol2000.md new file mode 100644 index 0000000000000000000000000000000000000000..df5fa590dee0143a83e7dc308f4a0fba19688857 --- /dev/null +++ b/CANADA_MO/md/en-sol2000.md @@ -0,0 +1,129 @@ +# 2000 Canadian Mathematics Olympiad Solutions
Chair: Luis Goddyn, Simon Fraser University, goddyn@math.sfu.ca + +The Year 2000 Canadian Mathematics Olympiad was written on Wednesday April 2, by 98 high school students across Canada. A correct and well presented solution to any of the five questions was awarded seven points. This year's exam was a somewhat harder than usual, with the mean score being 8.37 out of 35 . The top few scores were: 30, 28, 27, 22, 20, 20, 20. The first, second and third prizes are awarded to: Daniel Brox (Sentinel Secondary BC), David Arthur (Upper Canada College ON), and David Pritchard (Woburn Collegiate Institute ON). + +1. At 12:00 noon, Anne, Beth and Carmen begin running laps around a circular track of length three hundred meters, all starting from the same point on the track. Each jogger maintains a constant speed in one of the two possible directions for an indefinite period of time. Show that if Anne's speed is different from the other two speeds, then at some later time Anne will be at least one hundred meters from each of the other runners. (Here, distance is measured along the shorter of the two arcs separating two runners.) + +Comment: We were surprised by the difficulty of this question, having awarded an average grade of 1.43 out of 7 . We present two solutions; only the first appeared among the graded papers. + +Solution 1: By rotating the frame of reference we may assume that Anne has speed zero, that Beth runs at least as fast as Carmen, and that Carmen's speed is positive. If Beth is no more than twice as fast as Carmen, then both are at least 100 meters from Anne when Carmen has run 100 meters. If Beth runs more that twice as fast as Carmen, then Beth runs a stretch of more than 200 meters during the time Carmen runs between 100 and 200 meters. Some part of this stretch lies more than 100 meters from Anne, at which time both Beth and Carmen are at least (in fact, more than) 100 meters away from Anne. + +Solution 2: By rotating the frame of reference we may assume Anne's speed to equal zero, and that the other two runners have non-zero speed. We may assume that Beth is running at least as fast as Carmen. Suppose that it takes $t$ seconds for Beth to run 200 meters. Then at all times in the infinite set $T=\{t, 2 t, 4 t, 8 t, \ldots\}$, Beth is exactly 100 meters from Anne. At time $t$, Carmen has traveled exactly $d$ meters where $00, b_{2}<0$ and, for each $i=2,3, \ldots, 2000$, the sign of $b_{i}$ is opposite to that of the partial sum + +$$ +s_{i-1}=b_{1}+b_{2}+\cdots+b_{i-1} . +$$ + +(We can assume that each $s_{i-i} \neq 0$ for otherwise we are done.) At each step of the selection process a candidate for $b_{i}$ is guaranteed to exist, since the condition $a_{1}+a_{2}+\cdots+a_{2000}=1$ implies that the sum of unselected entries in $A$ is either zero or has sign opposite to $s_{i-1}$. + +From the way they were defined, each of $s_{1}, s_{2}, \ldots, s_{2000}$ is one of the 1999 nonzero integers in the interval $[-999,1000]$. By the Pigeon Hole Principle, $s_{j}=s_{k}$ for some $j, k$ satisfying $1 \leq j SOLUTIONS + +Several solutions are edited versions of solutions submitted by the contestants whose names appear in italics.. + +1. (Daniel Brox) + +Let $R$ be Rachel's age, and let $J$ be Jimmy's age. Rachel's quadratic is + +$$ +a(x-R)(x-J)=a x^{2}-a(R+J) x+a R J . +$$ + +for some number $a$. We are given that the coefficient $a$ is an integer. The sum of the coefficients is + +$$ +a-a(R+J)+a R J=a(R-1)(J-1) . +$$ + +Since this is a prime number, two of the three integers $a, R-1, J-1$ multiply to 1 . We are given that $R>J>0$, so we must have that $a=1, J=2, R-1$ is prime, and the quadratic is + +$$ +(x-R)(x-2) \text {. } +$$ + +We are told that this quadratic takes the value $-55=-5 \cdot 11$ for some positive integer $x$. Since $R>2$, the first factor, $(x-R)$, must be the negative one. We have four cases: + +$x-R=-55$ and $x-2=1$, which implies $x=3, R=58$. + +$x-R=-11$ and $x-2=5$, which implies $x=7, R=18$. + +$x-R=-5$ and $x-2=11$, which implies $x=13, R=18$. + +$x-R=-1$ and $x-2=53$, which implies $x=57, R=58$. + +Since $R-1$ is prime, the first and last cases are rejected, so $R=18$ and $J=2$. + +## 2. (Lino Demasi) + +After ten coin flips, the token finishes on the square numbered $2 k-10$, where $k$ is the number of heads obtained. Of the $2^{10}=1024$ possible results of ten coin flips, there are exactly $\left(\begin{array}{c}10 \\ k\end{array}\right)$ ways to obtain exactly $k$ heads, so the probability of finishing on the square labeled $2 k-10$ equals $\left(\begin{array}{c}10 \\ k\end{array}\right) / 1024$. + +The probability of landing on a red square equals $c / 1024$ where $c$ is the sum of a selection of the numbers from the list + +$$ +\left(\begin{array}{c} +10 \\ +0 +\end{array}\right),\left(\begin{array}{c} +10 \\ +1 +\end{array}\right),\left(\begin{array}{c} +10 \\ +2 +\end{array}\right), \ldots,\left(\begin{array}{c} +10 \\ +10 +\end{array}\right)=1,10,45,120,210,252,210,120,45,10,1 +$$ + +We are given that for some integers $a, b$ satisfying $a+b=2001$, + +$$ +a / b=c / 1024 +$$ + +If we assume (as most contestants did!) that $a$ and $b$ are relatively prime, then the solution proceeds as follows. Since $0 \leq a / b \leq 1$ and $a+b=2001$, we have $1001 \leq b \leq 2001$. Also $b$ divides 1024 , so we have $b=1024$. Thus $a=c=2001-1024=977$. There is only one way to select terms from (1) so that the sum equals 977. + +$$ +977=10+10+45+120+120+210+210+252 . +$$ + +(This is easy to check, since the remaining terms in (1) must add to $1024-977=47$, and $47=45+1+1$ is the only possibility for this.) + +In order to maximize $n$, we must colour the strip as follows. Odd numbered squares are red if positive, and white if negative. Since $252=\left(\begin{array}{c}10 \\ 5\end{array}\right)$ is in the sum, the square labeled $2 \cdot 5-10=0$ is red. For $k=0,1,2,3,4$, if $\left(\begin{array}{c}10 \\ k\end{array}\right)$ appears twice in the sum (2), then both $2 k-10$ and $10-2 k$ are coloured red. If $\left(\begin{array}{c}10 \\ k\end{array}\right)$ does not appear in the sum, then both $2 k-10$ and $10-2 k$ are coloured white. If $\left(\begin{array}{c}10 \\ k\end{array}\right)$ appears once in the sum, then $10-2 k$ is red and $2 k-10$ is white. Thus the maximum value of $n$ is obtained when the red squares are those numbered $\{1,3,5,7,9,-8,8,-4,4,-2,2,0,6\}$ giving $n=31$. + +(Alternatively) If we do not assume $a$ and $b$ are relatively prime, then there are several more possibilities to consider. The greatest common divisor of $a$ and $b$ divides $a+b=2001$, so $\operatorname{gcd}(a, b)$ is one of + +$$ +1,3,23,29,3 \cdot 23,3 \cdot 29,23 \cdot 29,3 \cdot 23 \cdot 29 +$$ + +Since $a / b=c / 1024$, dividing $b$ by $\operatorname{gcd}(a, b)$ results in a power of 2 . Thus the prime factorization of $b$ is one of the following, for some integer $k$. + +$$ +2^{k}, 3 \cdot 2^{k}, 23 \cdot 2^{k}, 29 \cdot 2^{k}, 69 \cdot 2^{k}, 87 \cdot 2^{k}, 667 \cdot 2^{k}, 2001 +$$ + +Again we have $1001 \leq b \leq 2001$, so $b$ must be one of the following numbers. + +$1024,3 \cdot 512=1536,23 \cdot 64=1472,29 \cdot 64=1856,69 \cdot 16=1104,87 \cdot 16=1392,667 \cdot 2=1334,2001$. + +Thus $a / b=(2001-b) / b$ is one of the following fractions. + +$$ +\frac{977}{1024}, \frac{465}{1536}, \frac{529}{1472}, \frac{145}{1856}, \frac{897}{1104}, \frac{609}{1392}, \frac{667}{1334}, \frac{0}{2001} +$$ + +Thus $c=1024 a / b$ is one of the following integers. + +$$ +977,310,368,80,832,448,512,0 . +$$ + +After some (rather tedious) checking, one finds that only the following sums with terms from (1) can add to a possible value of $c$. + +$$ +\begin{aligned} +977 & =10+10+45+120+120+210+210+252 \\ +310 & =10+45+45+210 \\ +512 & =10+10+120+120+252 \\ +512 & =1+1+45+45+210+210 \\ +0 & =0 . +\end{aligned} +$$ + +Again only those terms appearing exactly once in a sum can affect maximum value of $n$. We make the following table. + +| $c$ | Terms appearing once in sum | Corresponding red squares | +| :---: | :---: | :---: | +| 977 | $\{45,252\}$ | $\{6,0\}$ | +| 310 | $\{10,210\}$ | $\{8,2\}$ | +| 512 | $\{252\}$ | $\{0\}$ | +| 512 | $\emptyset$ | $\emptyset$ | +| 0 | $\emptyset$ | $\emptyset$ | + +Evidently, the maximum possible value of $n$ is obtained when $c=310=\left(\begin{array}{c}10 \\ 2\end{array}\right)+\left(\begin{array}{c}10 \\ 6\end{array}\right)+\left(\begin{array}{c}10 \\ 8\end{array}\right)+\left(\begin{array}{c}10 \\ 9\end{array}\right)$, the red squares are $\{1,3,5,7,9,-6,6,2,8\}$, the probability of landing on a red square is $a / b=465 / 1536=310 / 1024=155 / 512$, and $n=35$. + +## 3. Solution 1: (Daniel Brox) + +Set $O$ be the centre of the circumcircle of $\triangle A B C$. Let the angle bisector of $\angle B A C$ meet this circumcircle at $R$. We have + +$$ +\angle B O R=2 \angle B A R=2 \angle C A R=\angle C O R +$$ + +Thus $B R=C R$ and $R$ lies on the perpendicular bisector of $B C$. Thus $R=P$ and $A B C P$ are concyclic. The points $X, Y, M$ are the bases of the three perpendiculars dropped from $P$ onto the sides of $\triangle A B C$. Thus by Simson's rule, $X, Y, M$ are collinear. Thus we have $M=Z$ and $B Z / Z C=B M / M C=1$. + +Note: $X Y Z$ is called a Simson line, Wallace line or pedal line for $\triangle A B C$. To prove Simson's rule, we note that $B M P X$ are concyclic, as are $A Y P X$, thus + +$$ +\angle B X M=\angle B P M=90-\angle P B C=90-\angle P A C=\angle A P Y=\angle A X Y +$$ + +Solution 2: (Kenneth Ho) + +Since $\angle P A X=\angle P A Y$ and $\angle P X A=\angle P Y A=90$, triangles $\triangle P A X$ and $\triangle P A Y$ are congruent, so $A X=A Y$ and $P X=P Y$. As $P$ is on the perpendicular bisector of $B C$, we have $P C=P B$. Thus $\triangle P Y C$ and $\triangle P X B$ are congruent right triangles, which implies $C Y=B X$. Since $X, Y$ and $Z$ are collinear, we have by Menelaus' Theorem + +$$ +\frac{A Y}{Y C} \frac{C Z}{Z B} \frac{B X}{X A}=-1 +$$ + +Applying $A X=A Y$ and $C Y=B X$, this is equivalent to $B Z / Z C=1$. + +4. We shall see that the only solution is $n=2$. First we show that if $n \neq 2$, then the table $T_{0}=\left[\begin{array}{c}1 \\ n-1\end{array}\right]$ can not be changed into a table containing two zeros. For $n=1$, this is very easy to see. Suppose $n \geq 3$. For any table $T=\left[\begin{array}{l}a \\ b\end{array}\right]$, let $d(T)$ be the quantity $b-a$ $(\bmod n-1)$. We shall show that neither of the two permitted moves can change the value of $d(T)$. If we subtract $n$ from both elements in $T$, then $b-a$ does not change. If we multiply the first row by $n$, then the element $a$ changes to $n a$, for a difference of $(n-1) a$, which is congruent to $0(\bmod n-1)$. Similarly, multiplying the second row by $n$ does not change $d(T)$. Since $d\left(T_{0}\right)=(n-1)-1 \equiv-1 \quad(\bmod n-1)$, we can never obtain the table with two zeros by starting with $T_{0}$, because $0-0$ is not congruent to -1 modulo $n-1$. + +For $n=2$, and any table of positive integers, the following procedure will always result in a table of zeros. We shall begin by converting the first column into a column of zeros as follows. + +We repeatedly subtract 2 from all entries in the first column until at least one of the entries equals either 1 or 2 . Now we repeat the following sequence of three steps: + +(a) multiply by 2 all rows with 1 in the first column + +(b) now multiply by 2 every row having a 2 in the first column (there is at least one such row) + +(c) subtract 2 from all entries in the first column. + +Each iteration of the three steps decreases the sum of those entries in the first column which are greater than 2. Thus the first column eventually consists entirely of ones and twos, at which time we apply (a) and (c) once again to obtain a column of zeros. We now repeat the +above procedure for each successive column of the table. The procedure does not affect any column which has already been set to zero, so we eventually obtain a table with all entries zero. + +5. (Daniel Brox) + +Let $\angle P_{1} P_{3} P_{2}=2 \alpha$. As $\triangle P_{1} P_{2} P_{3}$ is isosceles, we have that + +$$ +t=P_{1} P_{2}=2 \sin \alpha +$$ + +The line $P_{3} P_{4}$ is the perpendicular bisector of $P_{1} P_{2}$. Since $\triangle P_{2} P_{3} P_{4}$ is isosceles, we calculate its length, + +$$ +P_{3} P_{4}=\frac{P_{2} P_{3} / 2}{\cos \alpha}=\frac{1}{2 \cos \alpha} . +$$ + +As $P_{5}$ is the circumcentre of $\triangle P_{2} P_{3} P_{4}$, we have $\angle P_{3} P_{5} P_{4}=2 \angle P_{3} P_{2} P_{4}=2 \angle P_{2} P_{3} P_{4}=2 \alpha$. The isosceles triangle $\triangle P_{3} P_{4} P_{5}$ is therefore similar to $\triangle P_{1} P_{2} P_{3}$. As $P_{3} P_{4} \perp P_{1} P_{2}$, we have $\angle P_{1} P_{3} P_{5}=90$. Furthermore, the ratio $P_{3} P_{5}: P_{1} P_{3}$ equals $r$ where + +$$ +r=\frac{P_{3} P_{4}}{P_{1} P_{2}}=\frac{1}{(2 \sin \alpha)(2 \cos \alpha)}=\frac{1}{2 \sin (2 \alpha)} +$$ + +![](https://cdn.mathpix.com/cropped/2024_04_17_8bdb6c32085bab311191g-4.jpg?height=846&width=1204&top_left_y=1141&top_left_x=466) + +By the same argument, we see that each $\angle P_{i} P_{i+2} P_{i+4}$ is a right angle with $P_{i+2} P_{i+4}: P_{i} P_{i+2}=$ $r$. Thus the points $P_{1}, P_{3}, P_{5}, \ldots$ lie on a logarithmic spiral of ratio $r$ and period four as shown below. It follows that $P_{1}, P_{5}, P_{9}, \ldots$ are collinear, proving part (a). + +![](https://cdn.mathpix.com/cropped/2024_04_17_8bdb6c32085bab311191g-5.jpg?height=705&width=867&top_left_y=198&top_left_x=626) + +By the self-similarity of the spiral, we have that $P_{1} P_{1001}=r^{500} P_{1001} P_{2001}$, so + +$$ +\sqrt[500]{x / y}=1 / r=2 \sin (2 \alpha) +$$ + +This is an integer when $\sin (2 \alpha) \in\{0, \pm 1 / 2, \pm 1\}$. Since $0<\alpha<90$, this is equivalent to $\alpha \in\{15,45,75\}$. Thus $\sqrt[500]{x / y}$ is an integer exactly when $t$ belongs to the set $\{2 \sin 15,2 \sin 45,2 \sin 75\}$. This answers part (b). + +## GRADERS' REPORT + +Eighty four of the eighty five eligible students submitted an examination paper. Each paper contained proposed solutions the some or all of the five examination questions. Each correct and well presented solution was awarded seven marks for a maximum total score of 35 . The mean score was $10.8 / 35$. The top three scores were 28,27 , and 22 , thus special scrutiny was required to separate the top two papers. + +Each solution was independently marked by two graders. If the two marks differed, then the solution was reconsidered until the difference was resolved. The top twenty papers were then carefully regraded by the chair to ensure that nothing was amiss. + +The grade distribution and average mark for each question appears in the following table. For example, $13.1 \%$ of students were awarded 3 marks for question \#1. + +| Marks | $\# 1$ | $\# 2$ | $\# 3$ | $\# 4$ | $\# 5$ | +| :---: | ---: | ---: | ---: | ---: | ---: | +| 0 | 10.7 | 11.9 | 45.2 | 60.7 | 90.5 | +| 1 | 8.3 | 8.3 | 26.2 | 10.7 | 3.6 | +| 2 | 8.3 | 6.0 | 4.8 | 8.3 | 1.2 | +| 3 | 13.1 | 9.5 | 3.6 | 9.5 | 1.2 | +| 4 | 10.7 | 17.9 | 0.0 | 4.8 | 1.2 | +| 5 | 9.5 | 32.1 | 3.6 | 2.4 | 2.4 | +| 6 | 20.2 | 13.1 | 0.0 | 1.2 | 0.0 | +| 7 | 19.0 | 1.2 | 16.7 | 2.4 | 0.0 | +| Ave. | 4.05 | 3.64 | 1.79 | 1.09 | .26 | +| Mark | | | | | | + +PROBLEM 1 Ninety five percent of students found the correct solution, although a surprising number arrived at a solution through trial and error or by guessing and verifying a solution. Many assumed without proof that the leading coefficient equals one, which resulted in a two-point penalty. Another common error was not to consider all four possibilities for the pair $(x-R),(x-2)$. + +PROBLEM 2 There was a flaw in question 2. The proposers intended that the integers $a, b$ be relatively prime. This was made explicit in an early draft, but somehow was lost with the ambiguous phrase "of the form $a / b$." Without this assumption, the problem is much more tedious to solve. Remarkably, one student (Lino Demasi) considered more (but not all) possible values for $\operatorname{gcd}(a, b)$ and obtained the correct solution $n=35$. All other students assumed implicitly (and in two cases, explicitly) that $\operatorname{gcd}(a, b)=1$. Solutions to both problems are presented in this publication. + +PROBLEM 3 Most students either completely solved or were baffled by this basic geometry problem. There were at least four types of solutions: one trigonometric, one using basic geometry, and two which refer to standard theorems relating to the triangle. The first two tended to be lengthy or cumbersome, and the last two are presented here. There were complaints from some participants regarding the inaccurate angles appearing in the diagram supplied with the question. The inaccuracy was intensional, since the key observation $M=Z$ would have otherwise been given +away. Unfortunately, this caused some students to doubt their own proofs that $B Z: Z C=1$; as the ratio appears to be closer to 2 in the misleading diagram! + +PROBLEM 4 This problem was left unanswered by about $60 \%$ of students. Several solutions consisted only of a proof that $n=1$ is not possible. About $25 \%$ described a procedure which works when $n=2$. Indeed the procedure for $n=2$ seems to be unique. About $10 \%$ proved that for no other value of $n$ was possible, and all of the proofs explicitly or implicitly involved considering residues modulo $n-1$. + +PROBLEM 5 This problem proved to be very difficult. Only two students completely answered part (a), and no students correctly answered part (b). Of the students receiving more than 0 marks, only two were were not among the top 15 This suggests that the question effectively resolved the ranking of the strongest participants, which is arguably the purpose of Problem 5. + diff --git a/CANADA_MO/md/en-sol2002.md b/CANADA_MO/md/en-sol2002.md new file mode 100644 index 0000000000000000000000000000000000000000..9fbf42aff44895f084151609e7b37a224b57e85e --- /dev/null +++ b/CANADA_MO/md/en-sol2002.md @@ -0,0 +1,274 @@ +# 2002 Canadian Mathematical Olympiad Solutions + +1. Let $S$ be a subset of $\{1,2, \ldots, 9\}$, such that the sums formed by adding each unordered pair of distinct numbers from $S$ are all different. For example, the subset $\{1,2,3,5\}$ has this property, but $\{1,2,3,4,5\}$ does not, since the pairs $\{1,4\}$ and $\{2,3\}$ have the same sum, namely 5 . + +What is the maximum number of elements that $S$ can contain? + +## Solution 1 + +It can be checked that all the sums of pairs for the set $\{1,2,3,5,8\}$ are different. + +Suppose, for a contradiction, that $S$ is a subset of $\{1, \ldots, 9\}$ containing 6 elements such that all the sums of pairs are different. Now the smallest possible sum for two numbers from $S$ is $1+2=3$ and the largest possible sum is $8+9=17$. That gives 15 possible sums: $3, \ldots, 17$. + +Also there are $\left(\begin{array}{l}6 \\ 2\end{array}\right)=15$ pairs from $S$. Thus, each of $3, \ldots, 17$ is the sum of exactly one pair. The only pair from $\{1, \ldots, 9\}$ that adds to 3 is $\{1,2\}$ and to 17 is $\{8,9\}$. Thus $1,2,8,9$ are in $S$. But then $1+9=2+8$, giving a contradiction. It follows that the maximum number of elements that $S$ can contain is 5 . + +## Solution 2. + +It can be checked that all the sums of pairs for the set $\{1,2,3,5,8\}$ are different. + +Suppose, for a contradiction, that $S$ is a subset of $\{1, \ldots 9\}$ such that all the sums of pairs are different and that $a_{1}0$ we get the original inequality. Thus we can assume, without loss of generality, that $a b c=1$. Then + +$$ +\begin{aligned} +\frac{a^{3}}{b c}+\frac{b^{3}}{c a}+\frac{c^{3}}{a b} & =a b c\left(\frac{a^{3}}{b c}+\frac{b^{3}}{c a}+\frac{c^{3}}{a b}\right) \\ +& =a^{4}+b^{4}+c^{4} . +\end{aligned} +$$ + +So we need prove that $a^{4}+b^{4}+c^{4} \geq a+b+c$. + +By the Power Mean Inequality, + +$$ +\frac{a^{4}+b^{4}+c^{4}}{3} \geq\left(\frac{a+b+c}{3}\right)^{4} +$$ + +so $a^{4}+b^{4}+c^{4} \geq(a+b+c) \cdot \frac{(a+b+c)^{3}}{27}$. + +By the arithmetic mean-geometric mean inequality, $\frac{a+b+c}{3} \geq \sqrt[3]{a b c}=1$, so $a+b+c \geq 3$. + +Hence, $a^{4}+b^{4}+c^{4} \geq(a+b+c) \cdot \frac{(a+b+c)^{3}}{27} \geq(a+b+c) \frac{3^{3}}{27}=a+b+c$. + +## Solution 3. + +Rather than using the Power-Mean inequality to prove $a^{4}+b^{4}+c^{4} \geq a+b+c$ in Proof 2, the Cauchy-Schwartz-Bunjakovsky inequality can be used twice: + +$$ +\begin{aligned} +& \left(a^{4}+b^{4}+c^{4}\right)\left(1^{2}+1^{2}+1^{2}\right) \geq\left(a^{2}+b^{2}+c^{2}\right)^{2} \\ +& \left(a^{2}+b^{2}+c^{2}\right)\left(1^{2}+1^{2}+1^{2}\right) \geq(a+b+c)^{2} +\end{aligned} +$$ + +So $\frac{a^{4}+b^{4}+c^{4}}{3} \geq \frac{\left(a^{2}+b^{2}+c^{2}\right)^{2}}{9} \geq \frac{(a+b+c)^{4}}{81}$. Continue as in Proof 2 . + +4. Let $\Gamma$ be a circle with radius $r$. Let $A$ and $B$ be distinct points on $\Gamma$ such that $A B<\sqrt{3} r$. Let the circle with centre $B$ and radius $A B$ meet $\Gamma$ again at $C$. Let $P$ be the point inside $\Gamma$ such that triangle $A B P$ is equilateral. Finally, let $C P$ meet $\Gamma$ again at $Q$. Prove that $P Q=r$. + +![](https://cdn.mathpix.com/cropped/2024_04_17_74e70b301e0241021e8cg-4.jpg?height=569&width=653&top_left_y=469&top_left_x=736) + +## Solution 1. + +Let the center of $\Gamma$ be $O$, the radius $\mathrm{r}$. Since $B P=B C$, let $\theta=\measuredangle B P C=\measuredangle B C P$. + +Quadrilateral $Q A B C$ is cyclic, so $\measuredangle B A Q=180^{\circ}-\theta$ and hence $\measuredangle P A Q=120^{\circ}-\theta$. + +Also $\measuredangle A P Q=180^{\circ}-\measuredangle A P B-\measuredangle B P C=120^{\circ}-\theta$, so $P Q=A Q$ and $\measuredangle A Q P=2 \theta-60^{\circ}$. + +Again because quadrilateral $Q A B C$ is cyclic, $\measuredangle A B C=180^{\circ}-\measuredangle A Q C=240^{\circ}-2 \theta$. + +Triangles $O A B$ and $O C B$ are congruent, since $O A=O B=O C=r$ and $A B=B C$. + +Thus $\measuredangle A B O=\measuredangle C B O=\frac{1}{2} \measuredangle A B C=120^{\circ}-\theta$. + +We have now shown that in triangles $A Q P$ and $A O B, \measuredangle P A Q=\measuredangle B A O=\measuredangle A P Q=\measuredangle A B O$. + +Also $A P=A B$, so $\triangle A Q P \cong \triangle A O B$. Hence $Q P=O B=r$. + +## Solution 2. + +Let the center of $\Gamma$ be $O$, the radius $r$. Since $A, P$ and $C$ lie on a circle centered at $B$, $60^{\circ}=\measuredangle A B P=2 \measuredangle A C P$, so $\measuredangle A C P=\measuredangle A C Q=30^{\circ}$. + +Since $Q, A$, and $C$ lie on $\Gamma, \measuredangle Q O A=2 \measuredangle Q C A=60^{\circ}$. + +So $Q A=r$ since if a chord of a circle subtends an angle of $60^{\circ}$ at the center, its length is the radius of the circle. + +Now $B P=B C$, so $\measuredangle B P C=\measuredangle B C P=\measuredangle A C B+30^{\circ}$. + +Thus $\measuredangle A P Q=180^{\circ}-\measuredangle A P B-\measuredangle B P C=90^{\circ}-\measuredangle A C B$. + +Since $Q, A, B$ and $C$ lie on $\Gamma$ and $A B=B C, \measuredangle A Q P=\measuredangle A Q C=\measuredangle A Q B+\measuredangle B Q C=2 \measuredangle A C B$. + +Finally, $\measuredangle Q A P=180-\measuredangle A Q P-\measuredangle A P Q=90-\measuredangle A C B$. + +So $\measuredangle P A Q=\measuredangle A P Q$ hence $P Q=A Q=r$. + +5. Let $\mathbb{N}=\{0,1,2, \ldots\}$. Determine all functions $f: \mathbb{N} \rightarrow \mathbb{N}$ such that + +$$ +x f(y)+y f(x)=(x+y) f\left(x^{2}+y^{2}\right) +$$ + +for all $x$ and $y$ in $\mathbb{N}$. + +## Solution 1. + +We claim that $f$ is a constant function. Suppose, for a contradiction, that there exist $x$ and $y$ with $f(x)0$ is minimal. Then + +$$ +f(x)=\frac{x f(x)+y f(x)}{x+y}<\frac{x f(y)+y f(x)}{x+y}<\frac{x f(y)+y f(y)}{x+y}=f(y) +$$ + +so $f(x)4$, let $y=n^{2}-1$. Then $y>x$ and $x^{2}+y^{2}=\left(n^{2}+1\right)^{2}$. For any odd number $x=2 n+1>3$, let $y=2(n+1) n$. Then $y>x$ and $x^{2}+y^{2}=\left((n+1)^{2}+n^{2}\right)^{2}$. Thus for every $x>4$ there is $y>x$ such that $(*)$ is satisfied. + +Suppose for a contradiction, that there is $x>4$ with $g(x)>0$. Then we can construct a + +sequence $x=x_{0}$ $\left|g\left(x_{i}\right)\right|$ and the signs of $g\left(x_{i}\right)$ alternate. Since $g(x)$ is always an integer, $\left|g\left(x_{i+1}\right)\right| \geq\left|g\left(x_{i}\right)\right|+1$. Thus for some sufficiently large value of $i, g\left(x_{i}\right)<-f(0)$, a contradiction. + +As for Proof 1, we now conclude that the functions that satisfy the given functional equation are $f(x)=c, c \in \mathbb{N}$. + +Solution 3. Suppose that $W$ is the set of nonnegative integers and that $f: W \rightarrow W$ satisfies: + +$$ +x f(y)+y f(x)=(x+y) f\left(x^{2}+y^{2}\right) . +$$ + +We will show that $f$ is a constant function. + +Let $f(0)=k$, and set $S=\{x \mid f(x)=k\}$. + +Letting $y=0$ in $(*)$ shows that $f\left(x^{2}\right)=k \quad \forall x>0$, and so + +$$ +x^{2} \in S \quad \forall x>0 +$$ + +In particular, $1 \in S$. + +Suppose $x^{2}+y^{2}=z^{2}$. Then $y f(x)+x f(y)=(x+y) f\left(z^{2}\right)=(x+y) k$. Thus, + +$$ +x \in S \quad \text { iff } \quad y \in S +$$ + +whenever $x^{2}+y^{2}$ is a perfect square. + +For a contradiction, let $n$ be the smallest non-negative integer such that $f\left(2^{n}\right) \neq k$. By (l) $n$ must be odd, so $\frac{n-1}{2}$ is an integer. Now $\frac{n-1}{2}1$ that is not a power of 2 , there exists a sequence of integers $x_{1}, x_{2}, \ldots, x_{r}$ such that the following conditions hold: +a) $x_{1}=n$. +b) $x_{i}^{2}+x_{i+1}^{2}$ is a perfect square for each $i=1,2,3, \ldots, r-1$. +c) $p\left(x_{1}\right) \geq p\left(x_{2}\right) \geq \ldots \geq p\left(x_{r}\right)=2$. + +Proof: Since $n$ is not a power of $2, p(n)=p\left(x_{1}\right) \geq 3$. Let $p\left(x_{1}\right)=2 m+1$, so $n=x_{1}=$ $b(2 m+1)^{a}$, for some $a$ and $b$, where $p(b)<2 m+1$. + +Case 1: $a=1$. Since $\left(2 m+1,2 m^{2}+2 m, 2 m^{2}+2 m+1\right)$ is a Pythagorean Triple, if $x_{2}=b\left(2 m^{2}+\right.$ $2 m)$, then $x_{1}^{2}+x_{2}^{2}=b^{2}\left(2 m^{2}+2 m+1\right)^{2}$ is a perfect square. Furthermore, $x_{2}=2 b m(m+1)$, and so $p\left(x_{2}\right)<2 m+1=p\left(x_{1}\right)$. + +Case 2: $a>1$. If $n=x_{1}=(2 m+1)^{a} \cdot b$, let $x_{2}=(2 m+1)^{a-1} \cdot b \cdot\left(2 m^{2}+2 m\right), x_{3}=$ $(2 m+1)^{a-2} \cdot b \cdot\left(2 m^{2}+2 m\right)^{2}, \ldots, x_{a+1}=(2 m+1)^{0} \cdot b \cdot\left(2 m^{2}+2 m\right)^{a}=b \cdot 2^{a} m^{a}(m+1)^{a}$. Note that for $1 \leq i \leq a, x_{i}^{2}+x_{i+1}^{2}$ is a perfect square and also note that $p\left(x_{a+1}\right)<2 m+1=p\left(x_{1}\right)$. + +If $x_{a+1}$ is not a power of 2 , we extend the sequence $x_{i}$ using the same procedure described above. We keep doing this until $p\left(x_{r}\right)=2$, for some integer $r$. + +By (2), $x_{i} \in S$ iff $x_{i+1} \in S$ for $i=1,2,3, \ldots, r-1$. Thus, $n=x_{1} \in S$ iff $x_{r} \in S$. But $x_{r}$ is a power of 2 because $p\left(x_{r}\right)=2$, and we earlier proved that powers of 2 are in $\mathrm{S}$. Therefore, $n \in S$, proving the claim. + +We have proven that every integer $n \geq 1$ is an element of $S$, and so we have proven that $f(n)=k=f(0)$, for each $n \geq 1$. Therefore, $f$ is constant, Q.E.D. + diff --git a/CANADA_MO/md/en-sol2003.md b/CANADA_MO/md/en-sol2003.md new file mode 100644 index 0000000000000000000000000000000000000000..80ab68b2b3625b2fb421034e5127a3826e5f378b --- /dev/null +++ b/CANADA_MO/md/en-sol2003.md @@ -0,0 +1,162 @@ +# Solutions to the $2003 \mathrm{CMO}$ + +written March 26, 2003 + +1. Consider a standard twelve-hour clock whose hour and minute hands move continuously. Let $m$ be an integer, with $1 \leq m \leq 720$. At precisely $m$ minutes after 12:00, the angle made by the hour hand and minute hand is exactly $1^{\circ}$. Determine all possible values of $m$. + +## Solution + +The minute hand makes a full revolution of $360^{\circ}$ every 60 minutes, so after $m$ minutes it has swept through $\frac{360}{60} m=6 m$ degrees. The hour hand makes a full revolution every 12 hours ( 720 minutes), so after $m$ minutes it has swept through $\frac{360}{720} m=m / 2$ degrees. Since both hands started in the same position at 12:00, the angle between the two hands will be $1^{\circ}$ if $6 m-m / 2= \pm 1+360 k$ for some integer $k$. Solving this equation we get + +$$ +m=\frac{720 k \pm 2}{11}=65 k+\frac{5 k \pm 2}{11} +$$ + +Since $1 \leq m \leq 720$, we have $1 \leq k \leq 11$. Since $m$ is an integer, $5 k \pm 2$ must be divisible by 11 , say $5 k \pm 2=11 q$. Then + +$$ +5 k=11 q \pm 2 \Rightarrow k=2 q+\frac{q \pm 2}{5} +$$ + +If is now clear that only $q=2$ and $q=3$ satisfy all the conditions. Thus $k=4$ or $k=7$ and substituting these values into the expression for $m$ we find that the only possible values of $m$ are 262 and 458 . + +2. Find the last three digits of the number $2003^{2002^{2001}}$. + +## Solution + +We must find the remainder when $2003^{2002^{2001}}$ is divided by 1000 , which will be the same as the remainder when $3^{2002^{2001}}$ is divided by 1000 , since $2003 \equiv 3(\bmod 1000)$. To do this we will first find a positive integer $n$ such that $3^{n} \equiv 1(\bmod 1000)$ and then try to express $2002^{2001}$ in the form $n k+r$, so that + +$$ +2003^{2002^{2001}} \equiv 3^{n k+r} \equiv\left(3^{n}\right)^{k} \cdot 3^{r} \equiv 1^{k} \cdot 3^{r} \equiv 3^{r}(\bmod 1000) +$$ + +Since $3^{2}=10-1$, we can evaluate $3^{2 m}$ using the binomial theorem: + +$$ +3^{2 m}=(10-1)^{m}=(-1)^{m}+10 m(-1)^{m-1}+100 \frac{m(m-1)}{2}(-1)^{m-2}+\cdots+10^{m} . +$$ + +After the first 3 terms of this expansion, all remaining terms are divisible by 1000, so letting $m=2 q$, we have that + +$$ +3^{4 q} \equiv 1-20 q+100 q(2 q-1)(\bmod 1000) +$$ + +Using this, we can check that $3^{100} \equiv 1(\bmod 1000)$ and now we wish to find the remainder when $2002^{2001}$ is divided by 100 . + +Now $2002^{2001} \equiv 2^{2001}(\bmod 100) \equiv 4 \cdot 2^{1999}(\bmod 4 \cdot 25)$, so we'll investigate powers of 2 modulo 25 . Noting that $2^{10}=1024 \equiv-1(\bmod 25)$, we have + +$$ +2^{1999}=\left(2^{10}\right)^{199} \cdot 2^{9} \equiv(-1)^{199} \cdot 512 \equiv-12 \equiv 13(\bmod 25) . +$$ + +Thus $2^{2001} \equiv 4 \cdot 13=52(\bmod 100)$. Therefore $2002^{2001}$ can be written in the form $100 k+52$ for some integer $k$, so + +$$ +2003^{2002^{2001}} \equiv 3^{52}(\bmod 1000) \equiv 1-20 \cdot 13+1300 \cdot 25 \equiv 241(\bmod 1000) +$$ + +using equation (1). So the last 3 digits of $2003^{2002^{2001}}$ are 241 . + +3. Find all real positive solutions (if any) to + +$$ +\begin{gathered} +x^{3}+y^{3}+z^{3}=x+y+z, \text { and } \\ +x^{2}+y^{2}+z^{2}=x y z . +\end{gathered} +$$ + +## Solution 1 + +Let $f(x, y, z)=\left(x^{3}-x\right)+\left(y^{3}-y\right)+\left(z^{3}-z\right)$. The first equation above is equivalent to $f(x, y, z)=0$. If $x, y, z \geq 1$, then $f(x, y, z) \geq 0$ with equality only if $x=y=z=1$. But if $x=y=z=1$, then the second equation is not satisfied. So in any solution to the system of equations, at least one of the variables is less than 1. Without loss of generality, suppose that $x<1$. Then + +$$ +x^{2}+y^{2}+z^{2}>y^{2}+z^{2} \geq 2 y z>y z>x y z . +$$ + +Therefore the system has no real positive solutions. + +## Solution 2 + +We will show that the system has no real positive solution. Assume otherwise. + +The second equation can be written $x^{2}-(y z) x+\left(y^{2}+z^{2}\right)$. Since this quadratic in $x$ has a real solution by hypothesis, its discrimant is nonnegative. Hence + +$$ +y^{2} z^{2}-4 y^{2}-4 z^{2} \geq 0 +$$ + +Dividing through by $4 y^{2} z^{2}$ yields + +$$ +\frac{1}{4} \geq \frac{1}{y^{2}}+\frac{1}{z^{2}} \geq \frac{1}{y^{2}} +$$ + +Hence $y^{2} \geq 4$ and so $y \geq 2, y$ being positive. A similar argument yields $x, y, z \geq 2$. But the first equation can be written as + +$$ +x\left(x^{2}-1\right)+y\left(y^{2}-1\right)+z\left(z^{2}-1\right)=0 +$$ + +contradicting $x, y, z \geq 2$. Hence, a real positive solution cannot exist. + +## Solution 3 + +Applying the arithmetic-geometric mean inequality and the Power Mean Inequalities to $x, y, z$ we have + +$$ +\sqrt[3]{x y z} \leq \frac{x+y+z}{3} \leq \sqrt{\frac{x^{2}+y^{2}+z^{2}}{3}} \leq \sqrt[3]{\frac{x^{3}+y^{3}+z^{3}}{3}} +$$ + +Letting $S=x+y+z=x^{3}+y^{3}+z^{3}$ and $P=x y z=x^{2}+y^{2}+z^{2}$, this inequality can be written + +$$ +\sqrt[3]{P} \leq \frac{S}{3} \leq \sqrt{\frac{P}{3}} \leq \sqrt[3]{\frac{S}{3}} +$$ + +Now $\sqrt[3]{P} \leq \sqrt{\frac{P}{3}}$ implies $P^{2} \leq P^{3} / 27$, so $P \geq 27$. Also $\frac{S}{3} \leq \sqrt[3]{\frac{S}{3}}$ implies $S^{3} / 27 \leq S / 3$, + +so $S \leq 3$. But then $\sqrt[3]{P} \geq 3$ and $\sqrt[3]{\frac{S}{3}} \leq 1$ which is inconsistent with $\sqrt[3]{P} \leq \sqrt[3]{\frac{S}{3}}$. Therefore the system cannot have a real positive solution. + +4. Prove that when three circles share the same chord $A B$, every line through $A$ different from $A B$ determines the same ratio $X Y: Y Z$, where $X$ is an arbitrary point different from $B$ on the first circle while $Y$ and $Z$ are the points where $A X$ intersects the other two circles (labelled so that $Y$ is between $X$ and $Z$ ). + +![](https://cdn.mathpix.com/cropped/2024_04_17_d527ff6f359cb5b23bf5g-5.jpg?height=556&width=962&top_left_y=584&top_left_x=706) + +## Solution 1 + +Let $l$ be a line through $A$ different from $A B$ and join $B$ to $A, X, Y$ and $Z$ as in the above diagram. No matter how $l$ is chosen, the angles $A X B, A Y B$ and $A Z B$ always subtend the chord $A B$. For this reason the angles in the triangles $B X Y$ and $B X Z$ are the same for all such $l$. Thus the ratio $X Y: Y Z$ remains constant by similar triangles. + +Note that this is true no matter how $X, Y$ and $Z$ lie in relation to $A$. Suppose $X, Y$ and $Z$ all lie on the same side of $A$ (as in the diagram) and that $\measuredangle A X B=\alpha, \measuredangle A Y B=\beta$ and $\measuredangle A Z B=\gamma$. Then $\measuredangle B X Y=180^{\circ}-\alpha, \measuredangle B Y X=\beta, \measuredangle B Y Z=180^{\circ}-\beta$ and $\measuredangle B Z Y=\gamma$. Now suppose $l$ is chosen so that $X$ is now on the opposite side of $A$ from $Y$ and $Z$. Now since $X$ is on the other side of the chord $A B, \measuredangle A X B=180^{\circ}-\alpha$, but it is still the case that $\measuredangle B X Y=180^{\circ}-\alpha$ and all other angles in the two pertinent triangles remain unchanged. If $l$ is chosen so that $X$ is identical with $A$, then $l$ is tangent to the first circle and it is still the case that $\measuredangle B X Y=180^{\circ}-\alpha$. All other cases can be checked in a similar manner. + +![](https://cdn.mathpix.com/cropped/2024_04_17_d527ff6f359cb5b23bf5g-6.jpg?height=556&width=962&top_left_y=329&top_left_x=706) + +## Solution 2 + +Let $m$ be the perpendicular bisector of $A B$ and let $O_{1}, O_{2}, O_{3}$ be the centres of the three circles. Since $A B$ is a chord common to all three circles, $O_{1}, O_{2}, O_{3}$ all lie on $m$. Let $l$ be a line through $A$ different from $A B$ and suppose that $X, Y, Z$ all lie on the same side of $A B$, as in the above diagram. Let perpendiculars from $O_{1}, O_{2}, O_{3}$ meet $l$ at $P, Q, R$, respectively. Since a line through the centre of a circle bisects any chord, + +$$ +A X=2 A P, \quad A Y=2 A Q \quad \text { and } \quad A Z=2 A R +$$ + +Now + +$$ +X Y=A Y-A X=2(A Q-A P)=2 P Q \quad \text { and, similarly, } \quad Y Z=2 Q R \text {. } +$$ + +Therefore $X Y: Y Z=P Q: Q R$. But $O_{1} P\left\|O_{2} Q\right\| O_{3} R$, so $P Q: Q R=O_{1} O_{2}: O_{2} O_{3}$. Since the centres of the circles are fixed, the ratio $X Y: Y Z=O_{1} O_{2}: O_{2} O_{3}$ does not depend on the choice of $l$. + +If $X, Y, Z$ do not all lie on the same side of $A B$, we can obtain the same result with a similar proof. For instance, if $X$ and $Y$ are opposite sides of $A B$, then we will have $X Y=A Y+A X$, but since in this case $P Q=A Q+A P$, it is still the case that $X Y=2 P Q$ and result still follows, etc. + +5. Let $S$ be a set of $n$ points in the plane such that any two points of $S$ are at least 1 unit apart. Prove there is a subset $T$ of $S$ with at least $n / 7$ points such that any two points of $T$ are at least $\sqrt{3}$ units apart. + +## Solution + +We will construct the set $T$ in the following way: Assume the points of $S$ are in the $x y$-plane and let $P$ be a point in $S$ with maximum $y$-coordinate. This point $P$ will be a member of the set $T$ and now, from $S$, we will remove $P$ and all points in $S$ which are less than $\sqrt{3}$ units from $P$. From the remaining points we choose one with maximum $y$-coordinate to be a member of $T$ and remove from $S$ all points at distance less than $\sqrt{3}$ units from this new point. We continue in this way, until all the points of $S$ are exhausted. Clearly any two points in $T$ are at least $\sqrt{3}$ units apart. To show that $T$ has at least $n / 7$ points, we must prove that at each stage no more than 6 other points are removed along with $P$. + +At a typical stage in this process, we've selected a point $P$ with maximum $y$-coordinate, so any points at distance less than $\sqrt{3}$ from $P$ must lie inside the semicircular region of radius $\sqrt{3}$ centred at $P$ shown in the first diagram below. Since points of $S$ are at least 1 unit apart, these points must lie outside (or on) the semicircle of radius 1. (So they lie in the shaded region of the first diagram.) Now divide this shaded region into 6 congruent regions $R_{1}, R_{2}, \ldots, R_{6}$ as shown in this diagram. + +We will show that each of these regions contains at most one point of $S$. Since all 6 regions are congruent, consider one of them as depicted in the second diagram below. The distance between any two points in this shaded region must be less than the length of the line segment $A B$. The lengths of $P A$ and $P B$ are $\sqrt{3}$ and 1 , respectively, and angle $A P B=30^{\circ}$. If we construct a perpendicular from $B$ to $P A$ at $C$, then the length of $P C$ is $\cos 30^{\circ}=\sqrt{3} / 2$. Thus $B C$ is a perpendicular bisector of $P A$ and therefore $A B=P B=1$. So the distance between any two points in this region is less than 1. Therefore each of $R_{1}, \ldots, R_{6}$ can contain at most one point of $S$, which completes the proof. +![](https://cdn.mathpix.com/cropped/2024_04_17_d527ff6f359cb5b23bf5g-7.jpg?height=364&width=1184&top_left_y=1910&top_left_x=511) + diff --git a/CANADA_MO/md/en-sol2004.md b/CANADA_MO/md/en-sol2004.md new file mode 100644 index 0000000000000000000000000000000000000000..76c7985587439a2947795cea7a31588d4e3e8a58 --- /dev/null +++ b/CANADA_MO/md/en-sol2004.md @@ -0,0 +1,179 @@ +# Solutions to the $2004 \mathrm{CMO}$ + +written March 31, 2004 + +1. Find all ordered triples $(x, y, z)$ of real numbers which satisfy the following system of equations: + +$$ +\left\{\begin{array}{l} +x y=z-x-y \\ +x z=y-x-z \\ +y z=x-y-z +\end{array}\right. +$$ + +## Solution 1 + +Subtracting the second equation from the first gives $x y-x z=2 z-2 y$. Factoring $y-z$ from each side and rearranging gives + +$$ +(x+2)(y-z)=0 +$$ + +so either $x=-2$ or $z=y$. + +If $x=-2$, the first equation becomes $-2 y=z+2-y$, or $y+z=-2$. Substituting $x=-2, y+z=-2$ into the third equation gives $y z=-2-(-2)=0$. Hence either $y$ or $z$ is 0 , so if $x=-2$, the only solutions are $(-2,0,-2)$ and $(-2,-2,0)$. + +If $z=y$ the first equation becomes $x y=-x$, or $x(y+1)=0$. If $x=0$ and $z=y$, the third equation becomes $y^{2}=-2 y$ which gives $y=0$ or $y=-2$. If $y=-1$ and $z=y=-1$, the third equation gives $x=-1$. So if $y=z$, the only solutions are $(0,0,0),(0,-2,-2)$ and $(-1,-1,-1)$. + +In summary, there are 5 solutions: $(-2,0,-2),(-2,-2,0),(0,0,0),(0,-2,-2)$ and $(-1,-1,-1)$. + +## Solution 2 + +Adding $x$ to both sides of the first equation gives + +$$ +x(y+1)=z-y=(z+1)-(y+1) \Rightarrow(x+1)(y+1)=z+1 . +$$ + +Similarly manipulating the other two equations and letting $a=x+1, b=y+1$, $c=z+1$, we can write the system in the following way. + +$$ +\left\{\begin{array}{l} +a b=c \\ +a c=b \\ +b c=a +\end{array}\right. +$$ + +If any one of $a, b, c$ is 0 , then it's clear that all three are 0 . So $(a, b, c)=(0,0,0)$ is one solution and now suppose that $a, b, c$ are all nonzero. Substituting $c=a b$ into the second and third equations gives $a^{2} b=b$ and $b^{2} a=a$, respectively. Hence $a^{2}=1$, $b^{2}=1$ (since $a, b$ nonzero). This gives 4 more solutions: $(a, b, c)=(1,1,1),(1,-1,-1)$, $(-1,1,-1)$ or $(-1,-1,1)$. Reexpressing in terms of $x, y, z$, we obtain the 5 ordered triples listed in Solution 1. + +2. How many ways can 8 mutually non-attacking rooks be placed on the $9 \times 9$ chessboard (shown here) so that all 8 rooks are on squares of the same colour? + +[Two rooks are said to be attacking each other if they are placed in the same row or column of the board.] + +## Solution 1 + +We will first count the number of ways of placing 8 mutually non-attacking rooks on black squares and then count the number of ways of placing them on white squares. Suppose that the rows of the board have been numbered 1 to 9 from top to bottom. + +First notice that a rook placed on a black square in an odd numbered row cannot attack a rook on a black square in an even numbered row. This effectively partitions the black squares into a $5 \times 5$ board and a $4 \times 4$ board (squares labelled $O$ and $E$ respectively, in the diagram at right) and rooks can be placed independently on these two boards. There are 5 ! ways to place 5 non-attacking rooks on the squares labelled $O$ and 4 ! ways to + +![](https://cdn.mathpix.com/cropped/2024_04_17_67fc3a6a86c4932c5e38g-2.jpg?height=328&width=327&top_left_y=912&top_left_x=1517) +place 4 non-attacking rooks on the squares labelled $E$. + +This gives 5!4! ways to place 9 mutually non-attacking rooks on black squares and removing any one of these 9 rooks gives one of the desired configurations. Thus there are $9 \cdot 5 ! 4$ ! ways to place 8 mutually non-attacking rooks on black squares. + +Using very similar reasoning we can partition the white squares as shown in the diagram at right. The white squares are partitioned into two $5 \times 4$ boards such that no rook on a square marked $O$ can attack a rook on a square mark $E$. At most 4 non-attacking rooks can be placed on a $5 \times 4$ board and they can be placed in $5 \cdot 4 \cdot 3 \cdot 2=5$ ! ways. Thus there are $(5 !)^{2}$ ways to place 8 mutually non-attacking rooks on white squares. + +![](https://cdn.mathpix.com/cropped/2024_04_17_67fc3a6a86c4932c5e38g-2.jpg?height=331&width=331&top_left_y=1493&top_left_x=1515) + +In total there are $9 \cdot 5 ! 4 !+(5 !)^{2}=(9+5) 5 ! 4 !=14 \cdot 5 ! 4 !=40320$ ways to place 8 mutually non-attacking rooks on squares of the same colour. + +## Solution 2 + +Consider rooks on black squares first. We have 8 rooks and 9 rows, so exactly one row will be without rooks. There are two cases: either the empty row has 5 black squares or it has 4 black squares. By permutation these rows can be made either last or second last. In each case we'll count the possible number of ways of placing the rooks on the board as we proceed row by row. + +In the first case we have 5 choices for the empty row, then we can place a rook on any of the black squares in row 1 ( 5 possibilities) and any of the black squares in row 2 (4 possibilities). When we attempt to place a rook in row 3, we must avoid the column containing the rook that was placed in row 1 , so we have 4 possibilities. Using similar reasoning, we can place the rook on any of 3 possible black squares in row 4 , etc. The total number of possibilities for the first case is $5 \cdot 5 \cdot 4 \cdot 4 \cdot 3 \cdot 3 \cdot 2 \cdot 2 \cdot 1=(5 !)^{2}$. In the second case, we have 4 choices for the empty row (but assume it's the second last row). We now place rooks as before and using similar logic, we get that the total number of possibilities for the second case is $4 \cdot 5 \cdot 4 \cdot 4 \cdot 3 \cdot 3 \cdot 2 \cdot 1 \cdot 1=4(5 ! 4 !)$. + +Now, do the same for the white squares. If a row with 4 white squares is empty ( 5 ways to choose it), then the total number of possibilities is $(5 !)^{2}$. It's impossible to have a row with 5 white squares empty, so the total number of ways to place rooks is + +$$ +(5 !)^{2}+4(5 ! 4 !)+(5 !)^{2}=(5+4+5) 5 ! 4 !=14(5 ! 4 !) +$$ + +3. Let $A, B, C, D$ be four points on a circle (occurring in clockwise order), with $A BC D$. Let the bisector of angle $B A D$ meet the circle at $X$ and the bisector of angle $B C D$ meet the circle at $Y$. Consider the hexagon formed by these six points on the circle. If four of the six sides of the hexagon have equal length, prove that $B D$ must be a diameter of the circle. + +![](https://cdn.mathpix.com/cropped/2024_04_17_67fc3a6a86c4932c5e38g-4.jpg?height=569&width=640&top_left_y=645&top_left_x=794) + +## Solution 1 + +We're given that $A BY A, D Y>A B$. Similar reasoning confirms that $X$ lies between $B$ and $C$ and $B X>X C, B X>C D$. So if $A B X C D Y$ has 4 equal sides, then it must be that $Y A=A B=X C=C D$. + +Let $\measuredangle B A X=\measuredangle D A X=\alpha$ and let $\measuredangle B C Y=\measuredangle D C Y=\gamma$. Since $A B C D$ is cyclic, $\measuredangle A+\measuredangle C=180^{\circ}$, which implies that $\alpha+\gamma=90^{\circ}$. The fact that $Y A=A B=X C=C D$ means that the arc from $Y$ to $B$ (which is subtended by $\measuredangle Y C B$ ) is equal to the arc from $X$ to $D$ (which is subtended by $\measuredangle X A D$ ). Hence $\measuredangle Y C B=\measuredangle X A D$, so $\alpha=\gamma=45^{\circ}$. Finally, $B D$ is subtended by $\measuredangle B A D=2 \alpha=90^{\circ}$. Therefore $B D$ is a diameter of the circle. + +## Solution 2 + +We're given that $A BY A, D Y>A B$. Similar reasoning confirms that $X$ lies between $B$ and $C$ and $B X>X C, B X>C D$. So if $A B X C D Y$ has 4 equal sides, then it must be that $Y A=A B=X C=C D$. This implies that the arc from $Y$ to $B$ is equal to the arc from $X$ to $D$ and hence that $Y B=X D$. Since $\measuredangle B A X=\measuredangle X A D, B X=X D$ and since $\measuredangle D C Y=\measuredangle Y C B$, $D Y=Y B$. Therefore $B X D Y$ is a square and its diagonal, $B D$, must be a diameter of the circle. + +4. Let $p$ be an odd prime. Prove that + +$$ +\sum_{k=1}^{p-1} k^{2 p-1} \equiv \frac{p(p+1)}{2} \quad\left(\bmod p^{2}\right) +$$ + +[Note that $a \equiv b(\bmod m)$ means that $a-b$ is divisible by $m$.] + +## Solution + +Since $p-1$ is even, we can pair up the terms in the summation in the following way (first term with last, 2nd term with 2nd last, etc.): + +$$ +\sum_{k=1}^{p-1} k^{2 p-1}=\sum_{k=1}^{\frac{p-1}{2}}\left(k^{2 p-1}+(p-k)^{2 p-1}\right) +$$ + +Expanding $(p-k)^{2 p-1}$ with the binomial theorem, we get + +$$ +(p-k)^{2 p-1}=p^{2 p-1}-\cdots-\left(\begin{array}{c} +2 p-1 \\ +2 +\end{array}\right) p^{2} k^{2 p-3}+\left(\begin{array}{c} +2 p-1 \\ +1 +\end{array}\right) p k^{2 p-2}-k^{2 p-1}, +$$ + +where every term on the right-hand side is divisible by $p^{2}$ except the last two. Therefore + +$$ +k^{2 p-1}+(p-k)^{2 p-1} \equiv k^{2 p-1}+\left(\begin{array}{c} +2 p-1 \\ +1 +\end{array}\right) p k^{2 p-2}-k^{2 p-1} \equiv(2 p-1) p k^{2 p-2}\left(\bmod p^{2}\right) +$$ + +For $1 \leq ka_{2}$, then $u_{1}$ is a multiple of $u_{2}$ and if $a_{1}8$. + +b) Prove that there does not exist any integer $n$ for which we can find a Pythagorean triple $(a, b, c)$ satisfying $(c / a+c / b)^{2}=n$. + +## a) Solution 1 + +Let $(a, b, c)$ be a Pythagorean triple. View $a, b$ as lengths of the legs of a right angled triangle with hypotenuse of length $c$; let $\theta$ be the angle determined by the sides with lengths $a$ and $c$. Then + +$$ +\begin{aligned} +\left(\frac{c}{a}+\frac{c}{b}\right)^{2} & =\left(\frac{1}{\cos \theta}+\frac{1}{\sin \theta}\right)^{2}=\frac{\sin ^{2} \theta+\cos ^{2} \theta+2 \sin \theta \cos \theta}{(\sin \theta \cos \theta)^{2}} \\ +& =4\left(\frac{1+\sin 2 \theta}{\sin ^{2} 2 \theta}\right)=\frac{4}{\sin ^{2} 2 \theta}+\frac{4}{\sin 2 \theta} +\end{aligned} +$$ + +Note that because $0<\theta<90^{\circ}$, we have $0<\sin 2 \theta \leq 1$, with equality only if $\theta=45^{\circ}$. But then $a=b$ and we obtain $\sqrt{2}=c / a$, contradicting $a, c$ both being integers. Thus, $0<\sin 2 \theta<1$ which gives $(c / a+c / b)^{2}>8$. + +## Solution 2 + +Defining $\theta$ as in Solution 1, we have $c / a+c / b=\sec \theta+\csc \theta$. By the AM-GM inequality, we have $(\sec \theta+\csc \theta) / 2 \geq \sqrt{\sec \theta \csc \theta}$. So + +$$ +c / a+c / b \geq \frac{2}{\sqrt{\sin \theta \cos \theta}}=\frac{2 \sqrt{2}}{\sqrt{\sin 2 \theta}} \geq 2 \sqrt{2} +$$ + +Since $a, b, c$ are integers, we have $c / a+c / b>2 \sqrt{2}$ which gives $(c / a+c / b)^{2}>8$. + +## Solution 3 + +By simplifying and using the AM-GM inequality, + +$$ +\left(\frac{c}{a}+\frac{c}{b}\right)^{2}=c^{2}\left(\frac{a+b}{a b}\right)^{2}=\frac{\left(a^{2}+b^{2}\right)(a+b)^{2}}{a^{2} b^{2}} \geq \frac{2 \sqrt{a^{2} b^{2}}(2 \sqrt{a b})^{2}}{a^{2} b^{2}}=8 +$$ + +with equality only if $a=b$. By using the same argument as in Solution $1, a$ cannot equal $b$ and the inequality is strict. + +## Solution 4 + +$$ +\begin{aligned} +\left(\frac{c}{a}+\frac{c}{b}\right)^{2} & =\frac{c^{2}}{a^{2}}+\frac{c^{2}}{b^{2}}+\frac{2 c^{2}}{a b}=1+\frac{b^{2}}{a^{2}}+\frac{a^{2}}{b^{2}}+1+\frac{2\left(a^{2}+b^{2}\right)}{a b} \\ +& =2+\left(\frac{a}{b}-\frac{b}{a}\right)^{2}+2+\frac{2}{a b}\left((a-b)^{2}+2 a b\right) \\ +& =4+\left(\frac{a}{b}-\frac{b}{a}\right)^{2}+\frac{2(a-b)^{2}}{a b}+4 \geq 8, +\end{aligned} +$$ + +with equality only if $a=b$, which (as argued previously) cannot occur. + +## b) Solution 1 + +Since $c / a+c / b$ is rational, $(c / a+c / b)^{2}$ can only be an integer if $c / a+c / b$ is an integer. Suppose $c / a+c / b=m$. We may assume that $\operatorname{gcd}(a, b)=1$. (If not, divide the common factor from $(a, b, c)$, leaving $m$ unchanged.) + +Since $c(a+b)=m a b$ and $\operatorname{gcd}(a, a+b)=1$, $a$ must divide $c$, say $c=a k$. This gives $a^{2}+b^{2}=a^{2} k^{2}$ which implies $b^{2}=\left(k^{2}-1\right) a^{2}$. But then $a$ divides $b$ contradicting the fact that $\operatorname{gcd}(a, b)=1$. Therefore $(c / a+c / b)^{2}$ is not equal to any integer $n$. + +## Solution 2 + +We begin as in Solution 1, supposing that $c / a+c / b=m$ with $\operatorname{gcd}(a, b)=1$. Hence $a$ and $b$ are not both even. It is also the case that $a$ and $b$ are not both odd, for then $c^{2}=a^{2}+b^{2} \equiv 2(\bmod 4)$, and perfect squares are congruent to either 0 or 1 modulo 4. So one of $a, b$ is odd and the other is even. Therefore $c$ must be odd. + +Now $c / a+c / b=m$ implies $c(a+b)=m a b$, which cannot be true because $c(a+b)$ is odd and mab is even. + +3. Let $S$ be a set of $n \geq 3$ points in the interior of a circle. + +a) Show that there are three distinct points $a, b, c \in S$ and three distinct points $A, B, C$ on the circle such that $a$ is (strictly) closer to $A$ than any other point in $S, b$ is closer to $B$ than any other point in $S$ and $c$ is closer to $C$ than any other point in $S$. + +b) Show that for no value of $n$ can four such points in $S$ (and corresponding points on the circle) be guaranteed. + +## Solution 1 + +a) Let $H$ be the smallest convex set of points in the plane which contains $S . \dagger$ Take 3 points $a, b, c \in S$ which lie on the boundary of $H$. (There must always be at least 3 (but not necessarily 4) such points.) + +Since $a$ lies on the boundary of the convex region $H$, we can construct a chord $L$ such that no two points of $H$ lie on opposite sides of $L$. Of the two points where the perpendicular to $L$ at $a$ meets the circle, choose one which is on a side of $L$ not containing any points of $H$ and call this point $A$. Certainly $A$ is closer to $a$ than to any other point on $L$ or on the other side of $L$. Hence $A$ is closer to $a$ than to any other point of $S$. We can find the required points $B$ and $C$ in an analogous way and the proof is complete. + +[Note that this argument still holds if all the points of $S$ lie on a line.] + +![](https://cdn.mathpix.com/cropped/2024_04_17_af19c08dc8a5848f069fg-4.jpg?height=428&width=433&top_left_y=1434&top_left_x=629) + +(a) + +![](https://cdn.mathpix.com/cropped/2024_04_17_af19c08dc8a5848f069fg-4.jpg?height=458&width=436&top_left_y=1403&top_left_x=1251) + +(b) + +b) Let $P Q R$ be an equilateral triangle inscribed in the circle and let $a, b, c$ be midpoints of the three sides of $\triangle P Q R$. If $r$ is the radius of the circle, then every point on the circle is within $(\sqrt{3} / 2) r$ of one of $a, b$ or $c$. (See figure (b) above.) Now $\sqrt{3} / 2<9 / 10$, so if $S$ consists of $a, b, c$ and a cluster of points within $r / 10$ of the centre of the circle, then we cannot select 4 points from $S$ (and corresponding points on the circle) having the desired property.[^0] + +## Solution 2 + +a) If all the points of $S$ lie on a line $L$, then choose any 3 of them to be $a, b, c$. Let $A$ be a point on the circle which meets the perpendicular to $L$ at $a$. Clearly $A$ is closer to $a$ than to any other point on $L$, and hence closer than other other point in $S$. We find $B$ and $C$ in an analogous way. + +Otherwise, choose $a, b, c$ from $S$ so that the triangle formed by these points has maximal area. Construct the altitude from the side $b c$ to the point $a$ and extend this line until it meets the circle at $A$. We claim that $A$ is closer to $a$ than to any other point in $S$. + +Suppose not. Let $x$ be a point in $S$ for which the distance from $A$ to $x$ is less than the distance from $A$ to $a$. Then the perpendicular distance from $x$ to the line $b c$ must be greater than the perpendicular distance from $a$ to the line $b c$. But then the triangle formed by the points $x, b, c$ has greater area than the triangle formed by $a, b, c$, contradicting the original choice of these 3 points. Therefore $A$ is closer to $a$ than to any other point in $S$. + +The points $B$ and $C$ are found by constructing similar altitudes through $b$ and $c$, respectively. + +b) See Solution 1. + +4. Let $A B C$ be a triangle with circumradius $R$, perimeter $P$ and area $K$. Determine the maximum value of $K P / R^{3}$. + +## Solution 1 + +Since similar triangles give the same value of $K P / R^{3}$, we can fix $R=1$ and maximize $K P$ over all triangles inscribed in the unit circle. Fix points $A$ and $B$ on the unit circle. The locus of points $C$ with a given perimeter $P$ is an ellipse that meets the circle in at most four points. The area $K$ is maximized (for a fixed $P$ ) when $C$ is chosen on the perpendicular bisector of $A B$, so we get a maximum value for $K P$ if $C$ is where the perpendicular bisector of $A B$ meets the circle. Thus the maximum value of $K P$ for a given $A B$ occurs when $A B C$ is an isosceles triangle. Repeating this argument with $B C$ fixed, we have that the maximum occurs when $A B C$ is an equilateral triangle. + +Consider an equilateral triangle with side length $a$. It has $P=3 a$. It has height equal to $a \sqrt{3} / 2$ giving $K=a^{2} \sqrt{3} / 4$. ¿From the extended law of sines, $2 R=a / \sin (60)$ giving $R=a / \sqrt{3}$. Therefore the maximum value we seek is + +$$ +K P / R^{3}=\left(\frac{a^{2} \sqrt{3}}{4}\right)(3 a)\left(\frac{\sqrt{3}}{a}\right)^{3}=\frac{27}{4} . +$$ + +## Solution 2 + +From the extended law of sines, the lengths of the sides of the triangle are $2 R \sin A$, $2 R \sin B$ and $2 R \sin C$. So + +$$ +P=2 R(\sin A+\sin B+\sin C) \text { and } K=\frac{1}{2}(2 R \sin A)(2 R \sin B)(\sin C), +$$ + +giving + +$$ +\frac{K P}{R^{3}}=4 \sin A \sin B \sin C(\sin A+\sin B+\sin C) +$$ + +We wish to find the maximum value of this expression over all $A+B+C=180^{\circ}$. Using well-known identities for sums and products of sine functions, we can write + +$$ +\frac{K P}{R^{3}}=4 \sin A\left(\frac{\cos (B-C)}{2}-\frac{\cos (B+C)}{2}\right)\left(\sin A+2 \sin \left(\frac{B+C}{2}\right) \cos \left(\frac{B-C}{2}\right)\right) . +$$ + +If we first consider $A$ to be fixed, then $B+C$ is fixed also and this expression takes its maximum value when $\cos (B-C)$ and $\cos \left(\frac{B-C}{2}\right)$ equal 1 ; i.e. when $B=C$. In a similar way, one can show that for any fixed value of $B, K P / R^{3}$ is maximized when $A=C$. Therefore the maximum value of $K P / R^{3}$ occurs when $A=B=C=60^{\circ}$, and it is now an easy task to substitute this into the above expression to obtain the maximum value of $27 / 4$. + +## Solution 3 + +As in Solution 2, we obtain + +$$ +\frac{K P}{R^{3}}=4 \sin A \sin B \sin C(\sin A+\sin B+\sin C) +$$ + +From the AM-GM inequality, we have + +$$ +\sin A \sin B \sin C \leq\left(\frac{\sin A+\sin B+\sin C}{3}\right)^{3}, +$$ + +giving + +$$ +\frac{K P}{R^{3}} \leq \frac{4}{27}(\sin A+\sin B+\sin C)^{4} +$$ + +with equality when $\sin A=\sin B=\sin C$. Since the sine function is concave on the interval from 0 to $\pi$, Jensen's inequality gives + +$$ +\frac{\sin A+\sin B+\sin C}{3} \leq \sin \left(\frac{A+B+C}{3}\right)=\sin \frac{\pi}{3}=\frac{\sqrt{3}}{2} . +$$ + +Since equality occurs here when $\sin A=\sin B=\sin C$ also, we can conclude that the maximum value of $K P / R^{3}$ is $\frac{4}{27}\left(\frac{3 \sqrt{3}}{2}\right)^{4}=27 / 4$. + +5. Let's say that an ordered triple of positive integers $(a, b, c)$ is $n$-powerful if $a \leq b \leq c$, $\operatorname{gcd}(a, b, c)=1$, and $a^{n}+b^{n}+c^{n}$ is divisible by $a+b+c$. For example, $(1,2,2)$ is 5 -powerful. + +a) Determine all ordered triples (if any) which are $n$-powerful for all $n \geq 1$. + +b) Determine all ordered triples (if any) which are 2004-powerful and 2005-powerful, but not 2007-powerful. + +[Note that $\operatorname{gcd}(a, b, c)$ is the greatest common divisor of $a, b$ and $c$.] + +## Solution 1 + +Let $T_{n}=a^{n}+b^{n}+c^{n}$ and consider the polynomial + +$$ +P(x)=(x-a)(x-b)(x-c)=x^{3}-(a+b+c) x^{2}+(a b+a c+b c) x-a b c . +$$ + +Since $P(a)=0$, we get $a^{3}=(a+b+c) a^{2}-(a b+a c+b c) a+a b c$ and multiplying both sides by $a^{n-3}$ we obtain $a^{n}=(a+b+c) a^{n-1}-(a b+a c+b c) a^{n-2}+(a b c) a^{n-3}$. Applying the same reasoning, we can obtain similar expressions for $b^{n}$ and $c^{n}$ and adding the three identities we get that $T_{n}$ satisfies the following 3 -term recurrence: + +$$ +T_{n}=(a+b+c) T_{n-1}-(a b+a c+b c) T_{n-2}+(a b c) T_{n-3} \text {, for all } n \geq 3 +$$ + +¿From this we see that if $T_{n-2}$ and $T_{n-3}$ are divisible by $a+b+c$, then so is $T_{n}$. This immediately resolves part (b) - there are no ordered triples which are 2004-powerful and 2005-powerful, but not 2007-powerful-and reduces the number of cases to be considered in part (a): since all triples are 1-powerful, the recurrence implies that any ordered triple which is both 2 -powerful and 3 -powerful is $n$-powerful for all $n \geq 1$. + +Putting $n=3$ in the recurrence, we have + +$$ +a^{3}+b^{3}+c^{3}=(a+b+c)\left(a^{2}+b^{2}+c^{2}\right)-(a b+a c+b c)(a+b+c)+3 a b c +$$ + +which implies that $(a, b, c)$ is 3 -powerful if and only if $3 a b c$ is divisible by $a+b+c$. Since + +$$ +a^{2}+b^{2}+c^{2}=(a+b+c)^{2}-2(a b+a c+b c), +$$ + +$(a, b, c)$ is 2 -powerful if and only if $2(a b+a c+b c)$ is divisible by $a+b+c$. + +Suppose a prime $p \geq 5$ divides $a+b+c$. Then $p$ divides $a b c$. Since $\operatorname{gcd}(a, b, c)=1, p$ divides exactly one of $a, b$ or $c$; but then $p$ doesn't divide $2(a b+a c+b c)$. + +Suppose $3^{2}$ divides $a+b+c$. Then 3 divides $a b c$, implying 3 divides exactly one of $a$, $b$ or $c$. But then 3 doesn't divide $2(a b+a c+b c)$. + +Suppose $2^{2}$ divides $a+b+c$. Then 4 divides $a b c$. Since $\operatorname{gcd}(a, b, c)=1$, at most one of $a, b$ or $c$ is even, implying one of $a, b, c$ is divisible by 4 and the others are odd. But then $a b+a c+b c$ is odd and 4 doesn't divide $2(a b+a c+b c)$. + +So if $(a, b, c)$ is 2 - and 3 -powerful, then $a+b+c$ is not divisible by 4 or 9 or any prime greater than 3. Since $a+b+c$ is at least $3, a+b+c$ is either 3 or 6 . It is now a simple matter to check the possibilities and conclude that the only triples which are $n$-powerful for all $n \geq 1$ are $(1,1,1)$ and $(1,1,4)$. + +## Solution 2 + +Let $p$ be a prime. By Fermat's Little Theorem, + +$$ +a^{p-1} \equiv \begin{cases}1(\bmod p), & \text { if } p \text { doesn't divide } a \\ 0(\bmod p), & \text { if } p \text { divides } a\end{cases} +$$ + +Since $\operatorname{gcd}(a, b, c)=1$, we have that $a^{p-1}+b^{p-1}+c^{p-1} \equiv 1,2$ or $3(\bmod p)$. Therefore if $p$ is a prime divisor of $a^{p-1}+b^{p-1}+c^{p-1}$, then $p$ equals 2 or 3 . So if $(a, b, c)$ is $n$-powerful for all $n \geq 1$, then the only primes which can divide $a+b+c$ are 2 or 3 . + +We can proceed in a similar fashion to show that $a+b+c$ is not divisible by 4 or 9 . + +Since + +$$ +a^{2} \equiv \begin{cases}0(\bmod 4), & \text { if } p \text { is even; } \\ 1(\bmod 4), & \text { if } p \text { is odd }\end{cases} +$$ + +and $a, b, c$ aren't all even, we have that $a^{2}+b^{2}+c^{2} \equiv 1,2$ or $3(\bmod 4)$. + +By expanding $(3 k)^{3},(3 k+1)^{3}$ and $(3 k+2)^{3}$, we find that $a^{3}$ is congruent to 0,1 or -1 modulo 9. Hence + +$$ +a^{6} \equiv \begin{cases}0(\bmod 9), & \text { if } 3 \text { divides } a ; \\ 1(\bmod 9), & \text { if } 3 \text { doesn't divide } a .\end{cases} +$$ + +Since $a, b, c$ aren't all divisible by 3 , we have that $a^{6}+b^{6}+c^{6} \equiv 1,2$ or $3(\bmod 9)$. + +So $a^{2}+b^{2}+c^{2}$ is not divisible by 4 and $a^{6}+b^{6}+c^{6}$ is not divisible by 9 . Thus if $(a, b, c)$ is $n$-powerful for all $n \geq 1$, then $a+b+c$ is not divisible by 4 or 9 . Therefore $a+b+c$ is either 3 or 6 and checking all possibilities, we conclude that the only triples which are $n$-powerful for all $n \geq 1$ are $(1,1,1)$ and $(1,1,4)$. + +See Solution 1 for the (b) part. + + +[^0]: ${ }^{\dagger}$ By the way, $H$ is called the convex hull of $S$. If the points of $S$ lie on a line, then $H$ will be the shortest line segment containing the points of $S$. Otherwise, $H$ is a polygon whose vertices are all elements of $S$ and such that all other points in $S$ lie inside or on this polygon. + diff --git a/CANADA_MO/md/en-sol2006.md b/CANADA_MO/md/en-sol2006.md new file mode 100644 index 0000000000000000000000000000000000000000..c920dcb9ccfe7060950470eb2782242b89d700a1 --- /dev/null +++ b/CANADA_MO/md/en-sol2006.md @@ -0,0 +1,266 @@ +# 38th Canadian Mathematical Olympiad + +Wednesday, March 29, 2006 + +Solutions to the 2006 CMO paper + +1. Let $f(n, k)$ be the number of ways of distributing $k$ candies to $n$ children so that each child receives at most 2 candies. For example, if $n=3$, then $f(3,7)=0, f(3,6)=1$ and $f(3,4)=6$. + +Determine the value of + +$$ +f(2006,1)+f(2006,4)+f(2006,7)+\cdots+f(2006,1000)+f(2006,1003) . +$$ + +Comment. Unfortunately, there was an error in the statement of this problem. It was intended that the sum should continue to $f(2006,4012)$. + +Solution 1. The number of ways of distributing $k$ candies to 2006 children is equal to the number of ways of distributing 0 to a particular child and $k$ to the rest, plus the number of ways of distributing 1 to the particular child and $k-1$ to the rest, plus the number of ways of distributing 2 to the particular child and $k-2$ to the rest. Thus $f(2006, k)=$ $f(2005, k)+f(2005, k-1)+f(2005, k-2)$, so that the required sum is + +$$ +1+\sum_{k=1}^{1003} f(2005, k) +$$ + +In evaluating $f(n, k)$, suppose that there are $r$ children who receive 2 candies; these $r$ children can be chosen in $\left(\begin{array}{l}n \\ r\end{array}\right)$ ways. Then there are $k-2 r$ candies from which at most one is given to each of $n-r$ children. Hence + +$$ +f(n, k)=\sum_{r=0}^{\lfloor k / 2\rfloor}\left(\begin{array}{l} +n \\ +r +\end{array}\right)\left(\begin{array}{c} +n-r \\ +k-2 r +\end{array}\right)=\sum_{r=0}^{\infty}\left(\begin{array}{l} +n \\ +r +\end{array}\right)\left(\begin{array}{c} +n-r \\ +k-2 r +\end{array}\right) +$$ + +with $\left(\begin{array}{l}x \\ y\end{array}\right)=0$ when $x0\right\}$. Suppose that $r_{i}$ is the sum of the $i$ th row and $c_{j}$ the sum of the $j$ th column. Then $r_{i}=c_{j}$ whenever $(i, j) \in S$. Then we have that + +$$ +\sum\left\{\frac{a_{i j}}{r_{i}}:(i, j) \in S\right\}=\sum\left\{\frac{a_{i j}}{c_{j}}:(i, j) \in S\right\} +$$ + +We evaluate the sums on either side independently. + +$$ +\begin{aligned} +& \sum\left\{\frac{a_{i j}}{r_{i}}:(i, j) \in S\right\}=\sum\left\{\frac{a_{i j}}{r_{i}}: 1 \leq i \leq m, 1 \leq j \leq n\right\}=\sum_{i=1}^{m} \frac{1}{r_{i}} \sum_{j=1}^{n} a_{i j}=\sum_{i=1}^{m}\left(\frac{1}{r_{i}}\right) r_{i}=\sum_{i=1}^{m} 1=m . \\ +& \sum\left\{\frac{a_{i j}}{c_{j}}:(i, j) \in S\right\}=\sum\left\{\frac{a_{i j}}{c_{j}}: 1 \leq i \leq m, 1 \leq j \leq n\right\}=\sum_{j=1}^{n} \frac{1}{c_{j}} \sum_{i=1}^{m} a_{i j}=\sum_{j=1}^{n}\left(\frac{1}{c_{j}}\right) c_{j}=\sum_{j=1}^{n} 1=n . +\end{aligned} +$$ + +Hence $m=n$. + +Comment. The second solution can be made cleaner and more elegant by defining $u_{i j}=a_{i j} / r_{i}$ for all $(i, j)$. When $a_{i j}=0$, then $u_{i j}=0$. When $a_{i j}>0$, then, by hypothesis, $u_{i j}=a_{i j} / c_{j}$, a relation that in fact holds for all $(i, j)$. We find that + +$$ +\sum_{j=1}^{n} u_{i j}=1 \quad \text { and } \quad \sum_{i=1}^{n} u_{i j}=1 +$$ + +for $1 \leq i \leq m$ and $1 \leq j \leq n$, so that $\left(u_{i j}\right)$ is an $m \times n$ array whose row sums and column sums are all equal to 1 . Hence + +$$ +m=\sum_{i=1}^{m}\left(\sum_{j=1}^{n} u_{i j}\right)=\sum\left\{u_{i j}: 1 \leq i \leq m, 1 \leq j \leq n\right\}=\sum_{j=1}^{n}\left(\sum_{i=1}^{m} u_{i j}\right)=n +$$ + +(being the sum of all the entries in the array). + +4. Consider a round-robin tournament with $2 n+1$ teams, where each team plays each other team exactly once. We say that three teams $X, Y$ and $Z$, form a cycle triplet if $X$ beats $Y, Y$ beats $Z$, and $Z$ beats $X$. There are no ties. + +(a) Determine the minimum number of cycle triplets possible. + +(b) Determine the maximum number of cycle triplets possible. + +Solution 1. (a) The minimum is 0 , which is achieved by a tournament in which team $T_{i}$ beats $T_{j}$ if and only if $i>j$. + +(b) Any set of three teams constitutes either a cycle triplet or a "dominated triplet" in which one team beats the other two; let there be $c$ of the former and $d$ of the latter. Then $c+d=\left(\begin{array}{c}2 n+1 \\ 3\end{array}\right)$. Suppose that team $T_{i}$ beats $x_{i}$ other teams; then it is the winning team in exactly $\left(\begin{array}{c}x_{i} \\ 2\end{array}\right)$ dominated triples. Observe that $\sum_{i=1}^{2 n+1} x_{i}=\left(\begin{array}{c}2 n+1 \\ 2\end{array}\right)$, the total number of games. Hence + +$$ +d=\sum_{i=1}^{2 n+1}\left(\begin{array}{c} +x_{i} \\ +2 +\end{array}\right)=\frac{1}{2} \sum_{i=1}^{2 n+1} x_{i}^{2}-\frac{1}{2}\left(\begin{array}{c} +2 n+1 \\ +2 +\end{array}\right) +$$ + +By the Cauchy-Schwarz Inequality, $(2 n+1) \sum_{i=1}^{2 n+1} x_{i}^{2} \geq\left(\sum_{i=1}^{2 n+1} x_{i}\right)^{2}=n^{2}(2 n+1)^{2}$, whence + +$$ +c=\left(\begin{array}{c} +2 n+1 \\ +3 +\end{array}\right)-\sum_{i=1}^{2 n+1}\left(\begin{array}{c} +x_{i} \\ +2 +\end{array}\right) \leq\left(\begin{array}{c} +2 n+1 \\ +3 +\end{array}\right)-\frac{n^{2}(2 n+1)}{2}+\frac{1}{2}\left(\begin{array}{c} +2 n+1 \\ +2 +\end{array}\right)=\frac{n(n+1)(2 n+1)}{6} . +$$ + +To realize the upper bound, let the teams be $T_{1}=T_{2 n+2}, T_{2}=T_{2 n+3}$. $\cdots, T_{i}=T_{2 n+1+i}, \cdots, T_{2 n+1}=T_{4 n+2}$. For each $i$, let team $T_{i}$ beat $T_{i+1}, T_{i+2}, \cdots, T_{i+n}$ and lose to $T_{i+n+1}, \cdots, T_{i+2 n}$. We need to check that this is a consistent assignment of wins and losses, since the result for each pair of teams is defined twice. This can be seen by noting that $(2 n+1+i)-(i+j)=2 n+1-j \geq n+1$ for $1 \leq j \leq n$. The cycle triplets are $\left(T_{i}, T_{i+j}, T_{i+j+k}\right)$ where $1 \leq j \leq n$ and $(2 n+1+i)-(i+j+k) \leq n$, i.e., when $1 \leq j \leq n$ and $n+1-j \leq k \leq n$. For each $i$, this counts $1+2+\cdots+n=\frac{1}{2} n(n+1)$ cycle triplets. When we range over all $i$, each cycle triplet gets counted three times, so the number of cycle triplets is + +$$ +\frac{2 n+1}{3}\left(\frac{n(n+1)}{2}\right)=\frac{n(n+1)(2 n+1)}{6} . +$$ + +Solution 2. [S. Eastwood] (b) Let $t$ be the number of cycle triplets and $u$ be the number of ordered triplets of teams $(X, Y, Z)$ where $X$ beats $Y$ and $Y$ beats $Z$. Each cycle triplet generates three ordered triplets while other triplets generate exactly one. The total number of triplets is + +$$ +\left(\begin{array}{c} +2 n+1 \\ +3 +\end{array}\right)=\frac{n\left(4 n^{2}-1\right)}{3} . +$$ + +The number of triples that are not cycle is + +$$ +\frac{n\left(4 n^{2}-1\right)}{3}-t +$$ + +Hence + +$$ +u=3 t+\left(\frac{n\left(4 n^{2}-1\right)}{3}-t\right) \Longrightarrow +$$ + +$$ +t=\frac{3 u-n\left(4 n^{2}-1\right)}{6}=\frac{u-(2 n+1) n^{2}}{2}+\frac{n(n+1)(2 n+1)}{6} +$$ + +If team $Y$ beats $a$ teams and loses to $b$ teams, then the number of ordered triples with $Y$ as the central element is $a b$. Since $a+b=2 n$, by the Arithmetic-Geometric Means Inequality, we have that $a b \leq n 2$. Hence $u \leq(2 n+1) n 2$, so that + +$$ +t \leq \frac{n(n+1)(2 n+1)}{6} +$$ + +The maximum is attainable when $u=(2 n+1) n 2$, which can occur when we arrange all the teams in a circle with each team beating exactly the $n$ teams in the clockwise direction. + +Comment. Interestingly enough, the maximum is $\sum_{i=1}^{n} i^{2}$; is there a nice argument that gives the answer in this form? + +5. The vertices of a right triangle $A B C$ inscribed in a circle divide the circumference into three arcs. The right angle is at $A$, so that the opposite $\operatorname{arc} B C$ is a semicircle while $\operatorname{arc} A B$ and $\operatorname{arc} A C$ are supplementary. To each of the three arcs, we draw a tangent such that its point of tangency is the midpoint of that portion of the tangent intercepted by the extended lines $A B$ and $A C$. More precisely, the point $D$ on $\operatorname{arc} B C$ is the midpoint of the segment joining the points $D^{\prime}$ and $D^{\prime \prime}$ where the tangent at $D$ intersects the extended lines $A B$ and $A C$. Similarly for $E$ on arc $A C$ and $F$ on arc $A B$. + +Prove that triangle $D E F$ is equilateral. + +![](https://cdn.mathpix.com/cropped/2024_04_17_87adde2ca6b3faf10a84g-4.jpg?height=509&width=783&top_left_y=1042&top_left_x=662) + +Solution 1. A prime indicates where a tangent meets $A B$ and a double prime where it meets $A C$. It is given that $D D^{\prime}=D D^{\prime \prime}, E E^{\prime}=E E^{\prime \prime}$ and $F F^{\prime}=F F^{\prime \prime}$. It is required to show that arc $E F$ is a third of the circumference as is arc $D B F$. + +$A F$ is the median to the hypotenuse of right triangle $A F^{\prime} F^{\prime \prime}$, so that $F F^{\prime}=F A$ and therefore + +$$ +\operatorname{arc} A F=2 \angle F^{\prime \prime} F A=2\left(\angle F F^{\prime} A+\angle F A F^{\prime}\right)=4 \angle F A F^{\prime}=4 \angle F A B=2 \text { arc } B F \text {, } +$$ + +whence $\operatorname{arc} F A=(2 / 3)$ arc $B F A$. Similarly, arc $A E=(2 / 3)$ arc $A E C$. Therefore, $\operatorname{arc} F E$ is $2 / 3$ of the semicircle, or $1 / 3$ of the circumference as desired. + +As for arc $D B F$, arc $B D=2 \angle B A D=\angle B A D+\angle B D^{\prime} D=\angle A D D^{\prime \prime}=(1 / 2)$ arc $A C D$. But, arc $B F=(1 / 2)$ arc $A F$, so arc $D B F=(1 / 2)$ arc $F A E D$. That is, arc $D B F$ is $1 / 3$ the circumference and the proof is complete. + +Solution 2. Since $A E^{\prime} E^{\prime \prime}$ is a right triangle, $A E=E E^{\prime}=E E^{\prime \prime}$ so that $\angle C A E=\angle C E^{\prime \prime} E$. Also $A D=D^{\prime} D=D D^{\prime \prime}$, so that $\angle C D D^{\prime \prime}=\angle C A D=\angle C D^{\prime \prime} D$. As $E A D C$ is a concyclic quadrilateral, + +$$ +\begin{aligned} +180^{\circ} & =\angle E A D+\angle E C D \\ +& =\angle D A C+\angle C A E+\angle E C A+\angle A C D \\ +& =\angle D A C+\angle C A E+\angle C E E^{\prime \prime}+\angle C E^{\prime \prime} E+\angle C D D^{\prime \prime}+\angle C D^{\prime \prime} D \\ +& =\angle D A C+\angle C A E+\angle C A E+\angle C A E+\angle C A D+\angle C A D \\ +& =3(\angle D A C+\angle D A E)=3(\angle D A E) +\end{aligned} +$$ + +Hence $\angle D F E=\angle D A E=60^{\circ}$. Similarly, $\angle D E F=60^{\circ}$. It follows that triangle $D E F$ is equilateral. + diff --git a/CANADA_MO/md/en-sol2007.md b/CANADA_MO/md/en-sol2007.md new file mode 100644 index 0000000000000000000000000000000000000000..1f6f7f4410d95567378a749214dac4389b321592 --- /dev/null +++ b/CANADA_MO/md/en-sol2007.md @@ -0,0 +1,167 @@ +# 39th Canadian Mathematical Olympiad + +Wednesday, March 28, 2007 + +![](https://cdn.mathpix.com/cropped/2024_04_17_e8b78bc64605e45fe70fg-1.jpg?height=249&width=168&top_left_y=412&top_left_x=984) + +## Solutions to the 2007 CMO paper + +![](https://cdn.mathpix.com/cropped/2024_04_17_e8b78bc64605e45fe70fg-1.jpg?height=570&width=653&top_left_y=867&top_left_x=736) + +Solution to 1. Identify five subsets $A, B, C, D, E$ of the board, where $C$ consists of the squares occupied by the six dominos already placed, $B$ is the upper right corner, $D$ is the lower left corner, $A$ consists of the squares above and to the left of those in $B \cup C \cup D$ and $E$ consists of the squares below and to the right of those in $B \cup C \cup D$. The board can be coloured checkerboard fashion so that $A$ has 13 black and 16 white squares, $B$ a single white square, $E 16$ black and 13 white squares and $D$ a single black square. Each domino beyond the original six must lie either entirely in $A \cup B \cup D$ or $C \cup B \cup D$, either of which contains at most 14 dominos. Thus, altogether, we cannot have more that $2 \times 14+6=34$ dominos. This is achievable, by placing 14 dominos in $A \cup D$ and 14 in $E \cup B$. + +Solution to 2. If the triangles are isosceles, then they must be congruent and the desired ratio is 1 . For, if they share equal side lengths, at least one of these side lengths on one triangle corresponds to the same length on the other. And if they share unequal side lengths, then either equal sides correspond or unequal sides correspond in both directions and the ratio is 1. This falls within the bounds. + +Let the triangles be scalene. It is not possible for the same length to be an extreme length (largest or smallest) of both triangles. Therefore, we must have a situation in which the corresponding side lengths of the two triangles are $(x, y, z)$ and $(y, z, u)$ with $x1$. Thus, $y=r x$ and $z=r y=r^{2} x$. From the triangle inequality $z1,10 +$$ + +$$ +1-\frac{a+b-2 a b}{1-a b}=\frac{(1-a)(1-b)}{1-a b}>0 . +$$ + +Hence, it will never happen that a set of numbers will contain a pair of reciprocals, and the operation can always be performed. + +Solution 1. It can be shown by induction that any two numbers in any of the sets arise from disjoint subsets of $S$. + +Use an induction argument on the number of entries that one starts with. At each stage the number of entries is reduced by one. If we start with $n$ numbers, the final result is + +$$ +\frac{\sigma_{1}-2 \sigma_{2}+3 \sigma_{3}-\cdots+(-1)^{n-1} n \sigma_{n}}{1-\sigma_{2}+2 \sigma_{3}-3 \sigma_{4}+\cdots+(-1)^{n-1}(n-1) \sigma_{n}} +$$ + +where $\sigma_{i}$ is the symmetric sum of all $\left(\begin{array}{c}n \\ i\end{array}\right) i$-fold products of the $n$ elements $x_{i}$ in the list. + +Solution 2. Define + +$$ +a * b=\frac{a+b-2 a b}{1-a b} . +$$ + +This operation is commutative and also associative: + +$$ +a *(b * c)=(a * b) * c=\frac{a+b+c-2(a b+b c+c a)+3 a b c}{1-(a b+b c+c a)+2 a b c} . +$$ + +Since the final result amounts to a $*-$ product of elements of $S$ with some arrangement of brackets, the result follows. + +Solution 3. Let $\phi(x)=x /(1-x)$ for $01$ if and only if $01$ and $f(y)>1$, then also $f(x * y)>1$. It follows that if $x$ and $y$ lie in the open interval $(0,1)$, so does $x * y$. We also note that $f(x)$ is a one-one function. + +To each list $L$, we associate the function $g(L)$ defined by + +$$ +g(L)=\sum\{f(x): x \in L\} +$$ + +Let $L_{n}$ be the given list, and let the subsequent lists be $L_{n-1}, L_{n-2}, \cdots, L_{1}$, where $L_{i}$ has $i$ elements. Since $f(x * y)=$ $f(x)+f(y)-1, g\left(L_{i}\right)=g\left(L_{n}\right)-(n-i)$ regardless of the choice that creates each list from its predecessors. Hence $g\left(L_{1}\right)=g\left(L_{n}\right)-(n-1)$ is fixed. However, $g\left(L_{1}\right)=f(a)$ for some number $a$ with $01$. Then $7^{b} \equiv 1(\bmod 9)$. The smallest positive integer $b$ such that $7^{b} \equiv 1(\bmod 9)$ is given by $b=3$. It follows that $b$ must be a multiple of 3 . Let $b=3 d$. Note that $d$ is odd, so in particular $d \geq 1$. + +Let $y=7^{d}$. Then $y^{3}-1=2 \cdot 3^{c}$, and therefore + +$$ +2 \cdot 3^{c}=(y-1)\left(y^{2}+y+1\right) \text {. } +$$ + +It follows that $y-1=2 \cdot 3^{u}$ for some positive $u$, and that $y^{2}+y+1=3^{v}$ for some $v \geq 2$. But since + +$$ +3 y=\left(y^{2}+y+1\right)-(y-1)^{2}, +$$ + +it follows that $3 \mid y$, which is impossible since $3 \mid(y-1)$. + +Problem 5. A set of points is marked on the plane, with the property that any three marked points can be covered with a disk of radius 1. Prove that the set of all marked points can be covered with a disk of radius 1 . + +Solution. (For a finite set of points only.) Let $D$ be a disk of smallest radius that covers all marked points. Consider the marked points on the boundary $C$ of this disk. Note that if all marked points on $C$ lie on an arc smaller than the half circle (ASTTHC for short), then the disk can be moved a little towards these points on the boundary and its radius can be decreased. Since we assumed that our disk has minimal radius, the marked points on its boundary do not lie on an ASTTHC. + +If the two endpoints of a diagonal of $D$ are marked, then $D$ is the smallest disk containing these two points, hence must have radius at most 1 . + +If there are 3 marked points on $C$ that do not lie on an ASTTHC, then $D$ is the smallest disk covering these 3 points and hence must have radius at most 1 . (In this case the triangle formed by the three points is acute and $C$ is its circumcircle.) + +If there are more than 3 marked points on the boundary that do not lie on an ASTTHC, then we can remove one of them so that the remaining points again do not lie on an ASTTHC. By induction this leads us to the case of 3 points. Indeed, given 4 or more points on $C$, choose 3 points that lie on a half circle. Then the middle point can be removed. + diff --git a/CANADA_MO/md/en-sol2010.md b/CANADA_MO/md/en-sol2010.md new file mode 100644 index 0000000000000000000000000000000000000000..bc23a11de180485f9a58a1ce74deb3479418cb78 --- /dev/null +++ b/CANADA_MO/md/en-sol2010.md @@ -0,0 +1,199 @@ +# Sun + +## Life Financial + +## CANADIAN MATHEMATICAL OLYMPIAD 2010 PROBLEMS AND SOLUTIONS + +(1) For a positive integer $n$, an $n$-staircase is a figure consisting of unit squares, with one square in the first row, two squares in the second row, and so on, up to $n$ squares in the $n^{\text {th }}$ row, such that all the left-most squares in each row are aligned vertically. For example, the 5 -staircase is shown below. + +![](https://cdn.mathpix.com/cropped/2024_04_17_e440a814a7c8fa22f25dg-1.jpg?height=262&width=265&top_left_y=861&top_left_x=968) + +Let $f(n)$ denote the minimum number of square tiles required to tile the $n$ staircase, where the side lengths of the square tiles can be any positive integer. For example, $f(2)=3$ and $f(4)=7$. +![](https://cdn.mathpix.com/cropped/2024_04_17_e440a814a7c8fa22f25dg-1.jpg?height=214&width=444&top_left_y=1292&top_left_x=878) + +(a) Find all $n$ such that $f(n)=n$. + +(b) Find all $n$ such that $f(n)=n+1$. + +Solution. (a) A diagonal square in an $n$-staircase is a unit square that lies on the diagonal going from the top-left to the bottom-right. A minimal tiling of an $n$-staircase is a tiling consisting of $f(n)$ square tiles. + +Observe that $f(n) \geq n$ for all $n$. There are $n$ diagonal squares in an $n$-staircase, and a square tile can cover at most one diagonal square, so any tiling requires at least $n$ square tiles. In other words, $f(n) \geq n$. Hence, if $f(n)=n$, then each square tile covers exactly one diagonal square. + +Let $n$ be a positive integer such that $f(n)=n$, and consider a minimal tiling of an $n$-staircase. The only square tile that can cover the unit square in the first row is the unit square itself. + +Now consider the left-most unit square in the second row. The only square tile that can cover this unit square and a diagonal square is a $2 \times 2$ square tile. + +![](https://cdn.mathpix.com/cropped/2024_04_17_e440a814a7c8fa22f25dg-1.jpg?height=222&width=228&top_left_y=2255&top_left_x=989) + +## Sun
Life Financial + +![](https://cdn.mathpix.com/cropped/2024_04_17_e440a814a7c8fa22f25dg-2.jpg?height=52&width=1409&top_left_y=344&top_left_x=415) +that can cover this unit square and a diagonal square is a $4 \times 4$ square tile. + +![](https://cdn.mathpix.com/cropped/2024_04_17_e440a814a7c8fa22f25dg-2.jpg?height=263&width=263&top_left_y=497&top_left_x=969) + +Continuing this construction, we see that the side lengths of the square tiles we encounter will be $1,2,4$, and so on, up to $2^{k}$ for some nonnegative integer $k$. Therefore, $n$, the height of the $n$-staircase, is equal to $1+2+4+\cdots+2^{k}=2^{k+1}-1$. Alternatively, $n=2^{k}-1$ for some positive integer $k$. Let $p(k)=2^{k}-1$. + +Conversely, we can tile a $p(k)$-staircase with $p(k)$ square tiles recursively as follows: We have that $p(1)=1$, and we can tile a 1 -staircase with 1 square tile. Assume that we can tile a $p(k)$-staircase with $p(k)$ square tiles for some positive integer $k$. + +Consider a $p(k+1)$-staircase. Place a $2^{k} \times 2^{k}$ square tile in the bottom left corner. Note that this square tile covers a digaonal square. Then $p(k+1)-2^{k}=$ $2^{k+1}-1-2^{k}=2^{k}-1=p(k)$, so we are left with two $p(k)$-staircases. + +![](https://cdn.mathpix.com/cropped/2024_04_17_e440a814a7c8fa22f25dg-2.jpg?height=274&width=309&top_left_y=1408&top_left_x=946) + +Furthermore, these two $p(k)$-staircases can be tiled with $2 p(k)$ square tiles, which means we use $2 p(k)+1=p(k+1)$ square tiles. + +Therefore, $f(n)=n$ if and only if $n=2^{k}-1=p(k)$ for some positive integer $k$. In other words, the binary representation of $n$ consists of all $1 \mathrm{~s}$, with no $0 \mathrm{~s}$. + +(b) Let $n$ be a positive integer such that $f(n)=n+1$, and consider a minimal tiling of an $n$-staircase. Since there are $n$ diagonal squares, every square tile except one covers a diagonal square. We claim that the square tile that covers the bottom-left unit square must be the square tile that does not cover a diagonal square. + +If $n$ is even, then this fact is obvious, because the square tile that covers the bottom-left unit square cannot cover any diagonal square, so assume that $n$ is odd. Let $n=2 m+1$. We may assume that $n>1$, so $m \geq 1$. Suppose that the square tile covering the bottom-left unit square also covers a diagonal square. Then the side length of this square tile must be $m+1$. After this $(m+1) \times(m+1)$ square tile has been placed, we are left with two $m$-staircases. + +![](https://cdn.mathpix.com/cropped/2024_04_17_e440a814a7c8fa22f25dg-3.jpg?height=515&width=640&top_left_y=92&top_left_x=748) + +Hence, $f(n)=2 f(m)+1$. But $2 f(m)+1$ is odd, and $n+1=2 m+2$ is even, so $f(n)$ cannot be equal to $n+1$, contradiction. Therefore, the square tile that covers the bottom-left unit square is the square tile that does not cover a diagonal square. + +Let $t$ be the side length of the square tile covering the bottom-left unit square. Then every other square tile must cover a diagonal square, so by the same construction as in part (a), $n=1+2+4+\cdots+2^{k-1}+t=2^{k}+t-1$ for some positive integer $k$. Furthermore, the top $p(k)=2^{k}-1$ rows of the $n$-staircase must be tiled the same way as the minimal tiling of a $p(k)$-staircase. Therefore, the horizontal line between rows $p(k)$ and $p(k)+1$ does not pass through any square tiles. Let us call such a line a fault line. Similarly, the vertical line between columns $t$ and $t+1$ is also a fault line. These two fault lines partition two $p(k)$-staircases. + +![](https://cdn.mathpix.com/cropped/2024_04_17_e440a814a7c8fa22f25dg-3.jpg?height=398&width=439&top_left_y=1216&top_left_x=884) + +If these two $p(k)$-staircases do not overlap, then $t=p(k)$, so $n=2 p(k)$. For example, the minimal tiling for $n=2 p(2)=6$ is shown below. + +![](https://cdn.mathpix.com/cropped/2024_04_17_e440a814a7c8fa22f25dg-3.jpg?height=247&width=260&top_left_y=1747&top_left_x=973) + +Hence, assume that the two $p(k)$-staircases do overlap. The intersection of the two $p(k)$-staircases is a $[p(k)-t]$-staircase. Since this $[p(k)-t]$-staircase is tiled the same way as the top $p(k)-t$ rows of a minimal tiling of a $p(k)$-staircase, $p(k)-t=p(l)$ for some positive integer $l Life Financial + +where $k$ is a positive ger. Also, our argument shows how if $n$ is of this form, then an $n$-staircase can be tiled with $n+1$ square tiles. + +Finally, we observe that $n$ is of this form if and only if the binary representation of $n$ contains exactly one 0 : + +$$ +2^{k+1}-2^{l}-1=\underbrace{11 \ldots 1}_{k-l 1 \mathrm{~s}} 0 \underbrace{11 \ldots 1}_{l 1 \mathrm{~s}} \text {. } +$$ + +(2) Let $A, B, P$ be three points on a circle. Prove that if $a$ and $b$ are the distances from $P$ to the tangents at $A$ and $B$ and $c$ is the distance from $P$ to the chord $A B$, then $c^{2}=a b$. + +Solution. Let $r$ be the radius of the circle, and let $\mathrm{a}^{\prime}$ and $\mathrm{b}^{\prime}$ be the respective lengths of $P A$ and $P B$. Since $b^{\prime}=2 r \sin \angle P A B=2 r c / a^{\prime}, c=a^{\prime} b^{\prime} /(2 r)$. Let $A C$ be the diameter of the circle and $H$ the foot of the perpendicular from $P$ to $A C$. The similarity of the triangles $A C P$ and $A P H$ imply that $A H: A P=A P: A C$ or $\left(a^{\prime}\right)^{2}=2 r a$. Similarly, $\left(b^{\prime}\right)^{2}=2 r b$. Hence + +$$ +c^{2}=\frac{\left(a^{\prime}\right)^{2}}{2 r} \frac{\left(b^{\prime}\right)^{2}}{2 r}=a b +$$ + +as desired. + +Alternate Solution. Let $E, F, G$ be the feet of the perpendiculars to the tangents at $A$ and $B$ and the chord $A B$, respectively. We need to show that $P E: P G=P G: G F$, where $G$ is the foot of the perpendicular from $P$ to $A B$. This suggest that we try to prove that the triangles $E P G$ and $G P F$ are similar. + +Since $P G$ is parallel to the bisector of the angle between the two tangents, $\angle E P G=\angle F P G$. Since $A E P G$ and $B F P G$ are concyclic quadrilaterals (having opposite angles right), $\angle P G E=\angle P A E$ and $\angle P F G=\angle P B G$. But $\angle P A E=$ $\angle P B A=\angle P B G$, whence $\angle P G E=\angle P F G$. Therefore triangles $E P G$ and $G P F$ are similar. + +The argument above with concyclic quadrilaterals only works when $P$ lies on the shorter arc between $A$ and $B$. The other case can be proved similarly. + +(3) Three speed skaters have a friendly race on a skating oval. They all start from the same point and skate in the same direction, but with different speeds that they maintain throughout the race. The slowest skater does 1 lap a minute, the fastest one does 3.14 laps a minute, and the middle one does $L$ laps a minute for some $1m \in \mathbb{Z}^{+}$ + +Consider the number of minutes required to complete the race. Relative to $C$, $A$ is moving with a speed of $3.14-1=2.14$ laps per minute and completes the race in $\frac{n}{2.14}$ minutes. Also relative to $C, B$ is moving with a speed of $(L-1)$ laps per minute and completes the race in $\frac{m}{L-1}$ minutes. Since $A$ and $B$ finish the race together (when they both meet $C$ ): + +$$ +\frac{n}{2.14}=\frac{m}{L-1} \quad \Rightarrow \quad L=2.14\left(\frac{m}{n}\right)+1 +$$ + +Hence, there is a one-to-one relation between values of $L$ and values of the postive proper fraction $\frac{m}{n}$. The fraction should be reduced, that is the pair $(m, n)$ should + +## Sun Life Financial + +![](https://cdn.mathpix.com/cropped/2024_04_17_e440a814a7c8fa22f25dg-6.jpg?height=54&width=1456&top_left_y=344&top_left_x=371) +$A$ and $m / k$ laps for $B$ when they first meet $C$ together. + +It is also helpful to consider the race from the viewpoint of $B$. In this frame of reference, $A$ completes only $n-m$ laps. Hence $A$ passes $B$ only $(n-m)-1$ times, since the racers do not "pass" at the end of the race (nor at the beginning). Similarily $A$ passes $C$ only $n-1$ times and $B$ passes $C$ only $m-1$ times. The total number of passings is: + +$$ +117=(n-1)+(m-1)+(n-m-1)=2 n-3 \Rightarrow n=60 +$$ + +Hence the number of values of $L$ equals the number of $m$ for which the fraction $\frac{m}{60}$ is positive, proper and reduced. That is the number of positive integer values smaller than and relatively prime to 60 . One could simply count: $\{1,7,11,13,17, \ldots\}$, but Euler's $\phi$ function gives this number: + +$$ +\phi(60)=\phi\left(2^{2} \cdot 3 \cdot 5\right)=(2-1) \cdot 2 \cdot(3-1) \cdot(5-1)=16 . +$$ + +Therefore, there are 16 values for $L$ which give the desired number of passings. + +Note that the actual values for the speeds of $A$ and $C$ do not affect the result. They could be any values, rational or irrational, just so long as they are different, and there will be 16 possible values for the speed of $B$ between them. + +(4) Each vertex of a finite graph can be colored either black or white. Initially all vertices are black. We are allowed to pick a vertex $\mathrm{P}$ and change the color of $P$ and all of its neighbours. Is it possible to change the colour of every vertex from black to white by a sequence of operations of this type? + +Solution. The answer is yes. Proof by induction on the number $n$ of vertices. If $n=1$, this is obvious. For the induction assumption, suppose we can do this for any graph with $n-1$ vertices for some $n \geq 2$ and let $X$ be a graph with $n$ vertices which we will denote by $P_{1}, \ldots, P_{n+1}$. + +Let us denote the "basic" operation of changing the color of $P_{i}$ and all of its neighbours by $f_{i}$. Removing a vertex $P_{i}$ from $X$ (along with all edges connecting to $P_{i}$ ) and applying the induction assumption to the resulting smaller graph, we see that there exists a sequence of operations $g_{i}$ (obtained by composing some $f_{j}$, with $j \neq i$ ) which changes the colour of every vertex in $X$, except for possibly $P_{i}$. + +If $g_{i}$ it also changes the color of $P_{i}$ then we are done. So, we may assume that $g_{i}$ does not change the colour of $P$ for every $i=1, \ldots, n$. Now consider two cases. + +Case 1: $n$ is even. Then composing $g_{1}, \ldots, g_{n}$ we will change the color of every vertex from white to black. + +Case 2: $n$ is odd. I claim that in this case $X$ has a vertex with an even number of neighbours. + +Indeed, denote the number of neighbours of $P_{i}$ (or equivalently, the number of edges connected to $P$ ) by $k_{i}$. Then $P_{1}+\cdots+P_{n+1}=2 e$, where $e$ is the number of edges of $X$. Thus one of the numbers $k_{i}$ has to be even as claimed. + +## Sun $\Psi^{*}$ Life Financial + +After renumbering vn vu vucu, wn nuy unwume vinu $?_{1}$ has $2 k$ neighbours, say $P_{2}, \ldots, P_{2 k+1}$. The composition of $f_{1}$ with $g_{1}, g_{2}, \ldots, g_{2 k+1}$ will then change the colour of every vertex, as desired. + +(5) Let $P(x)$ and $Q(x)$ be polynomials with integer coefficients. Let $a_{n}=n !+n$. Show that if $P\left(a_{n}\right) / Q\left(a_{n}\right)$ is an integer for every $n$, then $P(n) / Q(n)$ is an integer for every integer $n$ such that $Q(n) \neq 0$. + +Solution. Imagine dividing $P(x)$ by $Q(x)$. We find that + +$$ +\frac{P(x)}{Q(x)}=A(x)+\frac{R(x)}{Q(x)} +$$ + +where $A(x)$ and $R(x)$ are polynomials with rational coefficients, and $R(x)$ is either identically 0 or has degree less than the degree of $Q(x)$. + +By bringing the coefficients of $A(x)$ to their least common multiple, we can find a polynomial $B(x)$ with integer coefficients, and a positive integer $b$, such that $A(x)=B(x) / b$. Suppose first that $R(x)$ is not identically 0 . Note that for any integer $k$, either $A(k)=0$, or $|A(k)| \geq 1 / b$. But whenever $|k|$ is large enough, $0<|R(k) / Q(k)|<1 / b$, and therefore if $n$ is large enough, $P\left(a_{n}\right) / Q\left(a_{n}\right)$ cannot be an integer. + +So $R(x)$ is identically 0 , and $P(x) / Q(x)=B(x) / b$ (at least whenever $Q(x) \neq 0$.) + +Now let $n$ be an integer. Then there are infinitely many integers $k$ such that $n \equiv a_{k}(\bmod b)$. But $B\left(a_{k}\right) / b$ is an integer, or equivalently $b$ divides $B\left(a_{k}\right)$. It follows that $b$ divides $B(n)$, and therefore $P(n) / Q(n)$ is an integer. + diff --git a/CANADA_MO/md/en-sol2011.md b/CANADA_MO/md/en-sol2011.md new file mode 100644 index 0000000000000000000000000000000000000000..635c0a3275205f0e71ef6de8f7172d0735b01d8a --- /dev/null +++ b/CANADA_MO/md/en-sol2011.md @@ -0,0 +1,97 @@ +# Life Financial + +$43^{\text {rd }}$ Canadian Mathematical Olympiad + +Wednesday, March 23, 2011 + +![](https://cdn.mathpix.com/cropped/2024_04_17_985fcaba07a45fb6b205g-1.jpg?height=368&width=244&top_left_y=410&top_left_x=909) + +## Problems and Solutions + +(1) Consider 70-digit numbers $n$, with the property that each of the digits $1,2,3, \ldots, 7$ appears in the decimal expansion of $n$ ten times (and 8, 9, and 0 do not appear). Show that no number of this form can divide another number of this form. + +Solution. Assume the contrary: there exist $a$ and $b$ of the prescribed form, such that $b \geq a$ and $a$ divides $b$. Then $a$ divides $b-a$. + +Claim: $a$ is not divisible by 3 but $b-a$ is divisible by 9 . Indeed, the sum of the digits is $10(1+\cdots+7)=280$, for both $a$ and $b$. [Here one needs to know or prove that an integer $n$ is equivalent of the sum of its digits modulo 3 and modulo 9.] + +We conclude that $b-a$ is divisible by $9 a$. But this is impossible, since $9 a$ has 71 digits and $b$ has only 70 digits, so $9 a>b>b-a$. + +(2) Let $A B C D$ be a cyclic quadrilateral whose opposite sides are not parallel, $X$ the intersection of $A B$ and $C D$, and $Y$ the intersection of $A D$ and $B C$. Let the angle bisector of $\angle A X D$ intersect $A D, B C$ at $E, F$ respectively and let the angle bisector of $\angle A Y B$ intersect $A B, C D$ at $G, H$ respectively. Prove that $E G F H$ is a parallelogram. fore, + +Solution. Since $A B C D$ is cyclic, $\triangle X A C \sim \triangle X D B$ and $\triangle Y A C \sim \triangle Y B D$. There- + +$$ +\frac{X A}{X D}=\frac{X C}{X B}=\frac{A C}{D B}=\frac{Y A}{Y B}=\frac{Y C}{Y D} . +$$ + +Let $s$ be this ratio. Therefore, by the angle bisector theorem, + +$$ +\frac{A E}{E D}=\frac{X A}{X D}=\frac{X C}{X B}=\frac{C F}{F B}=s, +$$ + +and + +$$ +\frac{A G}{G B}=\frac{Y A}{Y B}=\frac{Y C}{Y D}=\frac{C H}{H D}=s +$$ + +Hence, $\frac{A G}{G B}=\frac{C F}{F B}$ and $\frac{A E}{E D}=\frac{D H}{H C}$. Therefore, $E H\|A C\| G F$ and $E G\|D B\| H F$. Hence, $E G F H$ is a parallelogram. + +![](https://cdn.mathpix.com/cropped/2024_04_17_985fcaba07a45fb6b205g-2.jpg?height=145&width=254&top_left_y=39&top_left_x=818) + +## Life Financial + +(3) Amy has divided a square up into finitely many white and red rectangles, each with sides parallel to the sides of the square. Within each white rectangle, she writes down its width divided by its height. Within each red rectangle, she writes down its height divided by its width. Finally, she calculates $x$, the sum of these numbers. If the total area of the white rectangles equals the total area of the red rectangles, what is the smallest possible value of $x$ ? + +Solution. Let $a_{i}$ and $b_{i}$ denote the width and height of each white rectangle, and let $c_{i}$ and $d_{i}$ denote the width and height of each red rectangle. Also, let $L$ denote the side length of the original square. + +Lemma: Either $\sum a_{i} \geq L$ or $\sum d_{i} \geq L$. + +Proof of lemma: Suppose there exists a horizontal line across the square that is covered entirely with white rectangles. Then, the total width of these rectangles is at least $L$, and the claim is proven. Otherwise, there is a red rectangle intersecting every horizontal line, and hence the total height of these rectangles is at least $L$. + +Now, let us assume without loss of generality that $\sum a_{i} \geq L$. By the Cauchy-Schwarz inequality, + +$$ +\begin{aligned} +\left(\sum \frac{a_{i}}{b_{i}}\right) \cdot\left(\sum a_{i} b_{i}\right) & \geq\left(\sum a_{i}\right)^{2} \\ +& \geq L^{2} +\end{aligned} +$$ + +But we know $\sum a_{i} b_{i}=\frac{L^{2}}{2}$, so it follows that $\sum \frac{a_{i}}{b_{i}} \geq 2$. Furthermore, each $c_{i} \leq L$, so + +$$ +\sum \frac{d_{i}}{c_{i}} \geq \frac{1}{L^{2}} \cdot \sum c_{i} d_{i}=\frac{1}{2} +$$ + +Therefore, $x$ is at least 2.5. Conversely, $x=2.5$ can be achieved by making the top half of the square one colour, and the bottom half the other colour. + +(4) Show that there exists a positive integer $N$ such that for all integers $a>N$, there exists a contiguous substring of the decimal expansion of $a$ that is divisible by 2011. (For instance, if $a=153204$, then 15, 532, and 0 are all contiguous substrings of $a$. Note that 0 is divisible by 2011 .) + +Solution. We claim that if the decimal expansion of $a$ has at least 2012 digits, then $a$ contains the required substring. Let the decimal expansion of $a$ be $a_{k} a_{k-1} \ldots a_{0}$. For $i=0, \ldots, 2011$, Let $b_{i}$ be the number with decimal expansion $a_{i} a_{i-1} \ldots a_{0}$. Then by pidgenhole principle, $b_{i} \equiv b_{j} \bmod 2011$ for some $i0$ and a sequence $\epsilon_{1}, \epsilon_{2}, \ldots, \epsilon_{n}$, where for any $k, \epsilon_{k}=1$ or $\epsilon_{k}=-1$, such that + +$$ +S=\epsilon_{1}(1+d)^{2}+\epsilon_{2}(1+2 d)^{2}+\epsilon_{3}(1+3 d)^{2}+\cdots+\epsilon_{n}(1+n d)^{2} +$$ + +Solution. Let $U_{k}=(1+k d)^{2}$. We calculate $U_{k+3}-U_{k+2}-U_{k+1}+U_{k}$. This turns out to be $4 d^{2}$, a constant. Changing signs, we obtain the sum $-4 d^{2}$. + +Thus if we have found an expression for a certain number $S_{0}$ as a sum of the desired type, we can obtain an expression of the desired type for $S_{0}+\left(4 d^{2}\right) q$, for any integer $q$. + +It remains to show that for any $S$, there exists an integer $S^{\prime}$ such that $S^{\prime} \equiv S$ $\left(\bmod 4 d^{2}\right)$ and $S^{\prime}$ can be expressed in the desired form. Look at the sum + +$$ +(1+d)^{2}+(1+2 d)^{2}+\cdots+(1+N d)^{2} +$$ + +where $N$ is "large." We can at will choose $N$ so that the sum is odd, or so that the sum is even. + +By changing the sign in front of $(1+k d)^{2}$ to a minus sign, we decrease the sum by $2(1+k d)^{2}$. In particular, if $k \equiv 0(\bmod 2 d)$, we decrease the sum by $2\left(\operatorname{modulo} 4 d^{2}\right)$. So + +If $N$ is large enough, there are many $kb L(n+1, k)$. + +Solution. I. Let $p>b$ be prime, let $n=p^{3}$ and $k=p^{2}$. If $p^{3}b L\left(p^{3}+1, p^{2}\right)$. + +II. Let $m>1$. Then $L(m !-1, m+1)$ is the least common multiple of the integers from $m !-1$ to $m !+m-1$. But $m !-1$ is relatively prime to all of $m !, m !+1, \ldots, m !+m-1$. It follows that $L(m !-1, m+1)=(m !-1) M$, where $M=\operatorname{lcm}(m !, m !+1, \ldots, m !+m-1)$. + +Now consider $L(m !, m+1)$. This is $\operatorname{lcm}(M, m !+m)$. But $m !+m=m((m-1) !+1)$, and $m$ divides $M$. Thus $\operatorname{lcm}(M, m !+m) \leq M((m-1) !+1)$, and + +$$ +\frac{L(m !-1, m+1)}{L(m !, m+1)} \geq \frac{m !-1}{(m-1) !+1} +$$ + +Since $m$ can be arbitrarily large, so can $L(m !-1, m+1) / L(m !, m+1)$. Therefore taking $n=m$ ! - 1 for sufficiently large $m$, and $k=m+1$, works. + +3. Let $A B C D$ be a convex quadrilateral and let $P$ be the point of intersection of $A C$ and $B D$. Suppose that $A C+A D=B C+B D$. Prove that the internal angle bisectors of $\angle A C B, \angle A D B$, and $\angle A P B$ meet at a common point. + +Solution. I. Construct $A^{\prime}$ on $C A$ so that $A A^{\prime}=A D$ and $B^{\prime}$ on $C B$ such that $B B^{\prime}=B D$. Then we have three angle bisectors that correspond to the perpendicular bisectors of $A^{\prime} B^{\prime}, A^{\prime} D$, and $B^{\prime} D$. These perpendicular bisectors are concurrent, so the angle bisectors are also concurrent. This tells us that the external angle bisectors at $A$ and $B$ meet at the excentre of $P D B$. A symmetric argument for $C$ finishes the problem. + +## Sun Life Financial Canadian Mathematical Olympiad + +II. Note that the angle bisectors $\angle A C B$ and $\angle A P B$ intersect at the excentres of $\triangle P B C$ opposite $C$ and the angle bisectors of $\angle A D B$ and $\angle A P B$ intersect at the excentres of $\triangle P A D$ opposite $D$. Hence, it suffices to prove that these two excentres coincide. + +Let the excircle of $\triangle P B C$ opposite $C$ touch side $P B$ at a point $X$, line $C P$ at a point $Y$ and line $C B$ at a point $Z$. Hence, $C Y=C Z, P X=P Y$ and $B X=B Z$. Therefore, $C P+P X=C B+B X$. Since $C P+P X+C B+B X$ is the perimeter of $\triangle C B P, C P+P X=C B+B X=s$, where $s$ is the semi-perimeter of $\triangle C B P$. Therefore, + +$$ +P X=C B+B X-C P=\frac{s}{2}-C P=\frac{C B+B P+P C}{2}-C P=\frac{C B+B P-P C}{2} . +$$ + +Similarly, if we let the excircle of $\triangle P A D$ opposite $D$ touch side $P A$ at a point $X^{\prime}$, then + +$$ +P X^{\prime}=\frac{D A+A P-P D}{2} . +$$ + +Since both excircles are tangent to $A C$ and $B D$, if we show that $P X=P X^{\prime}$, then we would show that the two excircles are tangent to $A C$ and $B D$ at the same points, i.e. the two excircles are identical. Hence, the two excentres coincide. + +We will use the fact that $A C+A D=B C+B D$ to prove that $P X=P X^{\prime}$. Since $A C+A D=B C+B D, A P+P C+A D=B C+B P+P D$. Hence, $A P+A D-P D=$ $B C+B P-P C$. Therefore, $P X=P X^{\prime}$, as desired. + +4. A number of robots are placed on the squares of a finite, rectangular grid of squares. A square can hold any number of robots. Every edge of each square of the grid is classified as either passable or impassable. All edges on the boundary of the grid are impassable. + +You can give any of the commands up, down, left, or right. All of the robots then simultaneously try to move in the specified direction. If the edge adjacent to a robot in that direction is passable, the robot moves across the edge and into the next square. Otherwise, the robot remains on its current square. You can then give another command of up, down, left, or right, then another, for as long as you want. + +Suppose that for any individual robot, and any square on the grid, there is a finite sequence of commands that will move that robot to that square. Prove that you can also give a finite sequence of commands such that all of the robots end up on the same square at the same time. + +Solution. We will prove any two robots can be moved to the same square. From that point on, they will always be on the same square. We can then similarly move + +## Sun Life Financial Canadian Mathematical Olympiad + +![](https://cdn.mathpix.com/cropped/2024_04_17_62898a3a1adeb5764925g-3.jpg?height=192&width=415&top_left_y=18&top_left_x=1451) + +a third robot onto the same square as these two, and then a fourth, and so on, until all robots are on the same square. + +Towards that end, consider two robots $A$ and $B$. Let $d(A, B)$ denote the minimum number of commands that need to be given in order to move $A$ to the square on which $B$ is currently standing. We will give a procedure that is guaranteed to decrease $d(A, B)$. Since $d(A, B)$ is a non-negative integer, this procedure will eventually decrease $n$ to 0 , which finishes the proof. + +Let $n=d(A, B)$, and let $S=\left\{s_{1}, s_{2}, \ldots, s_{n}\right\}$ be a minimum sequence of moves that takes $A$ to the square where $B$ is currently standing. Certainly $A$ will not run into an impassable edge during this sequence, or we could get a shorter sequence by removing that command. Now suppose $B$ runs into an impassable edge after some command $s_{i}$. From that point, we can get $A$ to the square on which $B$ started with the commands $s_{i+1}, s_{i+2}, \ldots, s_{n}$ and then to the square where $B$ is currently with the commands $s_{1}, s_{2}, \ldots, s_{i-1}$. But this was only $n-1$ commands in total, and so we have decreased $d(A, B)$ as required. + +Otherwise, we have given a sequence of $n$ commands to $A$ and $B$, and neither ran into an impassable edge during the execution of these commands. In particular, the vector $v$ connecting $A$ to $B$ on the grid must have never changed. We moved $A$ to the position $B=A+v$, and therefore we must have also moved $B$ to $B+v$. Repeating this process $k$ times, we will move $A$ to $A+k v$ and $B$ to $B+k v$. But if $v \neq(0,0)$, this will eventually force $B$ off the edge of the grid, giving a contradiction. + +5. A bookshelf contains $n$ volumes, labelled 1 to $n$, in some order. The librarian wishes to put them in the correct order as follows. The librarian selects a volume that is too far to the right, say the volume with label $k$, takes it out, and inserts it in the $k$-th position. For example, if the bookshelf contains the volumes $1,3,2,4$ in that order, the librarian could take out volume 2 and place it in the second position. The books will then be in the correct order 1, 2, 3, 4 . + +(a) Show that if this process is repeated, then, however the librarian makes the selections, all the volumes will eventually be in the correct order. + +(b) What is the largest number of steps that this process can take? + +Solution. (a) If $t_{k}$ is the number of times that volume $k$ is selected, then we have $t_{k} \leq 1+\left(t_{1}+t_{2}+\cdots+t_{k-1}\right)$. This is because volume $k$ must move to the right between selections, which means some volume was placed to its left. The only way that can happen is if a lower-numbered volume was selected. This leads to the bound $t_{k} \leq 2^{k-1}$. Furthermore, $t_{n}=0$ since the $n$th volume will never be too far to the right. Therefore if $N$ is the total number of moves then + +$$ +N=t_{1}+t_{2}+\cdots+t_{n-1} \leq 1+2+\cdots+2^{n-2}=2^{n-1}-1 +$$ + +and in particular the process terminates. + +(b) Conversely, $2^{n-1}-1$ moves are required for the configuration $(n, 1,2,3, \ldots, n-1)$ if the librarian picks the rightmost eligible volume each time. + +This can be proved by induction: if at a certain stage we are at $(x, n-k, n-$ $k+1, \ldots, n-1)$, then after $2^{k}-1$ moves, we will have moved to $(n-k, n-k+$ $1, \ldots, n-1, x)$ without touching any of the volumes further to the left. Indeed, after $2^{k-1}-1$ moves, we get to $(x, n-k+1, n-k+2, \ldots, n-1, n-k)$, which becomes $(n-k, x, n-k+1, n-k+2, \ldots, n-1)$ after 1 more move, and then $(n-k, n-k+1, \ldots, n-1, x)$ after another $2^{k-1}-1$ moves. The result follows by taking $k=n-1$. + diff --git a/CANADA_MO/md/en-sol2013.md b/CANADA_MO/md/en-sol2013.md new file mode 100644 index 0000000000000000000000000000000000000000..c055a93d4abda6020ecd57b9a1c508871e9780b9 --- /dev/null +++ b/CANADA_MO/md/en-sol2013.md @@ -0,0 +1,299 @@ +# Sun + +Life Financial + +## $45^{\text {th }}$ Canadian Mathematical Olympiad + +Wednesday, March 27, 2013 + +![](https://cdn.mathpix.com/cropped/2024_04_17_b45a763385ab76d32634g-01.jpg?height=354&width=237&top_left_y=477&top_left_x=949) + +## Problems and Solutions + +1. Determine all polynomials $P(x)$ with real coefficients such that + +$$ +(x+1) P(x-1)-(x-1) P(x) +$$ + +is a constant polynomial. + +Solution 1: The answer is $P(x)$ being any constant polynomial and $P(x) \equiv$ $k x^{2}+k x+c$ for any (nonzero) constant $k$ and constant $c$. + +Let $\Lambda$ be the expression $(x+1) P(x-1)-(x-1) P(x)$, i.e. the expression in the problem statement. + +Substituting $x=-1$ into $\Lambda$ yields $2 P(-1)$ and substituting $x=1$ into $\Lambda$ yield $2 P(0)$. Since $(x+1) P(x-1)-(x-1) P(x)$ is a constant polynomial, $2 P(-1)=2 P(0)$. Hence, $P(-1)=P(0)$. + +Let $c=P(-1)=P(0)$ and $Q(x)=P(x)-c$. Then $Q(-1)=Q(0)=0$. Hence, $0,-1$ are roots of $Q(x)$. Consequently, $Q(x)=x(x+1) R(x)$ for some polynomial $R$. Then $P(x)-c=x(x+1) R(x)$, or equivalently, $P(x)=x(x+1) R(x)+c$. + +Substituting this into $\Lambda$ yield + +$$ +(x+1)((x-1) x R(x-1)+c)-(x-1)(x(x+1) R(x)+c) +$$ + +This is a constant polynomial and simplifies to + +$$ +x(x-1)(x+1)(R(x-1)-R(x))+2 c . +$$ + +## Sun $\mathbb{E}^{\circ}$ + +## Life Financial + +Since this expression is a constant, so is $x(x-1)(x+1)(R(x-1)-R(x))$. Therefore, $R(x-1)-R(x)=0$ as a polynomial. Therefore, $R(x)=R(x-1)$ for all $x \in \mathbb{R}$. Then $R(x)$ is a polynomial that takes on certain values for infinitely values of $x$. Let $k$ be such a value. Then $R(x)-k$ has infinitely many roots, which can occur if and only if $R(x)-k=0$. Therefore, $R(x)$ is identical to a constant $k$. Hence, $Q(x)=k x(x+1)$ for some constant $k$. Therefore, $P(x)=k x(x+1)+c=k x^{2}+k x+c$. + +Finally, we verify that all such $P(x)=k x(x+1)+c$ work. Substituting this into $\Lambda$ yield + +$$ +\begin{aligned} +& (x+1)(k x(x-1)+c)-(x-1)(k x(x+1)+c) \\ += & k x(x+1)(x-1)+c(x+1)-k x(x+1)(x-1)-c(x-1)=2 c . +\end{aligned} +$$ + +Hence, $P(x)=k x(x+1)+c=k x^{2}+k x+c$ is a solution to the given equation for any constant $k$. Note that this solution also holds for $k=0$. Hence, constant polynomials are also solutions to this equation. + +Solution 2: As in Solution 1, any constant polynomial $P$ satisfies the given property. Hence, we will assume that $P$ is not a constant polynomial. + +Let $n$ be the degree of $P$. Since $P$ is not constant, $n \geq 1$. Let + +$$ +P(x)=\sum_{i=0}^{n} a_{i} x^{i} +$$ + +with $a_{n} \neq 0$. Then + +$$ +(x+1) \sum_{i=0}^{n} a_{i}(x-1)^{i}-(x-1) \sum_{i=0}^{n} a_{i} x^{i}=C, +$$ + +for some constant $C$. We will compare the coefficient of $x^{n}$ of the left-hand side of this equation with the right-hand side. Since $C$ is a constant and $n \geq 1$, the coefficient of $x^{n}$ of the right-hand side is equal to zero. We now determine the coefficient of $x^{n}$ of the left-hand side of this expression. + +The left-hand side of the equation simplifies to + +$$ +x \sum_{i=0}^{n} a_{i}(x-1)^{i}+\sum_{i=0}^{n} a_{i}(x-1)^{i}-x \sum_{i=0}^{n} a_{i} x^{i}+\sum_{i=0}^{n} a_{i} x^{i} +$$ + +## Sun + +## Life Financial + +We will determine the coefficient $x^{n}$ of each of these four terms. + +By the Binomial Theorem, the coefficient of $x^{n}$ of the first term is equal to that of $x\left(a_{n-1}(x-1)^{n-1}+a_{n}(x-1)^{n}\right)=a_{n-1}-\left(\begin{array}{c}n \\ n-1\end{array}\right) a_{n}=a_{n-1}-n a_{n}$. + +The coefficient of $x^{n}$ of the second term is equal to that of $a_{n}(x-1)^{n}$, which is $a_{n}$. + +The coefficient of $x^{n}$ of the third term is equal to $a_{n-1}$ and that of the fourth term is equal to $a_{n}$. + +Summing these four coefficients yield $a_{n-1}-n a_{n}+a_{n}-a_{n-1}+a_{n}=(2-n) a_{n}$. + +This expression is equal to 0 . Since $a_{n} \neq 0, n=2$. Hence, $P$ is a quadratic polynomial. + +Let $P(x)=a x^{2}+b x+c$, where $a, b, c$ are real numbers with $a \neq 0$. Then + +$$ +(x+1)\left(a(x-1)^{2}+b(x-1)+c\right)-(x-1)\left(a x^{2}+b x+c\right)=C . +$$ + +Simplifying the left-hand side yields + +$$ +(b-a) x+2 c=2 C . +$$ + +Therefore, $b-a=0$ and $2 c=2 C$. Hence, $P(x)=a x^{2}+a x+c$. As in Solution 1, this is a valid solution for all $a \in \mathbb{R} \backslash\{0\}$. + +## Sun + +## Life Financial + +2. The sequence $a_{1}, a_{2}, \ldots, a_{n}$ consists of the numbers $1,2, \ldots, n$ in some order. For which positive integers $n$ is it possible that $0, a_{1}, a_{1}+a_{2}, \ldots, a_{1}+a_{2}+\ldots+a_{n}$ all have different remainders when divided by $n+1$ ? + +Solution: It is possible if and only if $n$ is odd. + +If $n$ is even, then $a_{1}+a_{2}+\ldots+a_{n}=1+2+\ldots+n=\frac{n}{2} \cdot(n+1)$, which is congruent to $0 \bmod n+1$. Therefore, the task is impossible. + +Now suppose $n$ is odd. We will show that we can construct $a_{1}, a_{2}, \ldots, a_{n}$ that satisfy the conditions given in the problem. Then let $n=2 k+1$ for some non-negative integer $k$. Consider the sequence: $1,2 k, 3,2 k-2,5,2 k-3, \ldots, 2,2 k+1$, i.e. for each $1 \leq i \leq 2 k+1, a_{i}=i$ if $i$ is odd and $a_{i}=2 k+2-i$ if $i$ is even. + +We first show that each term $1,2, \ldots, 2 k+1$ appears exactly once. Clearly, there are $2 k+1$ terms. For each odd number $m$ in $\{1,2, \ldots, 2 k+1\}, a_{m}=m$. For each even number $m$ in this set, $a_{2 k+2-m}=2 k+2-(2 k+2-m)=m$. Hence, every number appears in $a_{1}, \ldots, a_{2 k+1}$. Hence, $a_{1}, \ldots, a_{2 k+1}$ does consist of the numbers $1,2, \ldots, 2 k+1$ in some order. + +We now determine $a_{1}+a_{2}+\ldots+a_{m}(\bmod 2 k+2)$. We will consider the cases when $m$ is odd and when $m$ is even separately. Let $b_{m}=a_{1}+a_{2} \ldots+a_{m}$. + +If $m$ is odd, note that $a_{1} \equiv 1(\bmod 2 k+2), a_{2}+a_{3}=a_{4}+a_{5}=\ldots=a_{2 k}+$ $a_{2 k+1}=2 k+3 \equiv 1(\bmod 2 k+2)$. Therefore, $\left\{b_{1}, b_{3}, \ldots, b_{2 k+1}\right\}=\{1,2,3, \ldots, k+1\}$ $(\bmod 2 k+2)$. + +If $m$ is even, note that $a_{1}+a_{2}=a_{3}+a_{4}=\ldots=a_{2 k-1}+a_{2 k}=2 k+1 \equiv-1$ $(\bmod 2 k+2)$. Therefore, $\left\{b_{2}, b_{4}, \ldots, b_{2 k}\right\}=\{-1,-2, \ldots,-k\}(\bmod 2 k+2) \equiv$ $\{2 k+1,2 k, \ldots, k+2\}(\bmod 2 k+2)$. + +Therefore, $b_{1}, b_{2}, \ldots, b_{2 k+1}$ do indeed have different remainders when divided by $2 k+2$. This completes the problem. + +## Sun + +## Life Financial + +3. Let $G$ be the centroid of a right-angled triangle $A B C$ with $\angle B C A=90^{\circ}$. Let $P$ be the point on ray $A G$ such that $\angle C P A=\angle C A B$, and let $Q$ be the point on ray $B G$ such that $\angle C Q B=\angle A B C$. Prove that the circumcircles of triangles $A Q G$ and $B P G$ meet at a point on side $A B$. + +Solution 1. Since $\angle C=90^{\circ}$, the point $C$ lies on the semicircle with diameter $A B$ which implies that, if $M$ is te midpoint of side $A B$, then $M A=M C=M B$. This implies that triangle $A M C$ is isosceles and hence that $\angle A C M=\angle A$. By definition, $G$ lies on segment $M$ and it follows that $\angle A C G=\angle A C M=\angle A=\angle C P A$. This implies that triangles $A P C$ and $A C G$ are similar and hence that $A C^{2}=A G \cdot A P$. Now if $D$ denotes the foot of the perpendicular from $C$ to $A B$, it follows that triangles $A C D$ and $A B C$ are similar which implies that $A C^{2}=A D \cdot A B$. Therefore $A G \cdot A P=$ $A C^{2}=A D \cdot A B$ and, by power of a point, quadrilateral $D G P B$ is cyclic. This implies that $D$ lies on the circumcircle of triangle $B P G$ and, by a symmetric argument, it follows that $D$ also lies on the circumcircle of triangle $A G Q$. Therefore these two circumcircles meet at the point $D$ on side $A B$. + +Solution 2. Define $D$ and $M$ as in Solution 1. Let $R$ be the point on side $A B$ such that $A C=C R$ and triangle $A C R$ is isosceles. Since $\angle C R A=\angle A=\angle C P A$, it follows that $C P R A$ is cyclic and hence that $\angle G P R=\angle A P R=\angle A C R=180^{\circ}-$ $2 \angle A$. As in Solution $1, M C=M B$ and hence $\angle G M R=\angle C M B=2 \angle A=180^{\circ}-$ $\angle G P R$. Therefore $G P R M$ is cyclic and, by power of a point, $A M \cdot A R=A G \cdot A P$. Since $A C R$ is isosceles, $D$ is the midpoint of $A R$ and thus, since $M$ is the midpoint of $A B$, it follows that $A M \cdot A R=A D \cdot A B=A G \cdot A P$. Therefore $D G P B$ is cyclic, implying the result as in Solution 1. + +## Sun $\mathscr{H}^{*}$ + +## Life Financial + +4. Let $n$ be a positive integer. For any positive integer $j$ and positive real number $r$, define + +$$ +f_{j}(r)=\min (j r, n)+\min \left(\frac{j}{r}, n\right), \quad \text { and } \quad g_{j}(r)=\min (\lceil j r\rceil, n)+\min \left(\left\lceil\frac{j}{r}\right\rceil, n\right) \text {, } +$$ + +where $\lceil x\rceil$ denotes the smallest integer greater than or equal to $x$. Prove that + +$$ +\sum_{j=1}^{n} f_{j}(r) \leq n^{2}+n \leq \sum_{j=1}^{n} g_{j}(r) +$$ + +Solution 1: We first prove the left hand side inequality. We begin by drawing an $n \times n$ board, with corners at $(0,0),(n, 0),(0, n)$ and $(n, n)$ on the Cartesian plane. + +Consider the line $\ell$ with slope $r$ passing through $(0,0)$. For each $j \in\{1, \ldots, n\}$, consider the point $(j, \min (j r, n))$. Note that each such point either lies on $\ell$ or the top edge of the board. In the $j^{\text {th }}$ column from the left, draw the rectangle of height $\min (j r, n)$. Note that the sum of the $n$ rectangles is equal to the area of the board under the line $\ell$ plus $n$ triangles (possibly with area 0 ) each with width at most 1 and whose sum of the heights is at most $n$. Therefore, the sum of the areas of these $n$ triangles is at most $n / 2$. Therefore, $\sum_{j=1}^{n} \min (j r, n)$ is at most the area of the square under $\ell$ plus $n / 2$. + +Consider the line with slope $1 / r$. By symmetry about the line $y=x$, the area of the square under the line with slope $1 / r$ is equal to the area of the square above the line $\ell$. Therefore, using the same reasoning as before, $\sum_{j=1}^{n} \min (j / r, n)$ is at most the area of the square above $\ell$ plus $n / 2$. + +Therefore, $\sum_{j=1}^{n} f_{j}(r)=\sum_{j=1}^{n}\left(\min (j r, n)+\min \left(\frac{j}{r}, n\right)\right)$ is at most the area of the board plus $n$, which is $n^{2}+n$. This proves the left hand side inequality. + +To prove the right hand side inequality, we will use the following lemma: + +Lemma: Consider the line $\ell$ with slope $s$ passing through $(0,0)$. Then the number of squares on the board that contain an interior point below $\ell$ is $\sum_{j=1}^{n} \min (\lceil j s\rceil, n)$. + +Proof of Lemma: For each $j \in\{1, \ldots, n\}$, we count the number of squares in the $j^{\text {th }}$ column (from the left) that contain an interior point lying below the line $\ell$. The line $x=j$ intersect the line $\ell$ at $(j, j s)$. Hence, since each column contains $n$ squares + +## Sun + +## Life Financial + +total, the number of such squares is $\min (\lceil j s\rceil, n)$. Summing over all $j \in\{1,2, \ldots, n\}$ proves the lemma. End Proof of Lemma + +By the lemma, the rightmost expression of the inequality is equal to the number of squares containing an interior point below the line with slope $r$ plus the number of squares containing an interior point below the line with slope $1 / r$. By symmetry about the line $y=x$, the latter number is equal to the number of squares containing an interior point above the line with slope $r$. Therefore, the rightmost expression of the inequality is equal to the number of squares of the board plus the number of squares of which $\ell$ passes through the interior. The former is equal to $n^{2}$. Hence, to prove the inequality, it suffices to show that every line passes through the interior of at least $n$ squares. Since $\ell$ has positive slope, each $\ell$ passes through either $n$ rows and/or $n$ columns. In either case, $\ell$ passes through the interior of at least $n$ squares. Hence, the right inequality holds. + +Solution 2: We first prove the left inequality. Define the function $f(r)=$ $\sum_{j=1}^{n} f_{j}(r)$. Note that $f(r)=f(1 / r)$ for all $r>0$. Therefore, we may assume that $r \geq 1$. + +Let $m=\lfloor n / r\rfloor$, where $\lfloor x\rfloor$ denotes the largest integer less than or equal to $x$. Then $\min (j r, n)=j r$ for all $j \in\{1, \ldots, m\}$ and $\min (j r, n)=n$ for all $j \in\{m+1, \ldots, n\}$. Note that since $r \geq 1, \min (j / r, n) \leq n$ for all $j \in\{1, \ldots, n\}$. Therefore, + +$$ +\begin{gathered} +f(r)=\sum_{j=1}^{n} f_{j}(r)=(1+2+\ldots m) r+(n-m) n+(1+2+\ldots+n) \cdot \frac{1}{r} \\ +=\frac{m(m+1)}{2} \cdot r+\frac{n(n+1)}{2} \cdot \frac{1}{r}+n(n-m) +\end{gathered} +$$ + +Then by (??), note that $f(r) \leq n^{2}+n$ if and only if + +$$ +\frac{m(m+1) r}{2}+\frac{n(n+1)}{2 r} \leq n(m+1) +$$ + +if and only if + +$$ +m(m+1) r^{2}+n(n+1) \leq 2 r n(m+1) +$$ + +Since $m=\lfloor n / r\rfloor$, there exist a real number $b$ satisfying $0 \leq b0$. Therefore, we may assume that $r \geq 1$. We will consider two cases; $r \geq n$ and $1 \leq r1, m1$, then the intervals $\left((a-1)^{2}, a^{2}+a\right)$ and $\left((b-1)^{2}, b^{2}+b\right)$ are disjoint which implies that $f(a)$ and $f(b)$ cannot be equal. + +Assuming $f(n) \geq n+1$, it follows that $f(f(n))<\frac{n^{2}+n}{f(n)} \leq n$. This implies that for some $a \leq n-1, f(a)=f(f(n))$ which is a contradiction since $|f(n)-a| \geq n+1-a \geq 2$. This completes the induction. + +Method 3: Assuming $f(n) \geq n+1$, it follows that $f(f(n))<\frac{n^{2}+n}{f(n)} \leq n$ and $f(f(f(n)))=$ $f(f(n))$. This implies that $(f(n)-1)^{2}c_{1}$. Therefore since the $2 m$ terms $r_{i}$ and $c_{i}$ are not all equal, one must be strictly greater than $m^{2} /(2 m)=2 n+1$ and therefore at least $2 n+2$. + +Now we construct an example to show that it is possible that no row or column is entered more than $2 n+2$ times. Partition the square grid into four $(2 n+1) \times(2 n+1)$ quadrants $A, B, C$, and $D$, containing the upper left, upper right, lower left, and lower right corners, respectively. The turtle begins at the top right corner square of $B$, moves one square down, and then moves left through the whole second row of $B$. She then moves one square down and moves right through the whole third row of $B$. She continues in this pattern, moving through each remaining row of $B$ in succession and moving one square down when each row is completed. Since $2 n+1$ is odd, the turtle ends at the bottom right corner of $B$. She then moves one square down into $D$ and through each column of $D$ in turn, moving one square to the left when each column is completed. She ends at the lower left corner of $D$ and moves left into $C$ and through the rows of $C$, moving one square up when each row is completed, ending in the upper left corner of $C$. She then enters $A$ and moves through the columns of $A$, moving one square right when each column is completed. This takes her to the upper right corner of $A$, whereupon she enters $B$ and moves right through the top row of $B$, which returns her to her starting point. Each row passing through $A$ and $B$ is entered at most $2 n+1$ times in $A$ and once in $B$, and thus at most $2 n+2$ times in total. Similarly, each row and column in the grid is entered at most $2 n+2$ times by this path. (See figure below.) + +![](https://cdn.mathpix.com/cropped/2024_04_17_4e2fdc850b893ca2928fg-4.jpg?height=572&width=672&top_left_y=245&top_left_x=716) + +Problem 3: the case $n=3$ + +Problem 4. Let $A B C$ be an acute-angled triangle with circumcenter $O$. Let $\Gamma$ be a circle with centre on the altitude from $A$ in $A B C$, passing through vertex $A$ and points $P$ and $Q$ on sides $A B$ and $A C$. Assume that $B P \cdot C Q=A P \cdot A Q$. Prove that $\Gamma$ is tangent to the circumcircle of triangle BOC. + +Solution. Let $\omega$ be the circumcircle of $B O C$. Let $M$ be the point diametrically opposite to $O$ on $\omega$ and let the line $A M$ intersect $\omega$ at $M$ and $K$. Since $O$ is the circumcenter of $A B C$, it follows that $O B=O C$ and therefore that $O$ is the midpoint of the $\operatorname{arc} \widehat{B O C}$ of $\omega$. Since $M$ is diametrically opposite to $O$, it follows that $M$ is the midpoint of the arc $\widehat{B M C}$ of $\omega$. This implies since $K$ is on $\omega$ that $K M$ is the bisector of $\angle B K C$. Since $K$ is on $\omega$, this implies that $\angle B K M=\angle C K M$, i.e. $K M$ is the bisector of $\angle B K C$. + +Since $O$ is the circumcenter of $A B C$, it follows that $\angle B O C=2 \angle B A C$. Since $B, K, O$ and $C$ all lie on $\omega$, it also follows that $\angle B K C=\angle B O C=2 \angle B A C$. Since $K M$ bisects $\angle B K C$, it follows that $\angle B K M=\angle C K M=\angle B A C$. The fact that $A, K$ and $M$ lie on a line therefore implies that $\angle A K B=\angle A K C=180^{\circ}-\angle B A C$. Now it follows that + +$$ +\angle K B A=180^{\circ}-\angle A K B-\angle K A B=\angle B A C-\angle K A B=\angle K A C . +$$ + +This implies that triangles $K B A$ and $K A C$ are similar. Rearranging the condition in the problem statement yields that $B P / A P=A Q / C Q$ which, when combined with the fact that $K B A$ and $K A C$ are similar, implies that triangles $K P A$ and $K Q C$ are similar. Therefore $\angle K P A=\angle K Q C=180^{\circ}-\angle K Q A$ which implies that $K$ lies on $\Gamma$. + +Now let $S$ denote the centre of $\Gamma$ and let $T$ denote the centre of $\omega$. Note that $T$ is the midpoint of segment $O M$ and that $T M$ and $A S$, which are both perpendicular to $B C$, are parallel. This implies that $\angle K M T=\angle K A S$ since $A, K$ and $M$ are collinear. Further, since $K T M$ and $K S A$ are isosceles triangles, it follows that $\angle T K M=\angle K M T$ and $\angle S K A=$ +$\angle K S A$. Therefore $\angle T K M=\angle S K A$ which implies that $S, T$ and $K$ are collinear. Therefore $\Gamma$ and $\omega$ intersect at a point $K$ which lies on the line $S T$ connecting the centres of the two circles. This implies that the circles $\Gamma$ and $\omega$ are tangent at $K$. + +Problem 5. Let $p$ be a prime number for which $\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{2 p}$ positive integers $n$ such that $nC$ distance to go, which is not enough for a big jump to clear the lava. Thus, he must do at least $n$ jumps in the safe interval, but that's possible only with all small jumps, and furthermore is impossible if the starting position is $C$. This gives him starting position 1 higher in the next safe interval, so sooner or later the flea is going to hit the lava. + +Flea's strategy: The flea just does one interval at a time. If the safe interval has at least $n A+C$ integers in it, the flea has distance $d>n A$ to go to the next lava when it starts. Repeatedly do big jumps until $d$ is between 1 and $C \bmod A$, then small jumps until the remaining distance is between 1 and $C$, then a final big jump. This works as long as the first part does. However, we get at least $n$ big jumps since floor $((d-1) / A)$ can never go down two from a big jump (or we'd be done doing big jumps), so we get $n$ big jumps, and thus we are good if $d \bmod A$ is in any of $[1, C],[C+1,2 C], \ldots[n C+1,(n+1) C]$, but that's everything. + +Let $C=B-A$. We shall write our intervals of lava in the form $\left(L_{i}, R_{i}\right]=\left\{L_{i}+1, L_{i}+2, \ldots, R_{i}\right\}$, where $R_{i}=L_{i}+A$ and $R_{i-1}R_{i}\right\}, \\ +\text { and } J(i)=\max \left\{j: x_{j} \leq L_{i}\right\} +\end{gathered} +$$ + +Also let $m_{0}=0$. Then for $i \geq 1$ we have + +$$ +M_{i}=x_{J(i)} \quad \text { and } \quad m_{i}=x_{J(i)+1} . +$$ + +Also, for every $i \geq 1$, we have + +(a) $m_{i}=M_{i}+B$ (because $M_{i}+A \leq L_{i}+A=R_{i}$ ); + +(b) $L_{i} \geq M_{i}>L_{i}-C\left(\right.$ since $\left.M_{i}=m_{i}-B>R_{i}-B=L_{i}+A-B\right)$; + +and + +(c) $R_{i}R_{i}+A n \\ +& =L_{i+1}-C+1 \\ +& >L_{i+1}-A+1 \quad(\text { since } CL_{i+1}$, and hence $J(i+1)<$ $J(i)+n+2$. Claim 1 follows. + +Claim 2: $x_{j+1}-x_{j}=A$ for all $j=J(i)+1, \ldots, J(i+1)-1$, for all $i \geq 1$. (That is, the $n$ intermediate jumps of Claim 1 must all be of +length $A$.) + +Proof: If Claim 2 is false, then + +$$ +\begin{aligned} +M_{i+1}=x_{J(i+1)}=x_{J(i)+n+1} & \geq x_{J(i)+1}+(n-1) A+B \\ +& >R_{i}+n A+C \\ +& =L_{i+1}+1 \\ +& >M_{i+1} +\end{aligned} +$$ + +which is a contradiction. This proves Claim 2. + +We can now conclude that + +$$ +\begin{aligned} +& x_{J(i+1)+1}=x_{J(i)+n+2}=x_{J(i)+1}+n A+B \\ +& \text { i.e., } \quad m_{i+1}=m_{i}+n A+B \quad \text { for each } i \geq 1 +\end{aligned} +$$ + +Therefore + +$$ +\begin{aligned} +m_{i+1}-R_{i+1} & =m_{i}+n A+B-\left(R_{i}+n A+C-1+A\right) \\ +& =m_{i}-R_{i}+1 +\end{aligned} +$$ + +Hence + +$$ +C \geq m_{C+1}-R_{C+1}=m_{1}-R_{1}+C>C +$$ + +which is a contradiction. Therefore no path for the flea avoids all the lava. We observe that Lavaman only needs to put lava on the first $C+1$ intervals. + +Now assume $F \geq(n-1) A+B$. We will show that the flea can avoid all the lava. We shall need the following result: + +Claim 3: Let $d \geq n A$. Then there exist nonnegative integers $s$ and $t$ such that $s A+t B \in(d-C, d]$. + +We shall prove this result at the end. + +First, observe that $L_{1} \geq n A$. By Claim 3 , it is possible for the flea to make a sequence of jumps starting from 0 and ending at a point of $\left(L_{1}-C, L_{1}\right]$. From any point of this interval, a single jump of size $B$ takes the flea over ( $L_{1}, R_{]}$to a point in $\left(R_{1}, R_{1}+C\right]$, which corresponds to the point $x_{J(1)+1}\left(=m_{1}\right)$ on the flea's path. + +Now we use induction to prove that, for every $i \geq 1$, there is a path such that $x_{j}$ avoids lava for all $j \leq J(i)+1$. The case $i=1$ is done, so +assume that the assertion holds for a given $i$. Then $x_{J(i)+1}=m_{i} \in$ $\left(R_{i}, R_{i}+C\right]$. Therefore + +$$ +L_{i+1}-m_{i} \geq R_{i}+F-\left(R_{i}+C\right)=F-C \geq n A +$$ + +Applying Claim 3 with $d=L_{i+1}-m_{i}$ shows that the flea can jump from $m_{i}$ to a point of $\left(L_{i+1}-C, L_{i+1}\right]$. A single jump of size $B$ then takes the flea to a point of $\left(R_{i+1}, R_{i+1}+C\right]$ (without visiting $\left(L_{i+1}, R_{i+1}\right]$ ), and this point serves as $x_{J(i+1)+1}$. This completes the induction. + +Proof of Claim 3: Let $u$ be the greatest integer that is less than or equal to $d / A$. Then $u \geq n$ and $u A \leq d<(u+1) A$. For $v=0, \ldots, n$, let + +$$ +z_{v}=(u-v) A+v B=u A+v C . +$$ + +Then + +$$ +\begin{aligned} +& \quad z_{0}=u A \leq d \\ +& z_{n}=u A+n C=u A+(n+1) C-C \geq(u+1) A-C>d-C . \\ +& \text { and } z_{v+1}-z_{v}=C \quad \text { for } v=0, \ldots, n-1 +\end{aligned} +$$ + +Therefore we must have $z_{v} \in(d-C, d]$ for some $v$ in $\{0,1, \ldots, n\}$. + +5. Let $\triangle A B C$ be an acute-angled triangle with altitudes $A D$ and $B E$ meeting at $H$. Let $M$ be the midpoint of segment $A B$, and suppose that the circumcircles of $\triangle D E M$ and $\triangle A B H$ meet at points $P$ and $Q$ with $P$ on the same side of $C H$ as $A$. Prove that the lines $E D$, $P H$, and $M Q$ all pass through a single point on the circumcircle of $\triangle A B C$. + +## Solution: + +![](https://cdn.mathpix.com/cropped/2024_04_17_cf9ed7359bfba2e71bfdg-8.jpg?height=731&width=704&top_left_y=445&top_left_x=754) + +Let $R$ denote the intersection of lines $E D$ and $P H$. Since quadrilaterals $E C D H$ and $A P H B$ are cyclic, we have $\angle R D A=180^{\circ}-\angle E D A=$ $180^{\circ}-\angle E D H=180^{\circ}-\angle E C H=90^{\circ}+A$, and $\angle R P A=\angle H P A=$ $180^{\circ}-\angle H B A=90^{\circ}+A$. Therefore, $A P D R$ is cyclic. This in turn implies that $\angle P B E=\angle P B H=\angle P A H=\angle P A D=\angle P R D=\angle P R E$, and so $P B R E$ is also cyclic. + +Let $F$ denote the base of the altitude from $C$ to $A B$. Then $D, E, F$, and $M$ all lie on the 9-point circle of $\triangle A B C$, and so are cyclic. We also know $A P D R, P B R E, B C E F$, and $A C D F$ are cyclic, which implies $\angle A R B=\angle P R B-\angle P R A=\angle P E B-\angle P D A=\angle P E F+\angle F E B-$ $\angle P D F+\angle A D F=\angle F E B+\angle A D F=\angle F C B+\angle A C F=C$. Therefore, $R$ lies on the circumcircle of $\triangle A B C$. + +Now let $Q^{\prime}$ and $R^{\prime}$ denote the intersections of line $M Q$ with the circumcircle of $\triangle A B C$, chosen so that $Q^{\prime}, M, Q, R^{\prime}$ lie on the line in that order. We will show that $R^{\prime}=R$, which will complete the proof. However, first note that the circumcircle of $\triangle A B C$ has radius $\frac{A B}{2 \sin C}$, and the circumcircle of $\triangle A B H$ has radius $\frac{A B}{2 \sin \angle A H B}=\frac{A B}{2 \sin \left(180^{\circ}-C\right)}$. Thus the two circles have equal radius, and so they must be symmetrical about the point $M$. In particular, $M Q=M Q^{\prime}$. + +Since $\angle A E B=\angle A D B=90^{\circ}$, we furthermore know that $M$ is the circumcenter of both $\triangle A E B$ and $\triangle A D B$. Thus, $M A=M E=M D=$ $M B$. By Power of a Point, we then have $M Q \cdot M R^{\prime}=M Q^{\prime} \cdot M R^{\prime}=$ $M A \cdot M B=M D^{2}$. In particular, this means that the circumcircle of +$\triangle D R^{\prime} Q$ is tangent to $M D$ at $D$, which means $\angle M R^{\prime} D=\angle M D Q$. Similarly $M Q \cdot M R^{\prime}=M E^{2}$, and so $\angle M R^{\prime} E=\angle M E Q=\angle M D Q=$ $\angle M R^{\prime} D$. Therefore, $R^{\prime}$ also lies on the line $E D$. + +Finally, the same argument shows that $M P$ also intersects the circumcircle of $\triangle A B C$ at a point $R^{\prime \prime}$ on line $E D$. Thus, $R, R^{\prime}$, and $R^{\prime \prime}$ are all chosen from the intersection of the circumcircle of $\triangle A B C$ and the line $E D$. In particular, two of $R, R^{\prime}$, and $R^{\prime \prime}$ must be equal. However, $R^{\prime \prime} \neq R$ since $M P$ and $P H$ already intersect at $P$, and $R^{\prime \prime} \neq R^{\prime}$ since $M P$ and $M Q$ already intersect at $M$. Thus, $R^{\prime}=R$, and the proof is complete. + diff --git a/CANADA_MO/md/en-sol2017.md b/CANADA_MO/md/en-sol2017.md new file mode 100644 index 0000000000000000000000000000000000000000..5a8bf318233248cc0e64f65f0ffa905caa169fe0 --- /dev/null +++ b/CANADA_MO/md/en-sol2017.md @@ -0,0 +1,73 @@ +# 2017 Canadian + +## Official Solutions + +1. Let $a, b$, and $c$ be non-negative real numbers, no two of which are equal. Prove that + +$$ +\frac{a^{2}}{(b-c)^{2}}+\frac{b^{2}}{(c-a)^{2}}+\frac{c^{2}}{(a-b)^{2}}>2 +$$ + +Solution: The left-hand side is symmetric with respect to $a, b, c$. Hence, we may assume that $a>b>c \geq 0$. Note that replacing $(a, b, c)$ with $(a-c, b-c, 0)$ lowers the value of the lefthand side, since the numerators of each of the fractions would decrease and the denominators remain the same. Therefore, to obtain the minimum possible value of the left-hand side, we may assume that $c=0$. + +Then the left-hand side becomes + +$$ +\frac{a^{2}}{b^{2}}+\frac{b^{2}}{a^{2}} +$$ + +which yields, by the Arithmetic Mean - Geometric Mean Inequality, + +$$ +\frac{a^{2}}{b^{2}}+\frac{b^{2}}{a^{2}} \geq 2 \sqrt{\frac{a^{2}}{b^{2}} \cdot \frac{b^{2}}{a^{2}}}=2 +$$ + +with equality if and only if $a^{2} / b^{2}=b^{2} / a^{2}$, or equivalently, $a^{4}=b^{4}$. Since $a, b \geq 0, a=b$. But since no two of $a, b, c$ are equal, $a \neq b$. Hence, equality cannot hold. This yields + +$$ +\frac{a^{2}}{b^{2}}+\frac{b^{2}}{a^{2}}>2 +$$ + +Ultimately, this implies the desired inequality. + +Alternate solution: First, show that + +$$ +\begin{aligned} +& \frac{a^{2}}{(b-c)^{2}}+\frac{b^{2}}{(c-a)^{2}}+\frac{c^{2}}{(a-b)^{2}}-2= \\ +& \frac{[a(a-b)(a-c)+b(b-a)(b-c)+c(c-a)(c-b)]^{2}}{[(a-b)(b-c)(c-a)]^{2}} +\end{aligned} +$$ + +Then Schur's Inequality tells us that the numerator of the right-hand side cannot be zero. + +2. Let $f$ be a function from the set of positive integers to itself such that, for every $n$, the number of positive integer divisors of $n$ is equal to $f(f(n))$. For example, $f(f(6))=4$ and $f(f(25))=3$. Prove that if $p$ is prime then $f(p)$ is also prime. + +Solution: Let $d(n)=f(f(n))$ denote the number of divisors of $n$ and observe that $f(d(n))=$ $f(f(f(n)))=d(f(n))$ for all $n$. Also note that because all divisors of $n$ are distinct positive integers between 1 and $n$, including 1 and $n$, and excluding $n-1$ if $n>2$, it follows that $2 \leq d(n)2$. Furthermore $d(1)=1$ and $d(2)=2$. + +We first will show that $f(2)=2$. Let $m=f(2)$ and note that $2=d(2)=f(f(2))=f(m)$. If $m \geq 2$, then let $m_{0}$ be the smallest positive integer satisfying that $m_{0} \geq 2$ and $f\left(m_{0}\right)=2$. It follows that $f\left(d\left(m_{0}\right)\right)=d\left(f\left(m_{0}\right)\right)=d(2)=2$. By the minimality of $m_{0}$, it follows that $d\left(m_{0}\right) \geq m_{0}$, which implies that $m_{0}=2$. Therefore if $m \geq 2$, it follows that $f(2)=2$. It suffices to examine the case in which $f(2)=m=1$. If $m=1$, then $f(1)=f(f(2))=2$ and furthermore, each prime $p$ satisfies that $d(f(p))=f(d(p))=f(2)=1$ which implies that $f(p)=1$. Therefore $d\left(f\left(p^{2}\right)\right)=f\left(d\left(p^{2}\right)\right)=f(3)=1$ which implies that $f\left(p^{2}\right)=1$ for any prime $p$. This implies that $3=d\left(p^{2}\right)=f\left(f\left(p^{2}\right)\right)=f(1)=2$, which is a contradiction. Therefore $m \neq 1$ and $f(2)=2$. + +It now follows that if $p$ is prime then $2=f(2)=f(d(p))=d(f(p))$ which implies that $f(p)$ is prime. + +Remark. Such a function exists and can be constructed inductively. + +3. Let $n$ be a positive integer, and define $S_{n}=\{1,2, \ldots, n\}$. Consider a non-empty subset $T$ of $S_{n}$. We say that $T$ is balanced if the median of $T$ is equal to the average of $T$. For example, for $n=9$, each of the subsets $\{7\},\{2,5\},\{2,3,4\},\{5,6,8,9\}$, and $\{1,4,5,7,8\}$ is balanced; however, the subsets $\{2,4,5\}$ and $\{1,2,3,5\}$ are not balanced. For each $n \geq 1$, prove that the number of balanced subsets of $S_{n}$ is odd. + +(To define the median of a set of $k$ numbers, first put the numbers in increasing order; then the median is the middle number if $k$ is odd, and the average of the two middle numbers if $k$ is even. For example, the median of $\{1,3,4,8,9\}$ is 4 , and the median of $\{1,3,4,7,8,9\}$ is $(4+7) / 2=5.5$. $)$ + +Solution: The problem is to prove that there is an odd number of nonempty subsets $T$ of $S_{n}$ such that the average $A(T)$ and median $M(T)$ satisfy $A(T)=M(T)$. Given a subset $T$, consider the subset $T^{*}=\{n+1-t: t \in T\}$. It holds that $A\left(T^{*}\right)=n+1-A(T)$ and $M\left(T^{*}\right)=n+1-M(T)$, which implies that if $A(T)=M(T)$ then $A\left(T^{*}\right)=M\left(T^{*}\right)$. Pairing each set $T$ with $T^{*}$ yields that there are an even number of sets $T$ such that $A(T)=M(T)$ and $T \neq T^{*}$. + +Thus it suffices to show that the number of nonempty subsets $T$ such that $A(T)=M(T)$ and $T=T^{*}$ is odd. Now note that if $T=T^{*}$, then $A(T)=M(T)=\frac{n+1}{2}$. Hence it suffices to show the number of nonempty subsets $T$ with $T=T^{*}$ is odd. Given such a set $T$, let $T^{\prime}$ be the largest nonempty subset of $\{1,2, \ldots,\lceil n / 2\rceil\}$ contained in $T$. Pairing $T$ with $T^{\prime}$ forms a bijection between these sets $T$ and the nonempty subsets of $\{1,2, \ldots,\lceil n / 2\rceil\}$. Thus there are $2^{\lceil n / 2\rceil}-1$ such subsets, which is odd as desired. + +Alternate solution: Using the notation from the above solution: Let $B$ be the number of subsets $T$ with $M(T)>A(T), C$ be the number with $M(T)=A(T)$, and $D$ be the number with $M(T)60^{\circ}$ and $\angle D A B=180^{\circ}-m>60^{\circ}$ which together imply that $60^{\circ}\frac{n}{46}$ of the subintervals of length 2 corresponding to the projections of the $n$ circles onto $\ell$. Thus there is some point $x \in \ell$ belonging to the projections of more than $\frac{n}{46}$ circles. The line perpendicular to $\ell$ through $x$ has the desired property. Setting $n=100$ yields that there is a line intersecting at least three of the circles. + diff --git a/CANADA_MO/md/en-sol2018.md b/CANADA_MO/md/en-sol2018.md new file mode 100644 index 0000000000000000000000000000000000000000..fcfb39ed708a692ff0e78fffb2875216164cfaca --- /dev/null +++ b/CANADA_MO/md/en-sol2018.md @@ -0,0 +1,300 @@ +# Canadian Mathematical Olympiad 2018 + +## Official Solutions + +1. Consider an arrangement of tokens in the plane, not necessarily at distinct points. We are allowed to apply a sequence of moves of the following kind: Select a pair of tokens at points $A$ and $B$ and move both of them to the midpoint of $A$ and $B$. + +We say that an arrangement of $n$ tokens is collapsible if it is possible to end up with all $n$ tokens at the same point after a finite number of moves. Prove that every arrangement of $n$ tokens is collapsible if and only if $n$ is a power of 2 . + +Solution. For a given positive integer $n$, consider an arrangement of $n$ tokens in the plane, where the tokens are at points $A_{1}, A_{2}, \ldots, A_{n}$. Let $G$ be the centroid of the $n$ points, so as vectors (after an arbitrary choice of origin), + +$$ +\vec{G}=\frac{\vec{A}_{1}+\vec{A}_{2}+\cdots+\vec{A}_{n}}{n} +$$ + +Note that any move leaves the centroid $G$ unchanged. Therefore, if all the tokens are eventually moved to the same point, then this point must be $G$. + +First we prove that if $n=2^{k}$ for some nonnegative integer $k$, then all $n$ tokens can always be eventually moved to the same point. We shall use induction on $k$. + +The result clearly holds for $n=2^{0}=1$. Assume that it holds when $n=2^{k}$ for some nonnegative integer $k$. Consider a set of $2^{k+1}$ tokens at $A_{1}, A_{2}, \ldots, A_{2^{k+1}}$. Let $M_{i}$ be the midpoint of $A_{2 i-1}$ and $A_{2 i}$ for $1 \leq i \leq 2^{k}$. + +First we move the tokens at $A_{2 i-1}$ and $A_{2 i}$ to $M_{i}$, for $1 \leq i \leq 2^{k}$. Then, there are two tokens at $M_{i}$ for all $1 \leq i \leq 2^{k}$. If we take one token from each of $M_{1}, M_{2}, \ldots, M_{2^{k}}$, then by the induction hypothesis, we can move all of them to the same point, say $G$. We can do the same with the remaining tokens at $M_{1}, M_{2}, \ldots, M_{2^{k}}$. Thus, all $2^{k+1}$ tokens are now at $G$, which completes the induction argument. + +(Here is an alternate approach to the induction step: Given the tokens at $A_{1}, A_{2}, \ldots, A_{2^{k+1}}$, move the first $2^{k}$ tokens to one point $G_{1}$, and move the remaining $2^{k}$ tokens to one point $G_{2}$. Then $2^{k}$ more moves can bring all the tokens to the midpoint of $G_{1}$ and $G_{2}$.) + +Presented by the Canadian Mathematical Society and supported by the Actuarial Profession. +![](https://cdn.mathpix.com/cropped/2024_04_17_333f2f0e9c42872eebcdg-1.jpg?height=324&width=1522&top_left_y=2094&top_left_x=300) + +Expertise. Insight. Solutions. + +Now, assume that $n$ is not a power of 2 . Take any line in the plane, and number it as a real number line. (Henceforth, when we refer to a token at a real number, we mean with respect to this real number line.) + +At the start, place $n-1$ tokens at 0 and one token at 1 . We observed that if we can move all the tokens to the same point, then it must be the centroid of the $n$ points. Here, the centroid is at $\frac{1}{n}$. We now prove a lemma. + +Lemma. The average of any two dyadic rationals is also a dyadic rational. (A dyadic rational is a rational number that can be expressed in the form $\frac{m}{2^{a}}$, where $m$ is an integer and $a$ is a nonnegative integer.) + +Proof. Consider two dyadic rationals $\frac{m_{1}}{2^{a_{1}}}$ and $\frac{m_{2}}{2^{a_{2}}}$. Then their average is + +$$ +\frac{1}{2}\left(\frac{m_{1}}{2^{a_{1}}}+\frac{m_{2}}{2^{a_{2}}}\right)=\frac{1}{2}\left(\frac{2^{a_{2}} \cdot m_{1}+2^{a_{1}} \cdot m_{2}}{2^{a_{1}} \cdot 2^{a_{2}}}\right)=\frac{2^{a_{2}} \cdot m_{1}+2^{a_{1}} \cdot m_{2}}{2^{a_{1}+a_{2}+1}} +$$ + +which is another dyadic rational. + +On this real number line, a move corresponds to taking a token at $x$ and a token at $y$ and moving both of them to $\frac{x+y}{2}$, the average of $x$ and $y$. At the start, every token is at a dyadic rational (namely 0 or 1 ), which means that after any number of moves, every token must still be at a dyadic rational. + +But $n$ is not a power of 2 , so $\frac{1}{n}$ is not a dyadic rational. (Indeed, if we could express $\frac{1}{n}$ in dyadic form $\frac{m}{2^{a}}$, then we would have $2^{a}=m n$, which is impossible unless $m$ and $n$ are powers of 2.) This means that it is not possible for any token to end up at $\frac{1}{n}$, let alone all $n$ tokens. + +We conclude that we can always move all $n$ tokens to the same point if and only if $n$ is a power of 2 . + +2. Let five points on a circle be labelled $A, B, C, D$, and $E$ in clockwise order. Assume $A E=D E$ and let $P$ be the intersection of $A C$ and $B D$. Let $Q$ be the point on the line through $A$ and $B$ such that $A$ is between $B$ and $Q$ and $A Q=D P$. Similarly, let $R$ be the point on the line through $C$ and $D$ such that $D$ is between $C$ and $R$ and $D R=A P$. Prove that $P E$ is perpendicular to $Q R$. + +Solution. We are given $A Q=D P$ and $A P=D R$. Additionally $\angle Q A P=180^{\circ}-\angle B A C=180^{\circ}-\angle B D C=\angle R D P$, and so triangles $A Q P$ and $D P R$ are congruent. Therefore $P Q=P R$. It follows that $P$ is on the perpendicular bisector of $Q R$. + +We are also given $A P=D R$ and $A E=D E$. Additionally + +$\angle P A E=\angle C A E=180^{\circ}-\angle C D E=\angle R D E$, and so triangles $P A E$ and $R D E$ are congruent. + +Therefore $P E=R E$, and similarly $P E=Q E$. It follows that $E$ is on the perpendicular bisector of $P Q$. + +Since both $P$ and $E$ are on the perpendicular bisector of $Q R$, the result follows. + +3. Two positive integers $a$ and $b$ are prime-related if $a=p b$ or $b=p a$ for some prime $p$. Find all positive integers $n$, such that $n$ has at least three divisors, and all the divisors can be arranged without repetition in a circle so that any two adjacent divisors are prime-related. + +Note that 1 and $n$ are included as divisors. + +Solution. We say that a positive integer is good if it has the given property. Let $n$ be a good number, and let $d_{1}, d_{2}, \ldots, d_{k}$ be the divisors of $n$ in the circle, in that order. Then for all $1 \leq i \leq k, d_{i+1} / d_{i}$ (taking the indices modulo $k$ ) is equal to either $p_{i}$ or $1 / p_{i}$ for some prime $p_{i}$. In other words, $d_{i+1} / d_{i}=p_{i}^{\epsilon_{i}}$, where $\epsilon_{i} \in\{1,-1\}$. Then + +$$ +p_{1}^{\epsilon_{1}} p_{2}^{\epsilon_{2}} \cdots p_{k}^{\epsilon_{k}}=\frac{d_{2}}{d_{1}} \cdot \frac{d_{3}}{d_{2}} \cdots \frac{d_{1}}{d_{k}}=1 +$$ + +For the product $p_{1}^{\epsilon_{1}} p_{2}^{\epsilon_{2}} \cdots p_{k}^{\epsilon_{k}}$ to equal 1 , any prime factor $p$ must be paired with a factor of $1 / p$, and vice versa, so $k$ (the number of divisors of $n$ ) must be even. Hence, $n$ cannot be a perfect square. + +Furthermore, $n$ cannot be the power of a prime (including a prime itself), because 1 always is a divisor of $n$, and if $n$ is a power of a prime, then the only divisor that can go next to 1 is the prime itself. + +Now, let $n=p^{a} q^{b}$, where $p$ and $q$ are distinct primes, and $a$ is odd. We write the divisors of $n$ in a grid as follows: In the first row, write the numbers $1, q, q^{2}, \ldots, q^{b}$. In the next row, write the numbers $p, p q, p q^{2}, \ldots, p q^{b}$, and so on. The number of rows in the grid, $a+1$, is even. Note that if two squares are adjacent vertically or horizontally, then their corresponding numbers are prime-related. We start with the square with a 1 in the upper-left corner. We then move right along the first row, move down along the last column, move left along the last row, then zig-zag row by row, passing through every square, until we land on the square with a $p$. The following diagram gives the path for $a=3$ and $b=5$ : + +![](https://cdn.mathpix.com/cropped/2024_04_17_333f2f0e9c42872eebcdg-4.jpg?height=499&width=746&top_left_y=1710&top_left_x=733) + +Thus, we can write the divisors encountered on this path in a circle, so $n=p^{a} q^{b}$ is good. + +Next, assume that $n$ is a good number. Let $d_{1}, d_{2}, \ldots, d_{k}$ be the divisors of $n$ in the circle, in that order. Let $p$ be a prime that does not divide $n$. We claim that $n \cdot p^{e}$ is also a good number. We +arrange the divisors of $n \cdot p^{e}$ that are not divisors of $n$ in a grid as follows: + +$$ +\begin{array}{cccc} +d_{1} p & d_{1} p^{2} & \ldots & d_{1} p^{e} \\ +d_{2} p & d_{2} p^{2} & \ldots & d_{2} p^{e} \\ +\vdots & \vdots & \ddots & \vdots \\ +d_{k} p & d_{k} p^{2} & \ldots & d_{k} p^{e} +\end{array} +$$ + +Note that if two squares are adjacent vertically or horizontally, then their corresponding numbers are prime-related. Also, $k$ (the number of rows) is the number of factors of $n$, which must be even (since $n$ is good). Hence, we can use the same path described above, which starts at $d_{1} p$ and ends at $d_{2} p$. Since $d_{1}$ and $d_{2}$ are adjacent divisors in the circle for $n$, we can insert all the divisors in the grid above between $d_{1}$ and $d_{2}$, to obtain a circle for $n \cdot p^{e}$. + +Finally, let $n$ be a positive integer that is neither a perfect square nor a power of a prime. Let the prime factorization of $n$ be + +$$ +n=p_{1}^{e_{1}} p_{2}^{e_{2}} \cdots p_{t}^{e_{t}} +$$ + +Since $n$ is not the power of a prime, $t \geq 2$. Also, since $n$ is not a perfect square, at least one exponent $e_{i}$ is odd. Without loss of generality, assume that $e_{1}$ is odd. Then from our work above, $p_{1}^{e_{1}} p_{2}^{e_{2}}$ is good, so $p_{1}^{e_{1}} p_{2}^{e_{2}} p_{3}^{e_{3}}$ is good, and so on, until $n=p_{1}^{e_{1}} p_{2}^{e_{2}} \cdots p_{t}^{e_{t}}$ is good. + +Therefore, a positive integer $n$ has the given property if and only if it is neither a perfect square nor a power of a prime. + +4. Find all polynomials $p(x)$ with real coefficients that have the following property: There exists a polynomial $q(x)$ with real coefficients such that + +$$ +p(1)+p(2)+p(3)+\cdots+p(n)=p(n) q(n) +$$ + +for all positive integers $n$. + +Solution. The property clearly holds whenever $p(x)$ is a constant polynomial, since we can take $q(x)=x$. Assume henceforth that $p(x)$ is nonconstant and has the stated property. Let $d$ be the degree of $p(x)$, so $p(x)$ is of the form + +$$ +p(x)=c x^{d}+\cdots . +$$ + +By a Lemma (which we will prove at the end), $\sum_{k=1}^{n} k^{d}$ is a polynomial in $n$ of degree $d+1$, so $p(1)+p(2)+\cdots+p(n)$ is a polynomial in $n$ of degree $d+1$. Hence, $q(n)$ is a polynomial of degree 1. Furthermore, the coefficient of $n^{d+1}$ in $\sum_{k=1}^{n} k^{d}$ is $\frac{1}{d+1}$, so the coefficient of $n$ in $q(n)$ is also $\frac{1}{d+1}$. Let $q(x)=\frac{1}{d+1}(x+r)$. We have that + +$$ +p(1)+p(2)+p(3)+\cdots+p(n)=p(n) q(n) +$$ + +and + +$$ +p(1)+p(2)+p(3)+\cdots+p(n)+p(n+1)=p(n+1) q(n+1) \text {. } +$$ + +Subtracting the first equation from the second, we get + +$$ +p(n+1)=p(n+1) q(n+1)-p(n) q(n), +$$ + +and hence + +$$ +p(n) q(n)=p(n+1)[q(n+1)-1] . +$$ + +Since this holds for all positive integers $n$, it follows that + +$$ +p(x) q(x)=p(x+1)[q(x+1)-1] +$$ + +for all real numbers $x$. We can then write + +$$ +p(x) \cdot \frac{1}{d+1}(x+r)=p(x+1)\left[\frac{1}{d+1}(x+r+1)-1\right] +$$ + +so + +$$ +(x+r) p(x)=(x+r-d) p(x+1) . +$$ + +Setting $x=-r$, we get + +$$ +(-d) p(-r+1)=0 +$$ + +Hence, $-r+1$ is a root of $p(x)$. Let $p(x)=(x+r-1) p_{1}(x)$. Then + +$$ +(x+r)(x+r-1) p_{1}(x)=(x+r-d)(x+r) p_{1}(x+1), +$$ + +so + +$$ +(x+r-1) p_{1}(x)=(x+r-d) p_{1}(x+1) . +$$ + +If $d=1$, then $p_{1}(x)$ is a constant, so both sides are equal, and we can say $p(x)=c(x+r-1)$. + +Otherwise, setting $x=-r+1$, we get + +$$ +(1-d) p_{1}(-r+2)=0 +$$ + +Hence, $-r+2$ is a root of $p_{1}(x)$. Let $p_{1}(x)=(x+r-2) p_{2}(x)$. Then + +$$ +(x-r-1)(x+r-2) p_{2}(x)=(x+r-d)(x+r-1) p_{2}(x+1), +$$ + +so + +$$ +(x+r-2) p_{2}(x)=(x+r-d) p_{2}(x+1) \text {. } +$$ + +If $d=2$, then $p_{2}(x)$ is a constant, so both sides are equal, and we can say $p(x)=c(x+r-1)(x+r-2)$. + +Otherwise, we can continue to substitute, giving us + +$$ +p(x)=c(x+r-1)(x+r-2) \cdots(x+r-d) . +$$ + +Conversely, if $p(x)$ is of this form, then + +$$ +\begin{aligned} +p(x)= & c(x+r-1)(x+r-2) \cdots(x+r-d) \\ += & \frac{c(d+1)(x+r-1)(x+r-2) \cdots(x+r-d)}{d+1} \\ += & \frac{c[(x+r)-(x+r-d-1)](x+r-1)(x+r-2) \cdots(x+r-d)}{d+1} \\ += & \frac{c(x+r)(x+r-1)(x+r-2) \cdots(x+r-d)}{d+1} \\ +& -\frac{c(x+r-1)(x+r-2) \cdots(x+r-d)(x+r-d-1)}{d+1} . +\end{aligned} +$$ + +Then the sum $p(1)+p(2)+p(3)+\cdots+p(n)$ telescopes, and we are left with + +$$ +\begin{aligned} +p(1)+p(2)+p(3)+\cdots+p(n)= & \frac{c(n+r)(n+r-1)(n+r-2) \cdots(n+r-d)}{d+1} \\ +& -\frac{c(r)(r-1) \cdots(r-d+1)(r-d)}{d+1} . +\end{aligned} +$$ + +We want this to be of the form + +$$ +p(n) q(n)=c(n+r-1)(n+r-2) \cdots(n+r-d) q(n) +$$ + +for some polynomial $q(n)$. The only way that this can hold for each positive integer $n$ is if the term + +$$ +\frac{c(r)(r-1) \cdots(r-d+1)(r-d)}{d+1} +$$ + +is equal to 0 . This means $r$ has to be one of the values $0,1,2, \ldots, d$. Therefore, the polynomials we seek are of the form + +$$ +p(x)=c(x+r-1)(x+r-2) \cdots(x+r-d) +$$ + +where $r \in\{0,1,2, \ldots, d\}$. + +Lemma. For a positive integer $d$, + +$$ +\sum_{k=1}^{n} k^{d} +$$ + +is a polynomial in $n$ of degree $d+1$. Furthermore, the coefficient of $n^{d+1}$ is $\frac{1}{d+1}$. + +Proof. We prove the result by strong induction. For $d=1$, + +$$ +\sum_{k=1}^{n} k=\frac{1}{2} n^{2}+\frac{1}{2} n +$$ + +so the result holds. Assume that the result holds for $d=1,2,3, \ldots, m$, for some positive integer $m$. By the Binomial Theorem, + +$$ +(k+1)^{m+2}-k^{m+2}=(m+2) k^{m+1}+c_{m} k^{m}+c_{m-1} k^{m-1}+\cdots+c_{1} k+c_{0}, +$$ + +for some coefficients $c_{m}, c_{m-1}, \ldots, c_{1}, c_{0}$. Summing over $1 \leq k \leq n$, we get + +$$ +(n+1)^{m+2}-1=(m+2) \sum_{k=1}^{n} k^{m+1}+c_{m} \sum_{k=1}^{n} k^{m}+\cdots+c_{1} \sum_{k=1}^{n} k+c_{0} n . +$$ + +Then + +$$ +\sum_{k=1}^{n} k^{m+1}=\frac{(n+1)^{m+2}-c_{m} \sum_{k=1}^{n} k^{m}-\cdots-c_{1} \sum_{k=1}^{n} k-c_{0} n-1}{m+2} . +$$ + +By the induction hypothesis, the sums $\sum_{k=1}^{n} k^{m}, \ldots, \sum_{k=1}^{n} k$ are all polynomials in $n$ of degree less than $m+2$. Hence, the above expression is a polynomial in $n$ of degree $m+2$, and the coefficient of $n^{m+2}$ is $\frac{1}{m+2}$. Thus, the result holds for $d=m+1$, which completes the induction step. + +5. Let $k$ be a given even positive integer. Sarah first picks a positive integer $N$ greater than 1 and proceeds to alter it as follows: every minute, she chooses a prime divisor $p$ of the current value of $N$, and multiplies the current $N$ by $p^{k}-p^{-1}$ to produce the next value of $N$. Prove that there are infinitely many even positive integers $k$ such that, no matter what choices Sarah makes, her number $N$ will at some point be divisible by 2018 . + +Solution: Note that 1009 is prime. We will show that if $k=1009^{m}-1$ for some positive integer $m$, then Sarah's number must at some point be divisible by 2018 . Let $P$ be the largest divisor of $N$ not divisible by a prime congruent to 1 modulo 1009. Assume for contradiction that $N$ is never divisible by 2018. We will show that $P$ decreases each minute. Suppose that in the $t^{\text {th }}$ minute, Sarah chooses the prime divisor $p$ of $N$. First note that $N$ is replaced with $\frac{p^{k+1}-1}{p} \cdot N$ where + +$$ +p^{k+1}-1=p^{1009^{m}}-1=(p-1)\left(p^{1009^{m}-1}+p^{1009^{m}-2}+\cdots+1\right) +$$ + +Suppose that $q$ is a prime number dividing the second factor. Since $q$ divides $p^{1009^{m}}-1$, it follows that $q \neq p$ and the order of $p$ modulo $q$ must divide $1009^{m}$ and hence is either divisible by 1009 or is equal to 1 . If it is equal to 1 then $p \equiv 1(\bmod q)$, which implies that + +$$ +0 \equiv p^{1009^{m}-1}+p^{1009^{m}-2}+\cdots+1 \equiv 1009^{m} \quad(\bmod q) +$$ + +and thus $q=1009$. However, if $q=1009$ then $p \geq 1010$ and $p$ must be odd. Since $p-1$ now divides $N$, it follows that $N$ is divisible by 2018 in the $(t+1)^{\text {th }}$ minute, which is a contradiction. Therefore the order of $p$ modulo $q$ is divisible by 1009 and hence 1009 divides $q-1$. Therefore all of the prime divisors of the second factor are congruent to 1 modulo 1009. This implies that $P$ is replaced by a divisor of $\frac{p-1}{p} \cdot P$ in the $(t+1)^{\text {th }}$ minute and therefore decreases. Since $P \geq 1$ must always hold, $P$ cannot decrease forever. Therefore $N$ must at some point be divisible by 2018 . + +Remark (no credit). If $k$ is allowed to be odd, then choosing $k+1$ to be divisible by $\phi(1009)=1008$ guarantees that Sarah's number will be divisible by 2018 the first time it is even, which is after either the first or second minute. + diff --git a/CANADA_MO/md/en-sol2019.md b/CANADA_MO/md/en-sol2019.md new file mode 100644 index 0000000000000000000000000000000000000000..f32459d77e4e0d6429ba497709e9eeed92c3fb7c --- /dev/null +++ b/CANADA_MO/md/en-sol2019.md @@ -0,0 +1,195 @@ +# Canadian Mathematical Olympiad 2019 + +## Official Solutions + +1. Amy has drawn three points in a plane, $A, B$, and $C$, such that $A B=B C=C A=6$. Amy is allowed to draw a new point if it is the circumcenter of a triangle whose vertices she has already drawn. For example, she can draw the circumcenter $O$ of triangle $A B C$, and then afterwards she can draw the circumcenter of triangle $A B O$. + +(a) Prove that Amy can eventually draw a point whose distance from a previously drawn point is greater than 7 . + +(b) Prove that Amy can eventually draw a point whose distance from a previously drawn point is greater than 2019. + +(Recall that the circumcenter of a triangle is the center of the circle that passes through its three vertices.) + +## Solution. + +(a) Given triangle $\triangle A B C$, Amy can draw the following points: + +- $O$ is the circumcenter of $\triangle A B C$ +- $A_{1}$ is the circumcenter of $\triangle B O C$ +- $A_{2}$ is the circumcenter of $\triangle O B A_{1}$ +- $A_{3}$ is the circumcenter of $\triangle B A_{2} A_{1}$ + +We claim that $A A_{3}>7$. We present two ways to prove this claim. + +First Method: By symmetry of the equilateral triangle $\triangle A B C$, we have $\angle A O B=\angle B O C=\angle C O A=120^{\circ}$. Since $O B=O C$ and $A_{1} B=A_{1} O=A_{1} C$, we deduce that $\triangle A_{1} O B \cong \triangle A_{1} O C$, and hence $\angle B O A_{1}=\angle C O A_{1}=60^{\circ}$. Therefore, since $\triangle A_{1} O B$ is isosceles, it must be equilateral. As we found for our original triangle, we find $\angle B A_{2} A_{1}=120^{\circ}$, and so $\angle A_{2} B A_{1}=\angle A_{2} A_{1} B=30^{\circ}$ (since + +![](https://cdn.mathpix.com/cropped/2024_04_17_a44cdb2aaa22cdcae469g-1.jpg?height=735&width=678&top_left_y=1210&top_left_x=1358) + +A competition of the Canadian Mathematical Society and supported by the Actuarial Profession. +![](https://cdn.mathpix.com/cropped/2024_04_17_a44cdb2aaa22cdcae469g-1.jpg?height=320&width=1276&top_left_y=2098&top_left_x=240) +$\left.A_{2} B=A_{2} A_{1}\right)$. Also we see that $\angle O B A_{2}=30^{\circ}=\angle O B C$, which shows that $A_{2}$ lies on the segment $B C$. + +Applying the Law of Sines to $\triangle B O C$, we obtain + +$$ +O C=\frac{B C \sin (\angle O B C)}{\sin (\angle B O C)}=\frac{6(1 / 2)}{\sqrt{3} / 2}=2 \sqrt{3} . +$$ + +By symmetry, we see that (i) $O A_{1}$ is the bisector of $\angle B O C$ and the perpendicular bisector of $B C$, and (ii) the three points $A, O$, and $A_{1}$ are collinear. Therefore $A_{1} A=A_{1} O+O A=2 O A=4 \sqrt{3}$. + +The same argument that we used to show $\triangle A_{1} O B$ is equilateral with side $A C / \sqrt{3}$ shows that $\triangle A_{3} A_{2} A_{1}$ is equilateral with side $O B / \sqrt{3}=2$. Thus $\angle A_{3} A_{1} O=\angle O A_{1} B+\angle A_{3} A_{1} A_{2}-\angle A_{2} A_{1} B=$ $60^{\circ}+60^{\circ}-30^{\circ}=90^{\circ}$. Hence we can apply the Pythagorean Theorem: + +$$ +A_{3} A=\sqrt{\left(A_{3} A_{1}\right)^{2}+\left(A_{1} A\right)^{2}}=\sqrt{2^{2}+(4 \sqrt{3})^{2}}=\sqrt{52}>\sqrt{49}=7 . +$$ + +Second Method: (An alternative to writing the justifications of the constructions in the First Method is to use analytic geometry. Once the following coordinates are found using the kind of reasoning in the First Method or by other means, the writeup can justify them succinctly by computing distances.) Label $(0,0)$ as $B,(6,0)$ as $C$, and $(3, \sqrt{3})$ as $A$. Then we have $A B=B C=C A=6$. + +The circumcenter $O$ of $\triangle A B C$ is $(3, \sqrt{3})$; this can be verified by observing $O A=O B=O C=2 \sqrt{3}$. Next, the point $A_{1}=(3,-\sqrt{3})$ satisfies $A_{1} O=A_{1} B=A_{1} C=2 \sqrt{3}$, so $A_{1}$ is the circumcenter of $\triangle B O C$. + +The point $A_{2}=(2,0)$ satisfies $A_{2} O=A_{2} B=A_{2} A_{1}=2$, so this is the circumcenter of $\triangle O B A_{1}$. + +And the point $A_{3}=(1,-\sqrt{3})$ satisfies $A_{3} B=A_{3} A_{2}=A_{3} A_{1}=2$, so this is the circumcenter of $\triangle B A_{2} A_{1}$. + +Finally, we compute $A_{3} A=\sqrt{52}>\sqrt{49}=7$, and part (a) is proved. + +(b) In part (a), using either method we find that $O A_{3}=4>2 \sqrt{3}=O A$. By rotating the construction of part (a) by $\pm 120^{\circ}$ about $O$, Amy can construct $B_{3}$ and $C_{3}$ such that $\triangle A_{3} B_{3} C_{3}$ is equilateral with circumcenter $O$ and circumradius 4 , which is strictly bigger than the circumradius $2 \sqrt{3}$ of $\triangle A B C$. Amy can repeat this process starting from $\triangle A_{3} B_{3} C_{3}$. After $n$ iterations of the process, Amy will have drawn the vertices of an equilateral triangle whose circumradius is $2 \sqrt{3}\left(\frac{4}{2 \sqrt{3}}\right)^{n}$, which is bigger than 2019 when $n$ is sufficiently large. + +2. Let $a$ and $b$ be positive integers such that $a+b^{3}$ is divisible by $a^{2}+3 a b+3 b^{2}-1$. Prove that $a^{2}+3 a b+3 b^{2}-1$ is divisible by the cube of an integer greater than 1 . + +## Solution. + +Let $Z=a^{2}+3 a b+3 b^{2}-1$. By assumption, there is a positive integer $c$ such that $c Z=a+b^{3}$. Noticing the resemblance between the first three terms of $Z$ and those of the expansion of $(a+b)^{3}$, we are led to + +$$ +(a+b)^{3}=a\left(a^{2}+3 a b+3 b^{2}\right)+b^{3}=a(Z+1)+b^{3}=a Z+a+b^{3}=a Z+c Z . +$$ + +Thus $Z$ divides $(a+b)^{3}$. + +Let the prime factorization of $a+b$ be $p_{1}^{e_{1}} p_{2}^{e_{2}} \cdots p_{k}^{e_{k}}$ and let $Z=p_{1}^{f_{1}} p_{2}^{f_{2}} \cdots p_{k}^{f_{k}}$, where $f_{i} \leq 3 e_{i}$ for each $i$ since $Z$ divides $(a+b)^{3}$. If $Z$ is not divisible by a perfect cube greater than one, then $0 \leq f_{i} \leq 2$ and hence $f_{i} \leq 2 e_{i}$ for each $i$. This implies that $Z$ divides $(a+b)^{2}$. However, $(a+b)^{2}0$. Since the vertices of $A$ have a perfect matching, $|A|$ is even, and since $n$ is even, so is $|B|$. If the other player adds an edge between two vertices of $A$, add an edge between two vertices of $B$. If the other player adds an edge between two vertices of $B$, add an edge between one of those vertices an a vertex of $A$ (but on the first round, when $A$ is empty, respond by adding an edge between two other vertices of $B)$. If the other player adds an edge between a vertex in $A$ and a vertex in $B$, then since $|B|$ is even, there must be another vertex of $B$. Connect these two vertices in $B$ with an edge. None of these moves can form a cycle and thus are legal. Furthermore, all of them achieve (1) and (2), proving the claim. + +We now show that David has a winning strategy if $n \equiv 2(\bmod 4)$. Since the graph begins empty and therefore good, David has a strategy of legal moves to ensure that the graph contains a perfect matching after no more than $n$ moves. After this, let David implement any strategy where he picks a legal move if one is available to him. Assume for contradiction that there is a turn where David has no legal moves. This graph must be a complete bipartite graph containing a perfect matching. If one of the sets in the bipartition has size greater than $n / 2$, it must contain two vertices matched in the perfect matching, which is impossible. Therefore there are $n / 2$ vertices in each part and $n^{2} / 4$ edges have been added in total, which is an odd number. This contradicts the fact that it is David's turn, and proves the result for $n \equiv 2(\bmod 4)$. + +Finally, consider the case that $n \equiv 0(\bmod 4)$. Note that after David's first turn, the graph contains a single edge and thus is good. This implies that Jacob can ensure the graph contains a perfect matching and win by the above parity argument. + diff --git a/CANADA_MO/md/en-sol2020.md b/CANADA_MO/md/en-sol2020.md new file mode 100644 index 0000000000000000000000000000000000000000..f1356ac69efa1876315a5eeeb7739e635737fd9b --- /dev/null +++ b/CANADA_MO/md/en-sol2020.md @@ -0,0 +1,140 @@ +# Canadian Mathematical Olympiad 2020 + +## Official Solutions + +A full list of our competition sponsors and partners is available online at
https://cms.math.ca/Competitions/Sponsors/ + +1. Let $S$ be a set of $n \geq 3$ positive real numbers. Show that the largest possible number of distinct integer powers of three that can be written as the sum of three distinct elements of $S$ is $n-2$. + +Solution: We will show by induction that for all $n \geq 3$, it holds that at most $n-2$ powers of three are sums of three distinct elements of $S$ for any set $S$ of positive real numbers with $|S|=n$. This is trivially true when $n=3$. Let $n \geq 4$ and consider the largest element $x \in S$. The sum of $x$ and any two other elements of $S$ is strictly between $x$ and $3 x$. Therefore $x$ can be used as a summand for at most one power of three. By the induction hypothesis, at most $n-3$ powers of three are sums of three distinct elements of $S \backslash\{x\}$. This completes the induction. + +Even if it was not asked to prove, we will now show that the optimal answer $n-2$ is reached. Observe that the set $S=\left\{1,2,3^{2}-3,3^{3}-3, \ldots, 3^{n}-3\right\}$ is such that $3^{2}, 3^{3}, \ldots, 3^{n}$ can be expressed as sums of three distinct elements of $S$. This makes use of the fact that each term of the form $3^{k}-3$ can be used in exactly one sum of three terms equal to $3^{k}$. + +## A competition of the Canadian Mathematical Society and + + supported by the Actuarial Profession.![](https://cdn.mathpix.com/cropped/2024_04_17_c27bea8883520e3eef3cg-1.jpg?height=334&width=1282&top_left_y=2091&top_left_x=234) + +## Expertise. Insight. Solutions. + +2. A circle is inscribed in a rhombus $A B C D$. Points $P$ and $Q$ vary on line segments $\overline{A B}$ and $\overline{A D}$, respectively, so that $\overline{P Q}$ is tangent to the circle. Show that for all such line segments $\overline{P Q}$, the area of triangle $C P Q$ is constant. + +![](https://cdn.mathpix.com/cropped/2024_04_17_c27bea8883520e3eef3cg-2.jpg?height=566&width=767&top_left_y=644&top_left_x=728) + +## Solution. + +Let the circle be tangent to $\overline{P Q}, \overline{A B}, \overline{A D}$ at $T, U$, and $V$, respectively. Let $p=P T=P U$ and $q=Q T=Q V$. Let $a=A U=A V$ and $b=B U=D V$. Then the side length of the rhombus is $a+b$. + +![](https://cdn.mathpix.com/cropped/2024_04_17_c27bea8883520e3eef3cg-2.jpg?height=574&width=784&top_left_y=1510&top_left_x=711) + +Let $\theta=\angle B A D$, so $\angle A B C=\angle A D C=180^{\circ}-\theta$. Then (using the notation [XYZ] for the area of a triangle of vertices $X, Y, Z$ ) + +$$ +\begin{aligned} +& {[A P Q]=\frac{1}{2} \cdot A P \cdot A Q \cdot \sin \theta=\frac{1}{2}(a-p)(a-q) \sin \theta} \\ +& {[B C P]=\frac{1}{2} \cdot B P \cdot B C \cdot \sin \left(180^{\circ}-\theta\right)=\frac{1}{2}(b+p)(a+b) \sin \theta} \\ +& {[C D Q]=\frac{1}{2} \cdot D Q \cdot C D \cdot \sin \left(180^{\circ}-\theta\right)=\frac{1}{2}(b+q)(a+b) \sin \theta} +\end{aligned} +$$ + +SO + +$$ +\begin{aligned} +{[C P Q] } & =[A B C D]-[A P Q]-[B C P]-[C D Q] \\ +& =(a+b)^{2} \sin \theta-\frac{1}{2}(a-p)(a-q) \sin \theta-\frac{1}{2}(b+p)(a+b) \sin \theta-\frac{1}{2}(b+q)(a+b) \sin \theta \\ +& =\frac{1}{2}\left(a^{2}+2 a b-b p-b q-p q\right) \sin \theta +\end{aligned} +$$ + +Let $O$ be the center of the circle, and let $r$ be the radius of the circle. Let $x=\angle T O P=\angle U O P$ and $y=\angle T O Q=\angle V O Q$. Then $\tan x=\frac{p}{r}$ and $\tan y=\frac{q}{r}$. + +![](https://cdn.mathpix.com/cropped/2024_04_17_c27bea8883520e3eef3cg-3.jpg?height=567&width=767&top_left_y=893&top_left_x=728) + +Note that $\angle U O V=2 x+2 y$, so $\angle A O U=x+y$. Also, $\angle A O B=90^{\circ}$, so $\angle O B U=x+y$. Therefore, + +$$ +\tan (x+y)=\frac{a}{r}=\frac{r}{b} +$$ + +so $r^{2}=a b$. But + +$$ +\frac{r}{b}=\tan (x+y)=\frac{\tan x+\tan y}{1-\tan x \tan y}=\frac{\frac{p}{r}+\frac{q}{r}}{1-\frac{p}{r} \cdot \frac{q}{r}}=\frac{r(p+q)}{r^{2}-p q}=\frac{r(p+q)}{a b-p q} . +$$ + +Hence, $a b-p q=b p+b q$, so $b p+b q+p q=a b$. Therefore, + +$$ +[C P Q]=\frac{1}{2}\left(a^{2}+2 a b-b p-b q-p q\right) \sin \theta=\frac{1}{2}\left(a^{2}+a b\right) \sin \theta +$$ + +which is constant. + +Alternate Solution: Let $O$ be the center of the circle and $r$ its radius. Then $[C P Q]=[C D Q P B]-$ $[C D Q]-[C B P]$, where $[\ldots]$ denotes area of the polygon with given vertices. Note that $[C D Q P B]$ is half $r$ times the perimeter of $C D Q P B$. Note that the heights of $C D Q$ and $C B P$ are $2 r$ so $[C D Q]=r \cdot D Q$ and $[C B P]=r \cdot P B$. Using the fact that $Q T=Q V$ and $P U=P T$, it now follows that $[C P Q]=[O V D C B U]-[C D V]-[C B U]$, which is independent of $P$ and $Q$. + +3. A purse contains a finite number of coins, each with distinct positive integer values. Is it possible that there are exactly 2020 ways to use coins from the purse to make the value 2020 ? + +Solution: It is possible. + +Consider a coin purse with coins of values 2,4,8,2014,2016,2018, 2020 and every odd number between 503 and 1517. Call such a coin big if its value is between 503 and 1517. Call a coin small if its value is 2,4 or 8 and huge if its value is 2014,2016,2018 or 2020. Suppose some subset of these coins contains no huge coins and sums to 2020. If it contains at least four big coins, then its value must be at least $503+505+507+509>2020$. Furthermore since all of the small coins are even in value, if the subset contains exactly one or three big coins, then its value must be odd. Thus the subset must contain exactly two big coins. The eight possible subsets of the small coins have values $0,2,4,6,8,10,12,14$. Therefore the ways to make the value 2020 using no huge coins correspond to the pairs of big coins with sums 2006,2008,2010,2012,2014,2016,2018 and 2020. The numbers of such pairs are $250,251,251,252,252,253,253,254$, respectively. Thus there are exactly 2016 subsets of this coin purse with value 2020 using no huge coins. There are exactly four ways to make a value of 2020 using huge coins; these are $\{2020\},\{2,2018\},\{4,2016\}$ and $\{2,4,2014\}$. Thus there are exactly 2020 ways to make the value 2020 . + +Alternate construction: Take the coins $1,2, \ldots, 11,1954,1955, \ldots, 2019$. The only way to get 2020 is a non-empty subset of $1, \ldots, 11$ and a single large coin. There are 2047 non-empty such subsets of sums between 1 and 66 . Thus they each correspond to a unique large coin making 2020, so we have 2047 ways. Thus we only need to remove some large coins, so that we remove exactly 27 small sums. This can be done, for example, by removing coins $2020-n$ for $n=1,5,6,7,8,9$, as these correspond to $1+3+4+5+6+8=27$ partitions into distinct numbers that are at most 11 . + +4. Let $S=\{1,4,8,9,16, \ldots\}$ be the set of perfect powers of integers, i.e. numbers of the form $n^{k}$ where $n, k$ are positive integers and $k \geq 2$. Write $S=\left\{a_{1}, a_{2}, a_{3} \ldots\right\}$ with terms in increasing order, so that $a_{1}