| {"year": "2024", "tier": "T0", "problem_label": "1", "problem_type": null, "exam": "IMO", "problem": "Find all real numbers \\(\\alpha\\) so that, for every positive integer \\(n\\) , the integer \n\n\\[|\\alpha | + |2\\alpha | + |3\\alpha | + \\dots +|n\\alpha |\\] \n\nis divisible by \\(n\\)", "solution": ". \n\nThe answer is that \\(\\alpha\\) must be an even integer. Let \\(S(n,\\alpha)\\) denote the sum in question. \n\n\\(\\P\\) Analysis for \\(\\alpha\\) an integer. If \\(\\alpha\\) is an integer, then the sum equals \n\n\\[S(n,\\alpha) = (1 + 2 + \\cdot \\cdot \\cdot +n)\\alpha = \\frac{n(n + 1)}{2}\\cdot \\alpha\\] \n\nwhich is obviously a multiple of \\(n\\) if \\(2\\mid \\alpha\\) ; meanwhile, if \\(\\alpha\\) is an odd integer then \\(n = 2\\) gives a counterexample. \n\n\\(\\P\\) Main case. Suppose \\(\\alpha\\) is not an integer; we show the desired condition can never be true. Note that replacing \\(\\alpha\\) with \\(\\alpha \\pm 2\\) changes by \n\n\\[S(n\\pm 2,\\alpha) - S(n,\\alpha) = 2(1 + 2 + \\cdot \\cdot \\cdot +n) = n(n + 1)\\equiv 0\\pmod {n}\\] \n\nfor every \\(n\\) . Thus, by shifting appropriately we may assume \\(- 1< \\alpha < 1\\) and \\(\\alpha \\notin \\mathbb{Z}\\) \n\n. If \\(0< \\alpha < 1\\) , then let \\(m\\geq 2\\) be the smallest integer such that \\(m\\alpha \\geq 1\\) . Then \n\n\\[S(m,\\alpha) = \\underbrace{0 + \\cdot \\cdot \\cdot +0 + 1}_{m - 1\\mathrm{~terms}} = 1\\] \n\nis not a multiple of \\(m\\) \n\n. If \\(- 1< \\alpha < 0\\) , then let \\(m\\geq 2\\) be the smallest integer such that \\(m\\alpha \\leq - 1\\) . Then \n\n\\[S(m,\\alpha) = \\underbrace{(-1) + \\cdot \\cdot \\cdot +(-1)}_{m - 1\\mathrm{~terms}} + 0 = -(m - 1)\\] \n\nis not a multiple of \\(m\\)", "metadata": {"resource_path": "IMO/segmented/en-IMO-2024-notes.jsonl", "problem_match": "1. ", "solution_match": "## \\(\\S 1.1\\) IMO 2024/1, proposed by Santiago Rodriguez (COL) \n"}} |
| {"year": "2024", "tier": "T0", "problem_label": "2", "problem_type": null, "exam": "IMO", "problem": "For which pairs of positive integers \\((a,b)\\) is the sequence \n\n\\[\\gcd (a^{n} + b,b^{n} + a)\\qquad n = 1,2,\\ldots\\] \n\neventually constant?", "solution": "The answer is \\((a,b) = (1,1)\\) only, which obviously works since the sequence is always 2. Conversely, assume the sequence \n\n\\[x_{n}:= \\gcd (a^{n} + b,b^{n} + a)\\] \n\nis eventually constant. The main crux of the other direction is to consider \n\n\\[M:= ab + 1.\\] \n\nRemark (Motivation). The reason to consider the number is the same technique used in IMO 2005/4, namely the idea to consider \" \\(n = - 1\\) \". The point is that the two rational numbers \n\n\\[\\frac{1}{a} +b = \\frac{ab + 1}{b},\\qquad \\frac{1}{b} +a = \\frac{ab + 1}{a}\\] \n\nhave a large common factor: we could write \" \\(x_{- 1} = ab + 1\\) \", loosely speaking. \n\nNow, the sequence is really only defined for \\(n\\geq 1\\) , so one should instead take \\(n\\equiv - 1\\) (mod \\(\\phi (M)\\) ) — and this is exactly what we do. \n\nObviously \\(\\gcd (a,M) = \\gcd (b,M) = 1\\) . Let \\(n\\) be a sufficiently large multiple of \\(\\phi (M)\\) so that \n\n\\[x_{n - 1} = x_{n} = x_{n + 1} = \\dots .\\] \n\nWe consider the first three terms: the first one is the \"key\" one that gets the bulk of the work, and the rest is bookkeeping and extraction. \n\nConsider \\(x_{n - 1}\\) . Note that \n\n\\[a(a^{n - 1} + b) = a^{n} + ab\\equiv 1 + (-1)\\equiv 0\\pmod {M}\\] \n\nand similarly \\(b(b^{n} + a)\\equiv 0\\) (mod \\(M\\) ). Hence \\(M\\mid x_{n - 1}\\) \n\nConsider \\(x_{n}\\) , which is now known to be divisible by \\(M\\) . Note that \n\n\\[0\\equiv a^{n} + b\\equiv 1 + b\\pmod {M\\] \\[0\\equiv b^{n} + a\\equiv 1 + a\\pmod {M\\] \n\nSo \\(a\\equiv b\\equiv - 1\\) (mod \\(M\\) ). \n\nConsider \\(x_{n + 1}\\) , which is now known to be divisible by \\(M\\) . Note that \n\n\\[0\\equiv a^{n + 1} + b\\equiv b^{n + 1} + a\\equiv a + b\\pmod {M}.\\] \n\nWe knew \\(a\\equiv b\\equiv - 1\\) (mod \\(M\\) ), hence this means \\(0\\equiv 2\\) (mod \\(M\\) ), so \\(M = 2\\) . From \\(M = 2\\) we then conclude \\(a = b = 1\\) , as desired.\n\n\n\nRemark (No alternate solutions known). At the time nobody seems to know any solution not depending critically on \\(M = ab + 1\\) (or prime numbers dividing \\(M\\) , etc.). They vary in execution once some term of the form \\(x_{k \\varphi (n) - 1}\\) is taken, but avoiding the key idea altogether does not currently seem possible. \n\nA good example to consider for ruling out candidate ideas is \\((a, b) = (18, 9)\\) .", "metadata": {"resource_path": "IMO/segmented/en-IMO-2024-notes.jsonl", "problem_match": "2. ", "solution_match": "## \\(\\S 1.2\\) IMO 2024/2, proposed by Valentino Iverson (IDN) \n"}} |
| {"year": "2024", "tier": "T0", "problem_label": "3", "problem_type": null, "exam": "IMO", "problem": "Let \\(a_{1}\\) , \\(a_{2}\\) , \\(a_{3}\\) , ... be an infinite sequence of positive integers, and let \\(N\\) be a positive integer. Suppose that, for each \\(n > N\\) , the number \\(a_{n}\\) is equal to the number of times \\(a_{n - 1}\\) appears in the list \\((a_{1},a_{2},\\ldots ,a_{n - 1})\\) . Prove that at least one of the sequences \\(a_{1}\\) , \\(a_{3}\\) , \\(a_{5}\\) , ... and \\(a_{2}\\) , \\(a_{4}\\) , \\(a_{6}\\) , ... is eventually periodic.", "solution": "We present the solution from \"gigamilkmen'tgeg\" in https://aops.com/community/p31224483, with some adaptation from the first shortlist official solution as well. Set \\(M:= \\max (a_{1},\\ldots ,a_{N})\\) . \n\n\\(\\P\\) Setup. We will visualize the entire process as follows. We draw a stack of towers labeled 1, 2, ..., each initially empty. For \\(i = 1,2,\\ldots\\) , we imagine the term \\(a_{i}\\) as adding a block \\(B_{i}\\) to tower \\(a_{i}\\) . \n\nThen there are \\(N\\) initial blocks placed, colored red. The rest of the blocks are colored yellow: if the last block \\(B_{i}\\) was added to a tower that then reaches height \\(a_{i + 1}\\) , the next block \\(B_{i + 1}\\) is added to tower \\(a_{i + 1}\\) . We'll say \\(B_{i}\\) contributes to the tower containing \\(B_{i + 1}\\) . \n\nIn other words, the yellow blocks \\(B_{i}\\) for \\(i > N\\) are given coordinates \\(B_{i} = (a_{i},a_{i + 1})\\) for \\(i > N\\) . Note in particular that in towers \\(M + 1\\) , \\(M + 2\\) , ..., the blocks are all yellow. \n\n\n \n\nWe let \\(h_{\\ell}\\) denote the height of the \\(\\ell^{\\mathrm{th}}\\) tower at a given time \\(n\\) . (This is an abuse of notation and we should write \\(h_{\\ell}(n)\\) at time \\(n\\) , but \\(n\\) will always be clear from context.) \n\n\\(\\P\\) Up to alternating up and down. We start with two independent easy observations: the set of numbers that occur infinitely often is downwards closed, and consecutive terms cannot both be huge.\n\n\n\n \n\nClaim — If the \\((k + 1)^{\\mathrm{st}}\\) tower grows arbitrarily high, so does tower \\(k\\) . In fact, there exists a constant \\(C\\) such that \\(h_{k} \\geq h_{k + 1} - C\\) at all times. \n\nProof. Suppose \\(B_{n}\\) is a yellow block in tower \\(k + 1\\) . Then with at most finitely many exceptions, \\(B_{n - 1}\\) is a yellow block at height \\(k + 1\\) , and the block \\(B_{r}\\) right below \\(B_{n - 1}\\) is also yellow; then \\(B_{r + 1}\\) is in tower \\(k\\) . Hence, with at most finitely many exceptions, the map \n\n\\[B_{n}\\mapsto B_{n - 1}\\mapsto B_{r}\\mapsto B_{r + 1}\\] \n\nprovides an injective map taking each yellow block in tower \\(k + 1\\) to a yellow block in tower \\(k\\) . (The figure above shows \\(B_{32} \\to B_{31} \\to B_{19} \\to B_{20}\\) as an example.) \\(\\square\\) \n\nClaim — If \\(a_{n} > M\\) then \\(a_{n + 1} \\leq M\\) . \n\nProof. Assume for contradiction there's a first moment where \\(a_{n} > M\\) and \\(a_{n + 1} > M\\) , meaning the block \\(B_{n}\\) was added to an all- yellow tower past \\(M\\) that has height exceeding \\(M\\) . (This is the X'ed out region in the figure above.) In \\(B_{n}\\) 's tower, every (yellow) block (including \\(B_{n}\\) ) was contributed by a block placed in different towers at height \\(a_{n} > M\\) . So before \\(B_{n}\\) , there were already \\(a_{n + 1} > M\\) towers of height more than \\(M\\) . This contradicts minimality of \\(n\\) . \\(\\square\\) \n\nIt follows that the set of indices with \\(a_{n} \\leq M\\) has arithmetic density at least half, so certainly at least some of the numbers must occur infinitely often. Of the numbers in \\(\\{1, 2, \\ldots , M\\}\\) , define \\(L\\) such that towers 1 through \\(L\\) grow unbounded but towers \\(L + 1\\) through \\(M\\) do not. Then we can pick a larger threshold \\(N' > N\\) such that\n\n\n\n- Towers 1 through \\(L\\) have height greater than \\((M, N)\\) ; \n\n- Towers \\(L + 1\\) through \\(M\\) will receive no further blocks; \n\n- \\(a_{N^{\\prime}} \\leq L\\) . \n\nAfter this threshold, the following statement is true: \n\nClaim (Alternating small and big) — The terms \\(a_{N^{\\prime}}\\) , \\(a_{N^{\\prime} + 2}\\) , \\(a_{N^{\\prime} + 4}\\) , ... are all at most \\(L\\) while the terms \\(a_{N^{\\prime} + 1}\\) , \\(a_{N^{\\prime} + 3}\\) , \\(a_{N^{\\prime} + 5}\\) , ... are all greater than \\(M\\) . \n\n\\(\\P\\) Automaton for \\(n \\equiv N^{\\prime} \\pmod {2}\\) . From now on we always assume \\(n > N^{\\prime}\\) . When \\(n \\equiv N^{\\prime} \\pmod {2}\\) , i.e., when \\(a_{n}\\) is small, we define the state \n\n\\[S(n) = (h_{1}, h_{2}, \\ldots , h_{L}; a_{n}).\\] \n\nFor example, in the figure below, we illustrate how \n\n\\[S(34) = (9, 11; a_{34} = 1) \\longrightarrow S(36) = (9, 12; a_{36} = 2)\\] \n\n\n \n\nThe final element \\(a_{n}\\) simply reminds us which tower was most recently incremented. At this point we can give a complete description of how to move from \\(S(n)\\) to \\(S(n + 2)\\) : \n\n- The intermediate block \\(B_{n + 1}\\) is placed in the tower corresponding to the height \\(a_{n + 1}\\) of \\(B_{n}\\) ; \n\n- That tower will have height \\(a_{n + 2}\\) equal to the number of towers with height at least \\(a_{n + 1}\\) ; that is, it equals the cardinality of the set \n\n\\[\\{i: h_{i} \\geq h_{a_{n}}\\}\\]\n\n\n\n- We increment \\(h_{a_{n + 2}}\\) by 1 and update \\(a_{n}\\) . \n\nFor example, the illustrated \\(S(34) \\to S(36)\\) corresponds to the block \\(B_{34}\\) at height \\(h_{1}\\) in tower 1 giving the block \\(B_{35}\\) at height 2 in tower \\(h_{1}\\) , then block \\(B_{36}\\) at height \\(h_{2} + 1\\) being placed in tower 2. \n\nPigeonhole periodicity argument. Because only the relative heights matter in the automata above, if we instead define \n\n\\[T(n) = (h_{1} - h_{2},h_{2} - h_{3},\\ldots ,h_{L - 1} - h_{L};a_{n}).\\] \n\nthen \\(T(n + 2)\\) can be determined from just \\(T(n)\\) . \n\nSo it would be sufficient to show \\(T(n)\\) only takes on finitely many values to show that \\(T(n)\\) (and hence \\(a_{n}\\) ) is eventually periodic. \n\nSince we have the bound \\(h_{k + 1} \\leq h_{k} + C\\) , we are done upon proving the following lower bound: \n\nClaim — For every \\(1 \\leq \\ell < L\\) and \\(n > N'\\) , we have \\(h_{\\ell} \\leq h_{\\ell + 1} + C \\cdot (L - 1)\\) . \n\nProof. Assume for contradiction that there is some moment \\(n > N'\\) such that \n\n\\[h_{\\ell} > h_{\\ell +1} + C\\cdot (L - 1)\\] \n\nand WLOG assume that \\(h_{\\ell}\\) was just updated at the moment \\(n\\) . Together with \\(h_{k + 1} \\leq h_{k} + C\\) for all \\(k\\) and triangle inequality, we conclude \n\n\\[\\min (h_{1},\\ldots ,h_{\\ell}) > q:= \\max (h_{\\ell +1},\\ldots ,h_{L}).\\] \n\nWe find that the blocks now in fact alternate between being placed among the first \\(\\ell\\) towers and in towers with indices greater than \\(q\\) thereafter. Hence the heights \\(h_{\\ell +1}\\) , ..., \\(h_{L}\\) never grow after this moment. This contradicts the definition of \\(L\\) . \\(\\square\\) \n\nRemark. In fact, it can be shown that the period is actually exactly \\(L\\) , meaning the periodic part will be exactly a permutation of \\((1,2,\\ldots ,L)\\) . For any \\(L\\) , it turns out there is indeed a permutation achieving that periodic part.\n\n\n\n## \\(\\S 2\\) Solutions to Day 2", "metadata": {"resource_path": "IMO/segmented/en-IMO-2024-notes.jsonl", "problem_match": "3. ", "solution_match": "## \\(\\S 1.3\\) IMO 2024/3, proposed by William Steinberg (AUS) \n"}} |
| {"year": "2024", "tier": "T0", "problem_label": "4", "problem_type": null, "exam": "IMO", "problem": "Let triangle \\(A B C\\) with incenter \\(I\\) satisfying \\(A B< A C< B C\\) . Let \\(X\\) be a point on line \\(B C\\) , different from \\(C\\) , such that the line through \\(X\\) and parallel to \\(A C\\) is tangent to the incircle. Similarly, let \\(Y\\) be a point on line \\(B C\\) , different from \\(B\\) , such that the line through \\(Y\\) and parallel to \\(A B\\) is tangent to the incircle. Line \\(A I\\) intersects the circumcircle of triangle \\(A B C\\) again at \\(P\\) . Let \\(K\\) and \\(L\\) be the midpoints of \\(A C\\) and \\(A B\\) , respectively. Prove that \\(\\angle K I L + \\angle Y P X = 180^{\\circ}\\) .", "solution": "be the reflection of \\(A\\) over \\(I\\) , the most important point to add since it gets rid of \\(K\\) and \\(L\\) as follows. \n\nClaim — We have \\(\\angle KIL = \\angle BTC\\) , and lines \\(TX\\) and \\(TY\\) are tangent to the incircle. \n\nProof. The first part is true since \\(\\triangle BTC\\) is the image of \\(\\triangle KIL\\) under a homothety of ratio 2. The second part is true because lines \\(AB\\) , \\(AC\\) , \\(TX\\) , \\(TY\\) determine a rhombus with center \\(I\\) . \\(\\square\\) \n\nWe thus delete \\(K\\) and \\(L\\) from the picture altogether; they aren't needed anymore. \n\n\n\n\n\n\nClaim — We have \\(B X P T\\) and \\(C Y P T\\) are cyclic. \n\nProof. \\(\\angle T Y C = \\angle T Y B = \\angle A B C = \\angle A P C = \\angle T P C\\) and similarly. (Some people call this Reim's theorem.) \\(\\square\\) \n\nTo finish, observe that \n\n\\[\\angle C T B = \\angle C T P + \\angle P T B = \\angle C Y P + \\angle P X B = \\angle X Y P + \\angle X Y P = \\angle X P Y\\] \n\nas desired. (The length conditions \\(A C > A B > B C\\) ensure that \\(B\\) , \\(X\\) , \\(Y\\) , \\(C\\) are collinear in that order, and that \\(T\\) lies on the opposite side of \\(\\overline{B C}\\) as \\(A\\) . Hence the directed equality \\(\\angle C T B = \\angle X P Y\\) translates to the undirected \\(\\angle B T C + \\angle X P Y = 180^{\\circ}\\) .)", "metadata": {"resource_path": "IMO/segmented/en-IMO-2024-notes.jsonl", "problem_match": "4. ", "solution_match": "## \\(\\S 2.1\\) IMO 2024/4, proposed by Dominik Burek (POL) \n"}} |
| {"year": "2024", "tier": "T0", "problem_label": "5", "problem_type": null, "exam": "IMO", "problem": "Turbo the snail is in the top row of a grid with 2024 rows and 2023 columns and wants to get to the bottom row. However, there are 2022 hidden monsters, one in every row except the first and last, with no two monsters in the same column. \n\nTurbo makes a series of attempts to go from the first row to the last row. On each attempt, he chooses to start on any cell in the first row, then repeatedly moves to an orthogonal neighbor. (He is allowed to return to a previously visited cell.) If Turbo reaches a cell with a monster, his attempt ends and he is transported back to the first row to start a new attempt. The monsters do not move between attempts, and Turbo remembers whether or not each cell he has visited contains a monster. If he reaches any cell in the last row, his attempt ends and Turbo wins. \n\nFind the smallest integer \\(n\\) such that Turbo has a strategy which guarantees being able to reach the bottom row in at most \\(n\\) attempts, regardless of how the monsters are placed.", "solution": "Surprisingly the answer is \\(n = 3\\) for any grid size \\(s\\times (s - 1)\\) when \\(s\\geq 4\\) . We prove this in that generality. \n\n\\(\\P\\) Proof that at least three attempts are needed. When Turbo first moves into the second row, Turbo could encounter a monster \\(M_{1}\\) right away. Then on the next attempt, Turbo must enter the third row in different column as \\(M_{1}\\) , and again could encounter a monster \\(M_{2}\\) right after doing so. This means no strategy can guarantee fewer than three attempts. \n\n\\(\\P\\) Strategy with three attempts. On the first attempt, we have Turbo walk through the entire second row until he finds the monster \\(M_{1}\\) in it. Then we get two possible cases. \n\nCase where \\(M_{1}\\) is not on the edge. In the first case, if that monster \\(M_{1}\\) is not on the edge of the row, then Turbo can trace two paths below it as shown below. At least one of these paths works, hence three attempts is sufficient. \n\n\n \n\nCase where \\(M_{1}\\) is on the edge. WLOG, \\(M_{1}\\) is in the leftmost cell. Then Turbo follows the green staircase pattern shown in the left figure below. If the staircase is free\n\n\n\nof monsters, then Turbo wins on the second attempt. Otherwise, if a monster \\(M_{2}\\) is encountered on the staircase, Turbo has found a safe path to the left of \\(M_{2}\\) ; then Turbo can use this to reach the column \\(M_{1}\\) is in, and escape from there. This is shown in purple in the center and right figure (there are two slightly different cases depending on whether \\(M_{2}\\) was encountered going east or south). \n\n\n \n\nThus the problem is solved in three attempts, as promised. \n\n\\(\\P\\) Extended remark: all working strategies look similar to this. As far as we know, all working strategies are variations of the above. In fact, we will try to give a description of the space of possible strategies, although this needs a bit of notation. \n\nDefinition. For simplicity, we only use \\(s\\) even in the figures below. We define the happy triangle as the following cells: \n\nAll \\(s - 1\\) cells in the first row (which has no monsters). The center \\(s - 3\\) cells in the second row. The center \\(s - 5\\) cells in the third row. The center cell in the \\(\\frac{s}{2}\\) th row. \n\nFor \\(s = 12\\) , the happy triangle is the region shaded in the thick border below. \n\n\n\n\n\n\nDefinition. Given a cell, define a shoulder to be the cell directly northwest or northeast of it. Hence there are two shoulders of cells outside the first and last column, and one shoulder otherwise. \n\nThen solutions roughly must distinguish between these two cases: \n\n- Inside happy triangle: If the first monster \\(M_{1}\\) is found in the happy triangle, and there is a safe path found by Turbo to the two shoulders (marked \\(\\bigstar\\) in the figure), then one can finish in two more moves by considering the two paths from \\(\\bigstar\\) that cut under the monster \\(M_{1}\\) ; one of them must work. This slightly generalizes the easier case in the solution above (which focuses only on the case where \\(M_{1}\\) is in the first row). \n\n\n \n\n- Outside happy triangle: Now suppose the first monster \\(M_{1}\\) is outside the happy triangle. Of the two shoulders, take the one closer to the center (if in the center column, either one works; if only one shoulder, use it). If there is a safe path to that shoulder, then one can take a staircase pattern towards the center, as shown in the figure. In that case, the choice of shoulder and position guarantees the staircase reaches the bottom row, so that if no monster is along this path, the algorithm ends. Otherwise, if one encounters a second monster along the staircase, then one can use the third trial to cut under the monster \\(M_{1}\\) . \n\n\n \n\nWe now prove the following proposition: in any valid strategy for Turbo, in the case where Turbo first encounters a monster upon leaving the happy triangle, the second path must outline the same staircase shape.\n\n\n\nThe monsters pre- commit to choosing their pattern to be either a NW- SE diagonal or NE- SW diagonal, with a single one- column gap; see figure below for an example. Note that this forces any valid path for Turbo to pass through the particular gap. \n\n\n \n\nWe may assume without loss of generality that Turbo first encounters a monster \\(M_{1}\\) when Turbo first leaves the happy triangle, and that this forces an NW- SE configuration. \n\n\n \n\nThen the following is true:\n\n\n\n## Proposition \n\nPropositionThe strategy of Turbo on the second path must visit every cell in \"slightly raised diagonal\" marked with \\(\\clubsuit\\) in the figure above in order from top to bottom, until it encounters a second Monster \\(M_{2}\\) (or reaches the bottom row and wins anyway). It's both okay and irrelevant if Turbo visits other cells above this diagonal, but the marked cells must be visited from top to bottom in that order. \n\nProof. If Turbo tries to sidestep by visiting the cell southeast of \\(M_{1}\\) (marked \\(X\\) in the Figure), then Turbo clearly cannot finish after this (for \\(s\\) large enough). Meanwhile, suppose Turbo tries to \"skip\" one of the \\(\\clubsuit\\) , say in column \\(C\\) , then the gap could equally well be in the column to the left of \\(C\\) . This proves the proposition. \\(\\square\\) \n\nRemark (Memories of safe cells are important, not just monster cells). Here is one additional observation that one can deduce from this. We say a set \\(S\\) of revealed monsters is called obviously winnable if, based on only the positions of the monsters (and not the moves or algorithm that were used to obtain them), one can identify a guaranteed winning path for Turbo using only \\(S\\) . For example, two monsters in adjacent columns which are not diagonally adjacent is obviously winnable. \n\nThen no strategy can guarantee obtaining an obviously winnable set in 2 moves (or even \\(k\\) moves for any constant \\(k\\) , if \\(s\\) is large enough in terms of \\(k\\) ). So any valid strategy must also use the memory of identified safe cells that do not follow just from the revealed monster positions.", "metadata": {"resource_path": "IMO/segmented/en-IMO-2024-notes.jsonl", "problem_match": "5. ", "solution_match": "## \\(\\S 2.2\\) IMO 2024/5, proposed by Chu Cheuk Hei (HKG) \n"}} |
| {"year": "2024", "tier": "T0", "problem_label": "6", "problem_type": null, "exam": "IMO", "problem": "A function \\(f\\colon \\mathbb{Q}\\to \\mathbb{Q}\\) is called aquaesulian if the following property holds: for every \\(x,y\\in \\mathbb{Q}\\) \n\n\\[f(x + f(y)) = f(x) + y\\quad \\mathrm{or}\\quad f(f(x) + y) = x + f(y).\\] \n\nShow that there exists an integer \\(c\\) such that for any aquaesulian function \\(f\\) there are at most \\(c\\) different rational numbers of the form \\(f(r) + f(- r)\\) for some rational number \\(r\\) , and find the smallest possible value of \\(c\\) .", "solution": "We will prove that \n\n\\[\\{f(x) + f(-x)\\mid x\\in \\mathbb{Q}\\}\\] \n\ncontains at most 2 elements and give an example where there are indeed 2 elements. \n\nWe fix the notation \\(x\\to y\\) to mean that \\(f(x + f(y)) = f(x) + y\\) . So the problem statement means that either \\(x\\to y\\) or \\(y\\to x\\) for all \\(x,y\\) . In particular, we always have \\(x\\to x\\) , and hence \n\n\\[f(x + f(x)) = x + f(x)\\] \n\nfor every \\(x\\) \n\nConstruction. The function \n\n\\[f(x) = \\lfloor 2x\\rfloor -x\\] \n\ncan be seen to satisfy the problem conditions. Moreover, \\(f(0) + f(0) = 0\\) but \\(f(1 / 3) + f(- 1 / 3) = - 1\\) . \n\nRemark. Here is how I (Evan) found the construction. Let \\(h(x):= x + f(x)\\) , and let \\(S:= h(\\mathbb{Q}) = \\{h(x)\\mid x\\in \\mathbb{Q}\\}\\) . Hence \\(f\\) is the identity on all of \\(S\\) . If we rewrite the problem condition in terms of \\(h\\) instead of \\(f\\) , it asserts that at least one of the equations \n\n\\[h(x + h(y) - y) = h(x) + h(y)\\] \\[h(y + h(x) - x) = h(x) + h(y)\\] \n\nis true. In particular, \\(S\\) is closed under addition. \n\nNow, the two trivial solutions for \\(h\\) are \\(h(x) = 2x\\) and \\(h(x) = 0\\) . To get a nontrivial construction, we must also have \\(S\\neq \\{0\\}\\) and \\(S\\neq \\mathbb{Q}\\) . So a natural guess is to take \\(S = \\mathbb{Z}\\) . And indeed \\(h(x) = \\lfloor 2x\\rfloor\\) works fine. \n\nRemark. This construction is far from unique. For example, \\(f(x) = 2\\lfloor x\\rfloor - x = \\lfloor x\\rfloor - \\{x\\}\\) seems to have been more popular to find. \n\nProof (communicated by Abel George Mathew). We start by proving: \n\nClaim — \\(f\\) is injective.\n\n\n\nProof. Suppose \\(f(a) = f(b)\\) . WLOG \\(a \\to b\\) . Then \n\n\\[f(a) + a = f(a + f(a)) = f(a + f(b)) = f(a) + b \\Rightarrow a = b. \\quad (□)\\] \n\nClaim — Suppose \\(s \\to r\\) . Then either \\(f(r) + f(- r) = 0\\) or \\(f(f(s)) = s + f(r) + f(- r)\\) . \n\nProof. Take the given statement with \\(x = s + f(r)\\) and \\(y = - r\\) ; then \n\n\\[x + f(y) = s + f(r) + f(-r)\\] \\[y + f(x) = f(s + f(r)) - r = f(s).\\] \n\nBecause \\(f\\) is injective, if \\(x \\to y\\) then \\(f(r) + f(- r) = 0\\) . Meanwhile, if \\(y \\to x\\) then indeed \\(f(f(s)) = s + f(r) + f(- r)\\) . \\(\\square\\) \n\nFinally, suppose \\(a\\) and \\(b\\) are different numbers for which \\(f(a) + f(- a)\\) and \\(f(b) + f(- b)\\) are both nonzero. Again, WLOG \\(a \\to b\\) . Then \n\n\\[f(a) + f(-a) \\stackrel{a \\Rightarrow a}{=} f(f(a)) - a \\stackrel{a \\Rightarrow b}{=} f(b) + f(-b).\\] \n\nThis shows at most two values can occur. \n\nRemark. The above solution works equally well for \\(f: \\mathbb{R} \\to \\mathbb{R}\\) . But the choice of \\(\\mathbb{Q}\\) permits some additional alternate solutions. \n\nRemark. After showing \\(f\\) injective, a common lemma proved is that \\(- f(- f(x)) = x\\) , i.e. \\(f\\) is an involution. This provides some alternative paths for solutions.", "metadata": {"resource_path": "IMO/segmented/en-IMO-2024-notes.jsonl", "problem_match": "6. ", "solution_match": "## \\(\\S 2.3\\) IMO 2024/6, proposed by Japan \n"}} |
|
|