{"year": "2023", "tier": "T0", "problem_label": "1", "problem_type": null, "exam": "USA_TSTST", "problem": "Let $A B C$ be a triangle with centroid $G$. Points $R$ and $S$ are chosen on rays $G B$ and $G C$, respectively, such that $$ \\angle A B S=\\angle A C R=180^{\\circ}-\\angle B G C . $$ Prove that $\\angle R A S+\\angle B A C=\\angle B G C$.", "solution": " ![](https://cdn.mathpix.com/cropped/2024_11_19_1cf0843c143ab4f13b3fg-04.jpg?height=718&width=1192&top_left_y=1069&top_left_x=432) 【 Solution 1 using power of a point. From the given condition that $\\measuredangle A C R=\\measuredangle C G M$, we get that $$ M A^{2}=M C^{2}=M G \\cdot M R \\Longrightarrow \\measuredangle R A C=\\measuredangle M G A $$ Analogously, $$ \\measuredangle B A S=\\measuredangle A G N $$ Hence, $$ \\measuredangle R A S+\\measuredangle B A C=\\measuredangle R A C+\\measuredangle B A S=\\measuredangle M G A+\\measuredangle A G N=\\measuredangle M G N=\\measuredangle B G C . $$", "metadata": {"resource_path": "USA_TSTST/segmented/en-sols-TSTST-2023.jsonl"}} {"year": "2023", "tier": "T0", "problem_label": "1", "problem_type": null, "exam": "USA_TSTST", "problem": "Let $A B C$ be a triangle with centroid $G$. Points $R$ and $S$ are chosen on rays $G B$ and $G C$, respectively, such that $$ \\angle A B S=\\angle A C R=180^{\\circ}-\\angle B G C . $$ Prove that $\\angle R A S+\\angle B A C=\\angle B G C$.", "solution": " ![](https://cdn.mathpix.com/cropped/2024_11_19_1cf0843c143ab4f13b3fg-04.jpg?height=718&width=1192&top_left_y=1069&top_left_x=432) ब Solution 2 using similar triangles. As before, $\\triangle M G C \\sim \\triangle M C R$ and $\\triangle N G B \\sim$ $\\triangle N B S$. We obtain $$ \\frac{|A C|}{|C R|}=\\frac{2|M C|}{|C R|}=\\frac{2|M G|}{|G C|}=\\frac{|G B|}{2|N G|}=\\frac{|B S|}{2|B N|}=\\frac{|B S|}{|A B|} $$ which together with $\\angle A C R=\\angle A B S$ yields $$ \\triangle A C R \\sim \\triangle S B A \\Longrightarrow \\measuredangle B A S=\\measuredangle C R A $$ Hence $$ \\measuredangle R A S+\\measuredangle B A C=\\measuredangle R A C+\\measuredangle B A S=\\measuredangle R A C+\\measuredangle C R A=-\\measuredangle A C R=\\measuredangle B G C, $$ which proves the statement.", "metadata": {"resource_path": "USA_TSTST/segmented/en-sols-TSTST-2023.jsonl"}} {"year": "2023", "tier": "T0", "problem_label": "1", "problem_type": null, "exam": "USA_TSTST", "problem": "Let $A B C$ be a triangle with centroid $G$. Points $R$ and $S$ are chosen on rays $G B$ and $G C$, respectively, such that $$ \\angle A B S=\\angle A C R=180^{\\circ}-\\angle B G C . $$ Prove that $\\angle R A S+\\angle B A C=\\angle B G C$.", "solution": " ![](https://cdn.mathpix.com/cropped/2024_11_19_1cf0843c143ab4f13b3fg-04.jpg?height=718&width=1192&top_left_y=1069&top_left_x=432) I Solution 3 using parallelograms. Let $M$ and $N$ be defined as above. Let $P$ be the reflection of $G$ in $M$ and let $Q$ the reflection of $G$ in $N$. Then $A G C P$ and $A G B Q$ are parallelograms. ![](https://cdn.mathpix.com/cropped/2024_11_19_1cf0843c143ab4f13b3fg-05.jpg?height=694&width=1194&top_left_y=681&top_left_x=434) Claim - Quadrilaterals $A P C R$ and $A Q B S$ are concyclic. Thus from $\\overline{P C} \\| \\overline{G A}$ we get $$ \\measuredangle R A C=\\measuredangle R P C=\\measuredangle G P C=\\measuredangle P G A $$ and similarly $$ \\measuredangle B A S=\\measuredangle B Q S=\\measuredangle B Q G=\\measuredangle A G Q $$ We conclude that $$ \\measuredangle R A S+\\measuredangle B A C=\\measuredangle R A C+\\measuredangle B A S=\\measuredangle P G A+\\measuredangle A G Q=\\measuredangle P G Q=\\measuredangle B G C $$", "metadata": {"resource_path": "USA_TSTST/segmented/en-sols-TSTST-2023.jsonl"}} {"year": "2023", "tier": "T0", "problem_label": "1", "problem_type": null, "exam": "USA_TSTST", "problem": "Let $A B C$ be a triangle with centroid $G$. Points $R$ and $S$ are chosen on rays $G B$ and $G C$, respectively, such that $$ \\angle A B S=\\angle A C R=180^{\\circ}-\\angle B G C . $$ Prove that $\\angle R A S+\\angle B A C=\\angle B G C$.", "solution": " ![](https://cdn.mathpix.com/cropped/2024_11_19_1cf0843c143ab4f13b3fg-04.jpg?height=718&width=1192&top_left_y=1069&top_left_x=432) ब Solution 4 also using parallelograms, by Ankan Bhattacharya. Construct parallelograms $A R C K$ and $A S B L$. Since $$ \\measuredangle C A K=\\measuredangle A C R=\\measuredangle C G B=\\measuredangle C G K, $$ it follows that $A G C K$ is cyclic. Similarly, $A G B L$ is also cyclic. ![](https://cdn.mathpix.com/cropped/2024_11_19_1cf0843c143ab4f13b3fg-06.jpg?height=660&width=1198&top_left_y=241&top_left_x=429) Finally, observe that $$ \\begin{aligned} \\angle R A S+\\angle B A C & =\\measuredangle B A S+\\measuredangle R A C \\\\ & =\\measuredangle A B L+\\measuredangle K C A \\\\ & =\\measuredangle A G L+\\measuredangle K G A \\\\ & =\\measuredangle K G L \\\\ & =\\angle B G C \\end{aligned} $$ as requested.", "metadata": {"resource_path": "USA_TSTST/segmented/en-sols-TSTST-2023.jsonl"}} {"year": "2023", "tier": "T0", "problem_label": "1", "problem_type": null, "exam": "USA_TSTST", "problem": "Let $A B C$ be a triangle with centroid $G$. Points $R$ and $S$ are chosen on rays $G B$ and $G C$, respectively, such that $$ \\angle A B S=\\angle A C R=180^{\\circ}-\\angle B G C . $$ Prove that $\\angle R A S+\\angle B A C=\\angle B G C$.", "solution": " ![](https://cdn.mathpix.com/cropped/2024_11_19_1cf0843c143ab4f13b3fg-04.jpg?height=718&width=1192&top_left_y=1069&top_left_x=432) 『 Solution 5 using complex numbers, by Milan Haiman. Note that $\\angle R A S+\\angle B A C=$ $\\angle B A S+\\angle R A C$. We compute $\\angle B A S$ in complex numbers; then $\\angle R A C$ will then be known by symmetry. Let $a, b, c$ be points on the unit circle representing $A, B, C$ respectively. Let $g=\\frac{1}{3}(a+b+c)$ represent the centroid $G$, and let $s$ represent $S$. ## Claim - We have $$ \\frac{s-a}{b-a}=\\frac{a b-2 b c+c a}{2 a b-b c-c a} . $$ $$ s=\\frac{a+b}{2}+t(c-g) $$ for some $t \\in \\mathbb{R}$. By the given angle condition, we have that $$ \\frac{(s-b) /(b-a)}{(c-g) /(g-b)} \\in \\mathbb{R} $$ Note that $$ \\frac{s-b}{b-a}=t \\frac{c-g}{b-a}-\\frac{1}{2} $$ So, $$ t \\frac{g-b}{b-a}-\\frac{g-b}{2(c-g)} \\in \\mathbb{R} $$ Thus $$ t=\\frac{\\operatorname{Im}\\left(\\frac{g-b}{2(c-g)}\\right)}{\\operatorname{Im}\\left(\\frac{g-b}{b-a}\\right)}=\\frac{1}{2} \\cdot \\frac{\\left(\\frac{g-b}{c-g}\\right)-\\overline{\\left(\\frac{g-b}{c-g}\\right)}}{\\left(\\frac{g-b}{b-a}\\right)-\\overline{\\left(\\frac{g-b}{b-a}\\right)}} $$ Let $N$ and $D$ be the numerator and denominator of the second factor above. We want to compute $$ \\frac{s-a}{b-a}=\\frac{1}{2}+t \\frac{c-g}{b-a}=\\frac{(b-a)+2 t(c-g)}{2(b-a)}=\\frac{(b-a) D+(c-g) N}{2(b-a) D} $$ We have $$ \\begin{aligned} (c-g) N & =g-b-(c-g) \\overline{\\left(\\frac{g-b}{c-g}\\right)} \\\\ & =\\frac{a+b+c}{3}-b-\\left(c-\\frac{a+b+c}{3}\\right) \\frac{\\frac{1}{a}+\\frac{1}{b}+\\frac{1}{c}-\\frac{3}{b}}{\\frac{3}{c}-\\frac{1}{a}-\\frac{1}{b}-\\frac{1}{c}} \\\\ & =\\frac{(a+c-2 b)(2 a b-b c-c a)-(2 c-a-b)(a b+b c-2 c a)}{3(2 a b-b c-c a)} \\\\ & =\\frac{3\\left(a^{2} b+b^{2} c+c^{2} a-a b^{2}-b c^{2}-c a^{2}\\right)}{3(2 a b-b c-c a)} \\\\ & =\\frac{(a-b)(b-c)(a-c)}{2 a b-b c-c a} \\end{aligned} $$ We also compute $$ \\begin{aligned} (b-a) D & =g-b-(b-a) \\overline{\\left(\\frac{g-b}{b-a}\\right)} \\\\ & =\\frac{a+b+c}{3}-b-(b-a) \\frac{\\frac{1}{a}+\\frac{1}{b}+\\frac{1}{c}-\\frac{3}{b}}{\\frac{3}{b}-\\frac{3}{a}} \\\\ & =\\frac{(a+c-2 b) c+(a b+b c-2 c a)}{3 c} \\\\ & =\\frac{a b-b c-c a+c^{2}}{3 c} \\\\ & =\\frac{(a-c)(b-c)}{3 c} \\end{aligned} $$ So, we obtain $$ \\frac{s-a}{b-a}=\\frac{\\frac{1}{3 c}+\\frac{a-b}{2 a b-b c-c a}}{\\frac{2}{3 c}}=\\frac{2 a b-b c-c a+3 c(a-b)}{2(2 a b-b c-c a)}=\\frac{a b-2 b c+c a}{2 a b-b c-c a} $$ By symmetry, $$ \\frac{r-a}{c-a}=\\frac{a b-2 b c+c a}{2 c a-a b-b c} $$ Hence their ratio $$ \\frac{s-a}{b-a} \\div \\frac{r-a}{c-a}=\\frac{2 a b-b c-c a}{2 c a-a b-b c} $$ has argument $\\angle R A C+\\angle B A S$. We also have that $\\angle B G C$ is the argument of $$ \\frac{b-g}{c-g}=\\frac{2 b-a-c}{2 c-a-b} $$ Note that these two complex numbers are inverse-conjugates, and thus have the same argument. So we're done.", "metadata": {"resource_path": "USA_TSTST/segmented/en-sols-TSTST-2023.jsonl"}} {"year": "2023", "tier": "T0", "problem_label": "2", "problem_type": null, "exam": "USA_TSTST", "problem": "Let $n \\geq m \\geq 1$ be integers. Prove that $$ \\sum_{k=m}^{n}\\left(\\frac{1}{k^{2}}+\\frac{1}{k^{3}}\\right) \\geq m \\cdot\\left(\\sum_{k=m}^{n} \\frac{1}{k^{2}}\\right)^{2} $$", "solution": " 【 First solution (authors). By Cauchy-Schwarz, we have $$ \\begin{aligned} \\sum_{k=m}^{n} \\frac{k+1}{k^{3}} & =\\sum_{k=m}^{n} \\frac{\\left(\\frac{1}{k^{2}}\\right)^{2}}{\\frac{1}{k(k+1)}} \\\\ & \\geq \\frac{\\left(\\frac{1}{m^{2}}+\\frac{1}{(m+1)^{2}}+\\cdots+\\frac{1}{n^{2}}\\right)^{2}}{\\frac{1}{m(m+1)}+\\frac{1}{(m+1)(m+2)}+\\cdots+\\frac{1}{n(n+1)}} \\\\ & =\\frac{\\left(\\frac{1}{m^{2}}+\\frac{1}{(m+1)^{2}}+\\cdots+\\frac{1}{n^{2}}\\right)^{2}}{\\frac{1}{m}-\\frac{1}{n+1}} \\\\ & >\\frac{\\left(\\sum_{k=m}^{n} \\frac{1}{k^{2}}\\right)^{2}}{\\frac{1}{m}} \\end{aligned} $$ as desired. Remark (Bound on error). Let $A=\\sum_{k=m}^{n} k^{-2}$ and $B=\\sum_{k=m}^{n} k^{-3}$. The inequality above becomes tighter for large $m$ and $n \\gg m$. If we use Lagrange's identity in place of Cauchy-Schwarz, we get $$ A+B-m A^{2}=m \\cdot \\sum_{m \\leq aA+B $$ Remark (Construction commentary, from author). My motivation was to write an inequality where Titu could be applied creatively to yield a telescoping sum. This can be difficult because most of the time, such a reverse-engineered inequality will be so loose it's trivial anyways. My first attempt was the not-so-amazing inequality $$ \\frac{n^{2}+3 n}{2}=\\sum_{1}^{n} i+1=\\sum_{1}^{n} \\frac{\\frac{1}{i}}{\\frac{1}{i(i+1)}}>\\left(\\sum_{1}^{n} \\frac{1}{\\sqrt{i}}\\right)^{2} $$ which is really not surprising given that $\\sum \\frac{1}{\\sqrt{i}} \\ll \\frac{n}{\\sqrt{2}}$. The key here is that we need \"near-equality\" as dictated by the Cauchy-Schwarz equality case, i.e. the square root of the numerators should be approximately proportional to the denominators. This motivates using $\\frac{1}{i^{4}}$ as the numerator, which works like a charm. After working out the resulting statement, the LHS and RHS even share a sum, which adds to the simplicity of the problem. The final touch was to unrestrict the starting value of the sum, since this allows the strength of the estimate $\\frac{1}{i^{2}} \\approx \\frac{1}{i(i+1)}$ to be fully exploited.", "metadata": {"resource_path": "USA_TSTST/segmented/en-sols-TSTST-2023.jsonl"}} {"year": "2023", "tier": "T0", "problem_label": "2", "problem_type": null, "exam": "USA_TSTST", "problem": "Let $n \\geq m \\geq 1$ be integers. Prove that $$ \\sum_{k=m}^{n}\\left(\\frac{1}{k^{2}}+\\frac{1}{k^{3}}\\right) \\geq m \\cdot\\left(\\sum_{k=m}^{n} \\frac{1}{k^{2}}\\right)^{2} $$", "solution": " 【 Second approach by inducting down, Luke Robitaille and Carl Schildkraut. Fix $n$; we'll induct downwards on $m$. For the base case of $n=m$ the result is easy, since the left side is $\\frac{m+1}{m^{3}}$ and the right side is $\\frac{m}{m^{4}}=\\frac{1}{m^{3}}$. For the inductive step, suppose we have shown the result for $m+1$. Let $$ A=\\sum_{k=m+1}^{n} \\frac{1}{k^{2}} \\quad \\text { and } \\quad B=\\sum_{k=m+1}^{n} \\frac{1}{k^{3}} $$ We know $A+B \\geq(m+1) A^{2}$, and we want to show $$ \\left(A+\\frac{1}{m^{2}}\\right)+\\left(B+\\frac{1}{m^{3}}\\right) \\geq m\\left(A+\\frac{1}{m^{2}}\\right)^{2} $$ Indeed, $$ \\begin{aligned} \\left(A+\\frac{1}{m^{2}}\\right)+\\left(B+\\frac{1}{m^{3}}\\right)-m\\left(A+\\frac{1}{m^{2}}\\right)^{2} & =A+B+\\frac{m+1}{m^{3}}-m A^{2}-\\frac{2 A}{m}-\\frac{1}{m^{3}} \\\\ & =\\left(A+B-(m+1) A^{2}\\right)+\\left(A-\\frac{1}{m}\\right)^{2} \\geq 0 \\end{aligned} $$ and we are done.", "metadata": {"resource_path": "USA_TSTST/segmented/en-sols-TSTST-2023.jsonl"}} {"year": "2023", "tier": "T0", "problem_label": "2", "problem_type": null, "exam": "USA_TSTST", "problem": "Let $n \\geq m \\geq 1$ be integers. Prove that $$ \\sum_{k=m}^{n}\\left(\\frac{1}{k^{2}}+\\frac{1}{k^{3}}\\right) \\geq m \\cdot\\left(\\sum_{k=m}^{n} \\frac{1}{k^{2}}\\right)^{2} $$", "solution": " I Third approach by reducing $n \\rightarrow \\infty$, Michael Ren and Carl Schildkraut. First, we give: Claim (Reduction to $n \\rightarrow \\infty$ ) - If the problem is true when $n \\rightarrow \\infty$, it is true for all $n$. However, the region is bounded by a convex curve, and the sequence of points $(0,0)$, $\\left(\\frac{1}{m^{2}}, \\frac{1}{m^{3}}\\right),\\left(\\frac{1}{m^{2}}+\\frac{1}{(m+1)^{2}}, \\frac{1}{m^{3}}+\\frac{1}{(m+1)^{3}}\\right), \\ldots$ has successively decreasing slopes between consecutive points. Thus it suffices to check that the inequality is true when $n \\rightarrow \\infty$. Set $n=\\infty$ henceforth. Let $$ A=\\sum_{k=m}^{\\infty} \\frac{1}{k^{2}} \\text { and } B=\\sum_{k=m}^{\\infty} \\frac{1}{k^{3}} $$ we want to show $B \\geq m A^{2}-A$, which rearranges to $$ 1+4 m B \\geq(2 m A-1)^{2} $$ Write $$ C=\\sum_{k=m}^{\\infty} \\frac{1}{k^{2}(2 k-1)(2 k+1)} \\text { and } D=\\sum_{k=m}^{\\infty} \\frac{8 k^{2}-1}{k^{3}(2 k-1)^{2}(2 k+1)^{2}} $$ Then $$ \\frac{2}{2 k-1}-\\frac{2}{2 k+1}=\\frac{1}{k^{2}}+\\frac{1}{k^{2}(2 k-1)(2 k+1)} $$ and $$ \\frac{2}{(2 k-1)^{2}}-\\frac{2}{(2 k+1)^{2}}=\\frac{1}{k^{3}}+\\frac{8 k^{2}-1}{k^{3}(2 k-1)^{2}(2 k+1)^{2}}, $$ so that $$ A=\\frac{2}{2 m-1}-C \\text { and } B=\\frac{2}{(2 m-1)^{2}}-D $$ Our inequality we wish to show becomes $$ \\frac{2 m+1}{2 m-1} C \\geq D+m C^{2} $$ We in fact show two claims: Claim - We have $$ \\frac{2 m+1 / 2}{2 m-1} C \\geq D $$ $$ \\frac{2 m+1 / 2}{2 m-1} \\cdot \\frac{1}{k^{2}(2 k-1)(2 k+1)} \\geq \\frac{8 k^{2}-1}{k^{3}(2 k-1)^{2}(2 k+1)^{2}} $$ for $k \\geq m$. It suffices to show $$ \\frac{2 k+1 / 2}{2 k-1} \\cdot \\frac{1}{k^{2}(2 k-1)(2 k+1)} \\geq \\frac{8 k^{2}-1}{k^{3}(2 k-1)^{2}(2 k+1)^{2}} $$ which is equivalent to $k(2 k+1 / 2)(2 k+1) \\geq 8 k^{2}-1$. This holds for all $k \\geq 1$. ## Claim - We have $$ \\frac{1 / 2}{2 m-1} C \\geq m C^{2} $$ $$ \\frac{1}{2 m(2 m-1)}=\\sum_{k=m}^{\\infty}\\left(\\frac{1}{2 k(2 k-1)}-\\frac{1}{2(k+1)(2 k+1)}\\right)=\\sum_{k=m}^{\\infty} \\frac{4 k+1}{2 k(2 k-1)(k+1)(2 k+1)} $$ comparing term-wise with the definition of $C$ and using the inequality $k(4 k+1) \\geq 2(k+1)$ for $k \\geq 1$ gives the desired result.", "metadata": {"resource_path": "USA_TSTST/segmented/en-sols-TSTST-2023.jsonl"}} {"year": "2023", "tier": "T0", "problem_label": "2", "problem_type": null, "exam": "USA_TSTST", "problem": "Let $n \\geq m \\geq 1$ be integers. Prove that $$ \\sum_{k=m}^{n}\\left(\\frac{1}{k^{2}}+\\frac{1}{k^{3}}\\right) \\geq m \\cdot\\left(\\sum_{k=m}^{n} \\frac{1}{k^{2}}\\right)^{2} $$", "solution": " 『 Fourth approach by bashing, Carl Schildkraut. With a bit more work, the third approach can be adapted to avoid the $n \\rightarrow \\infty$ reduction. Similarly to before, define $$ A=\\sum_{k=m}^{n} \\frac{1}{k^{2}} \\text { and } B=\\sum_{k=m}^{n} \\frac{1}{k^{3}} $$ we want to show $1+4 m B \\geq(2 m A-1)^{2}$. Writing $$ C=\\sum_{k=m}^{n} \\frac{1}{k^{2}(2 k-1)(2 k+1)} \\text { and } D=\\sum_{k=m}^{n} \\frac{8 k^{2}-1}{k^{3}(2 k-1)^{2}(2 k+1)^{2}} $$ We compute $$ A=\\frac{2}{2 m-1}-\\frac{2}{2 n+1}-C \\text { and } B=\\frac{2}{(2 m-1)^{2}}-\\frac{2}{(2 n+1)^{2}}-D . $$ Then, the inequality we wish to show reduces (as in the previous solution) to $$ \\frac{2 m+1}{2 m-1} C+\\frac{2(2 m+1)}{(2 m-1)(2 n+1)} \\geq D+m C^{2}+\\frac{2(2 m+1)}{(2 n+1)^{2}}+\\frac{4 m}{2 n+1} C $$ We deal first with the terms not containing the variable $n$, i.e. we show that $$ \\frac{2 m+1}{2 m-1} C \\geq D+m C^{2} $$ For this part, the two claims from the previous solution go through exactly as written above, and we have $C \\leq 1 /(2 m(2 m-1))$. We now need to show $$ \\frac{2(2 m+1)}{(2 m-1)(2 n+1)} \\geq \\frac{2(2 m+1)}{(2 n+1)^{2}}+\\frac{4 m}{2 n+1} C $$ (this is just the inequality between the remaining terms); our bound on $C$ reduces this to proving $$ \\frac{4(2 m+1)(n-m+1)}{(2 m-1)(2 n+1)^{2}} \\geq \\frac{2}{(2 m-1)(2 n+1)} $$ Expanding and writing in terms of $n$, this is equivalent to $$ n \\geq \\frac{1+2(m-1)(2 m+1)}{4 m}=m-\\frac{2 m+1}{4 m} $$ which holds for all $n \\geq m$.", "metadata": {"resource_path": "USA_TSTST/segmented/en-sols-TSTST-2023.jsonl"}} {"year": "2023", "tier": "T0", "problem_label": "3", "problem_type": null, "exam": "USA_TSTST", "problem": "Find all positive integers $n$ for which it is possible to color some cells of an infinite grid of unit squares red, such that each rectangle consisting of exactly $n$ cells (and whose edges lie along the lines of the grid) contains an odd number of red cells.", "solution": " We claim that this is possible for all positive integers $n$. Call a positive integer for which such a coloring is possible good. To show that all positive integers $n$ are good we prove the following: (i) If $n$ is good and $p$ is an odd prime, then $p n$ is good; (ii) For every $k \\geq 0$, the number $n=2^{k}$ is good. Together, (i) and (ii) imply that all positive integers are good. Thus every coloring that works for $n$ automatically also works for $p n$. Claim - For each of these $k+1$ shapes, there exists a coloring with two properties: - Every rectangle with $n$ cells and shape $2^{m} \\times 2^{k-m}$ contains an odd number of red cells. - Every rectangle with $n$ cells and a different shape contains an even number of red cells. ![](https://cdn.mathpix.com/cropped/2024_11_19_1cf0843c143ab4f13b3fg-13.jpg?height=395&width=401&top_left_y=2084&top_left_x=833) A $2^{m} \\times 2^{k-m}$ rectangle contains every possible pair $\\left(x \\bmod 2^{m}, y \\bmod 2^{k-m}\\right)$ exactly once, so such a rectangle will contain one red cell (an odd number). On the other hand, consider a $2^{\\ell} \\times 2^{k-\\ell}$ rectangle with $\\ell>m$. The set of cells this covers is $(x, y)$ where $x$ covers a range of size $2^{\\ell}$ and $y$ covers a range of size $2^{k-\\ell}$. The number of red cells is the count of $x$ with $x \\equiv 0 \\bmod 2^{m}$ multiplied by the count of $y$ with $y \\equiv 0 \\bmod 2^{k-m}$. The former number is exactly $2^{\\ell-k}$ because $2^{k}$ divides $2^{\\ell}$ (while the latter is 0 or 1) so the number of red cells is even. The $\\ell2 \\\\ 2\\left(g(x)+g\\left(x+p^{d}\\right)+\\cdots+g\\left(x+(b-1) p^{d}\\right)\\right) & p=2\\end{cases} \\\\ \\equiv & 0 \\quad(\\bmod p) \\end{aligned} $$ as desired. ## Corollary Let $g: \\mathbb{Z} / a \\mathbb{Z} \\rightarrow \\mathbb{Z} / p^{e} \\mathbb{Z}$ be any function, and let $h=\\Delta^{e p^{d}} g$. Then $$ h(x)+h\\left(x+p^{d}\\right)+\\cdots+h\\left(x+(b-1) p^{d}\\right)=0 $$ for all $x$. $$ h_{1}(x)=\\frac{h(x)+h\\left(x+p^{d}\\right)+\\cdots+h\\left(x+(b-1) p^{d}\\right)}{p} . $$ Applying the lemma to $h_{1}$ shows the corollary for $e=2$, since $h_{1}(x)$ is divisible by $p$, hence the numerator is divisible by $p^{2}$. Continue in this manner to get the result for general $e>2$. This immediately settles this direction, since $f$ is in the image of $\\Delta^{e p^{d}}$. We will show that $\\Delta$ is injective on $\\mathcal{S}$. Suppose otherwise, and consider two functions $f$, $g$ in $\\mathcal{S}$ with $\\Delta f=\\Delta g$. Then, we obtain that $f$ and $g$ differ by a constant; say $g=f+\\lambda$. However, then $$ \\begin{aligned} & g(0)+g\\left(p^{e}\\right)+\\cdots+g\\left((b-1) p^{e}\\right) \\\\ = & (f(0)+\\lambda)+\\left(f\\left(p^{e}\\right)+\\lambda\\right)+\\cdots+\\left(f\\left((b-1) p^{e}\\right)+\\lambda\\right) \\\\ = & b \\lambda \\end{aligned} $$ This should also be zero. Since $p \\nmid b$, we obtain $\\lambda=0$, as desired. Counting Finally, we can count the essential functions: all but the last $p^{d}$ entries can be chosen arbitrarily, and then each remaining entry has exactly one possible choice. This leads to a count of $$ \\left(p^{e}\\right)^{a-p^{d}}=p^{e\\left(a-p^{\\nu_{p}(a)}\\right)}, $$ as promised.", "metadata": {"resource_path": "USA_TSTST/segmented/en-sols-TSTST-2023.jsonl"}} {"year": "2023", "tier": "T0", "problem_label": "9", "problem_type": null, "exam": "USA_TSTST", "problem": "Let $p$ be a fixed prime and let $a \\geq 2$ and $e \\geq 1$ be fixed integers. Given a function $f: \\mathbb{Z} / a \\mathbb{Z} \\rightarrow \\mathbb{Z} / p^{e} \\mathbb{Z}$ and an integer $k \\geq 0$, the $k$ th finite difference, denoted $\\Delta^{k} f$, is the function from $\\mathbb{Z} / a \\mathbb{Z}$ to $\\mathbb{Z} / p^{e} \\mathbb{Z}$ defined recursively by $$ \\begin{aligned} & \\Delta^{0} f(n)=f(n) \\\\ & \\Delta^{k} f(n)=\\Delta^{k-1} f(n+1)-\\Delta^{k-1} f(n) \\quad \\text { for } k=1,2, \\ldots \\end{aligned} $$ Determine the number of functions $f$ such that there exists some $k \\geq 1$ for which $\\Delta^{k} f=f$ 。", "solution": "Let $p$ be a fixed prime and let $a \\geq 2$ and $e \\geq 1$ be fixed integers. Given a function $f: \\mathbb{Z} / a \\mathbb{Z} \\rightarrow \\mathbb{Z} / p^{e} \\mathbb{Z}$ and an integer $k \\geq 0$, the $k$ th finite difference, denoted $\\Delta^{k} f$, is the function from $\\mathbb{Z} / a \\mathbb{Z}$ to $\\mathbb{Z} / p^{e} \\mathbb{Z}$ defined recursively by $$ \\begin{aligned} & \\Delta^{0} f(n)=f(n) \\\\ & \\Delta^{k} f(n)=\\Delta^{k-1} f(n+1)-\\Delta^{k-1} f(n) \\quad \\text { for } k=1,2, \\ldots \\end{aligned} $$ Determine the number of functions $f$ such that there exists some $k \\geq 1$ for which $\\Delta^{k} f=f$. The answer is $$ \\left(p^{e}\\right)^{a} \\cdot p^{-e p^{\\nu} p(a)}=p^{e\\left(a-p^{\\nu_{p}(a)}\\right)} $$ II Second solution by Daniel Zhu. There are two parts to the proof: solving the $e=1$ case, and using the $e=1$ result to solve the general problem by induction on $e$. These parts are independent of each other. The case $e=1 \\quad$ Represent functions $f$ as elements $$ \\alpha_{f}:=\\sum_{k \\in \\mathbb{Z} / a \\mathbb{Z}} f(-k) x^{k} \\in \\mathbb{F}_{p}[x] /\\left(x^{a}-1\\right) $$ Then, since $\\alpha_{\\Delta f}=(x-1) \\alpha_{f}$, we wish to find the number of $\\alpha \\in \\mathbb{F}_{p}[x] /\\left(x^{a}-1\\right)$ such that $(x-1)^{m} \\alpha=\\alpha$ for some $m$. Now, make the substitution $y=x-1$ and let $P(y)=(y+1)^{a}-1$; we want to find $\\alpha \\in \\mathbb{F}_{p}[y] /(P(y))$ such that $y^{m} \\alpha=\\alpha$ for some $m$. If we write $P(y)=y^{d} Q(y)$ with $Q(0) \\neq 0$, then by the Chinese Remainder Theorem we have the ring isomorphism $$ \\mathbb{F}_{p}[y] /(P(y)) \\cong \\mathbb{F}_{p}[y] /\\left(y^{d}\\right) \\times \\mathbb{F}_{p}[y] /(Q(y)) $$ Note that $y$ is nilpotent in the first factor, while it is a unit in the second factor. So the $\\alpha$ that work are exactly those that are zero in the first factor; thus there are $p^{a-d}$ such $\\alpha$. We can calculate $d=p^{v_{p}(a)}$ (via, say, Lucas's Theorem), so we are done. The general problem The general idea is as follows: call a $f: \\mathbb{Z} / a \\mathbb{Z} \\rightarrow \\mathbb{Z} / p^{e} \\mathbb{Z} e$-good if $\\Delta^{m} f=f$ for some $m$. Our result above allows us to count the 1-good functions. Then, if $e \\geq 1$, every $(e+1)$-good function, when reduced $\\bmod p^{e}$, yields an $e$-good function, so we count $(e+1)$-good functions by counting how many reduce to any given $e$-good function. Formally, we use induction on $e$, with the $e=1$ case being treated above. Suppose now we have solved the problem for a given $e \\geq 1$, and we now wish to solve it for $e+1$. For any function $g: \\mathbb{Z} / a \\mathbb{Z} \\rightarrow \\mathbb{Z} / p^{e+1} \\mathbb{Z}$, let $\\bar{g}: \\mathbb{Z} / a \\mathbb{Z} \\rightarrow \\mathbb{Z} / p^{e} \\mathbb{Z}$ be its reduction $\\bmod p^{e}$. For a given $e$-good $f$, let $n(f)$ be the number of $(e+1)$-good $g$ with $\\bar{g}=f$. The following two claims now finish the problem: Claim - If $f$ is $e$-good, then $n(f)>0$. $$ g, \\Delta^{m} g, \\Delta^{2 m} g, \\ldots $$ Since there are finitely many functions $\\mathbb{Z} / a \\mathbb{Z} \\rightarrow \\mathbb{Z} / p^{e+1} \\mathbb{Z}$, there must exist $a0$, then $n(f)$ is exactly the number of 1-good functions, i.e. $p^{a-p^{v_{p}(a)}}$. To show that this condition is sufficient, note that $\\overline{g+p^{e} h}=\\bar{g}=f$. Moreover, if $\\Delta^{m} g=g$ and $\\Delta^{m^{\\prime}} h=h$, then $$ \\Delta^{m m^{\\prime}}\\left(g+p^{e} h\\right)=\\Delta^{m m^{\\prime}} g+p^{e} \\Delta^{m m^{\\prime}} h=g+p^{e} h . $$ To show that this condition is necessary, let $g_{1}$ be any $(e+1)$-good function such that $\\bar{g}_{1}=f$. Then $g_{1}-g$ is also $(e+1)$-good, since if $\\Delta^{m} g=g, \\Delta^{m^{\\prime}} g_{1}=g_{1}$, we have $$ \\Delta^{m m^{\\prime}}\\left(g_{1}-g\\right)=\\Delta^{m m^{\\prime}} g_{1}-\\Delta^{m m^{\\prime}} g=g_{1}-g . $$ On the other hand, we also know that $g_{1}-g$ is divisible by $p^{e}$. This means that it must be $p^{e} h$ for some function $f: \\mathbb{Z} / a \\mathbb{Z} \\rightarrow \\mathbb{Z} / p \\mathbb{Z}$, and it is not hard to show that $g_{1}-g$ being $(e+1)$-good means that $h$ is 1 -good.", "metadata": {"resource_path": "USA_TSTST/segmented/en-sols-TSTST-2023.jsonl"}}