We have your learning goals covered with Spring and Summer courses available. Enroll today!

Contests & Programs AMC and other contests, summer programs, etc.
AMC and other contests, summer programs, etc.
3 M G
BBookmark  VNew Topic kLocked
Contests & Programs AMC and other contests, summer programs, etc.
AMC and other contests, summer programs, etc.
3 M G
BBookmark  VNew Topic kLocked
G
Topic
First Poster
Last Poster
k a March Highlights and 2025 AoPS Online Class Information
jlacosta   0
Mar 2, 2025
March is the month for State MATHCOUNTS competitions! Kudos to everyone who participated in their local chapter competitions and best of luck to all going to State! Join us on March 11th for a Math Jam devoted to our favorite Chapter competition problems! Are you interested in training for MATHCOUNTS? Be sure to check out our AMC 8/MATHCOUNTS Basics and Advanced courses.

Are you ready to level up with Olympiad training? Registration is open with early bird pricing available for our WOOT programs: MathWOOT (Levels 1 and 2), CodeWOOT, PhysicsWOOT, and ChemWOOT. What is WOOT? WOOT stands for Worldwide Online Olympiad Training and is a 7-month high school math Olympiad preparation and testing program that brings together many of the best students from around the world to learn Olympiad problem solving skills. Classes begin in September!

Do you have plans this summer? There are so many options to fit your schedule and goals whether attending a summer camp or taking online classes, it can be a great break from the routine of the school year. Check out our summer courses at AoPS Online, or if you want a math or language arts class that doesn’t have homework, but is an enriching summer experience, our AoPS Virtual Campus summer camps may be just the ticket! We are expanding our locations for our AoPS Academies across the country with 15 locations so far and new campuses opening in Saratoga CA, Johns Creek GA, and the Upper West Side NY. Check out this page for summer camp information.

Be sure to mark your calendars for the following events:
[list][*]March 5th (Wednesday), 4:30pm PT/7:30pm ET, HCSSiM Math Jam 2025. Amber Verser, Assistant Director of the Hampshire College Summer Studies in Mathematics, will host an information session about HCSSiM, a summer program for high school students.
[*]March 6th (Thursday), 4:00pm PT/7:00pm ET, Free Webinar on Math Competitions from elementary through high school. Join us for an enlightening session that demystifies the world of math competitions and helps you make informed decisions about your contest journey.
[*]March 11th (Tuesday), 4:30pm PT/7:30pm ET, 2025 MATHCOUNTS Chapter Discussion MATH JAM. AoPS instructors will discuss some of their favorite problems from the MATHCOUNTS Chapter Competition. All are welcome!
[*]March 13th (Thursday), 4:00pm PT/7:00pm ET, Free Webinar about Summer Camps at the Virtual Campus. Transform your summer into an unforgettable learning adventure! From elementary through high school, we offer dynamic summer camps featuring topics in mathematics, language arts, and competition preparation - all designed to fit your schedule and ignite your passion for learning.[/list]
Our full course list for upcoming classes is below:
All classes run 7:30pm-8:45pm ET/4:30pm - 5:45pm PT unless otherwise noted.

Introductory: Grades 5-10

Prealgebra 1 Self-Paced

Prealgebra 1
Sunday, Mar 2 - Jun 22
Friday, Mar 28 - Jul 18
Sunday, Apr 13 - Aug 10
Tuesday, May 13 - Aug 26
Thursday, May 29 - Sep 11
Sunday, Jun 15 - Oct 12
Monday, Jun 30 - Oct 20
Wednesday, Jul 16 - Oct 29

Prealgebra 2 Self-Paced

Prealgebra 2
Tuesday, Mar 25 - Jul 8
Sunday, Apr 13 - Aug 10
Wednesday, May 7 - Aug 20
Monday, Jun 2 - Sep 22
Sunday, Jun 29 - Oct 26
Friday, Jul 25 - Nov 21


Introduction to Algebra A Self-Paced

Introduction to Algebra A
Sunday, Mar 23 - Jul 20
Monday, Apr 7 - Jul 28
Sunday, May 11 - Sep 14 (1:00 - 2:30 pm ET/10:00 - 11:30 am PT)
Wednesday, May 14 - Aug 27
Friday, May 30 - Sep 26
Monday, Jun 2 - Sep 22
Sunday, Jun 15 - Oct 12
Thursday, Jun 26 - Oct 9
Tuesday, Jul 15 - Oct 28

Introduction to Counting & Probability Self-Paced

Introduction to Counting & Probability
Sunday, Mar 16 - Jun 8
Wednesday, Apr 16 - Jul 2
Thursday, May 15 - Jul 31
Sunday, Jun 1 - Aug 24
Thursday, Jun 12 - Aug 28
Wednesday, Jul 9 - Sep 24
Sunday, Jul 27 - Oct 19

Introduction to Number Theory
Monday, Mar 17 - Jun 9
Thursday, Apr 17 - Jul 3
Friday, May 9 - Aug 1
Wednesday, May 21 - Aug 6
Monday, Jun 9 - Aug 25
Sunday, Jun 15 - Sep 14
Tuesday, Jul 15 - Sep 30

Introduction to Algebra B Self-Paced

Introduction to Algebra B
Sunday, Mar 2 - Jun 22
Wednesday, Apr 16 - Jul 30
Tuesday, May 6 - Aug 19
Wednesday, Jun 4 - Sep 17
Sunday, Jun 22 - Oct 19
Friday, Jul 18 - Nov 14

Introduction to Geometry
Tuesday, Mar 4 - Aug 12
Sunday, Mar 23 - Sep 21
Wednesday, Apr 23 - Oct 1
Sunday, May 11 - Nov 9
Tuesday, May 20 - Oct 28
Monday, Jun 16 - Dec 8
Friday, Jun 20 - Jan 9
Sunday, Jun 29 - Jan 11
Monday, Jul 14 - Jan 19

Intermediate: Grades 8-12

Intermediate Algebra
Sunday, Mar 16 - Sep 14
Tuesday, Mar 25 - Sep 2
Monday, Apr 21 - Oct 13
Sunday, Jun 1 - Nov 23
Tuesday, Jun 10 - Nov 18
Wednesday, Jun 25 - Dec 10
Sunday, Jul 13 - Jan 18
Thursday, Jul 24 - Jan 22

Intermediate Counting & Probability
Sunday, Mar 23 - Aug 3
Wednesday, May 21 - Sep 17
Sunday, Jun 22 - Nov 2

Intermediate Number Theory
Friday, Apr 11 - Jun 27
Sunday, Jun 1 - Aug 24
Wednesday, Jun 18 - Sep 3

Precalculus
Sunday, Mar 16 - Aug 24
Wednesday, Apr 9 - Sep 3
Friday, May 16 - Oct 24
Sunday, Jun 1 - Nov 9
Monday, Jun 30 - Dec 8

Advanced: Grades 9-12

Olympiad Geometry
Wednesday, Mar 5 - May 21
Tuesday, Jun 10 - Aug 26

Calculus
Sunday, Mar 30 - Oct 5
Tuesday, May 27 - Nov 11
Wednesday, Jun 25 - Dec 17

Group Theory
Thursday, Jun 12 - Sep 11

Contest Preparation: Grades 6-12

MATHCOUNTS/AMC 8 Basics
Sunday, Mar 23 - Jun 15
Wednesday, Apr 16 - Jul 2
Friday, May 23 - Aug 15
Monday, Jun 2 - Aug 18
Thursday, Jun 12 - Aug 28
Sunday, Jun 22 - Sep 21
Tues & Thurs, Jul 8 - Aug 14 (meets twice a week!)

MATHCOUNTS/AMC 8 Advanced
Friday, Apr 11 - Jun 27
Sunday, May 11 - Aug 10
Tuesday, May 27 - Aug 12
Wednesday, Jun 11 - Aug 27
Sunday, Jun 22 - Sep 21
Tues & Thurs, Jul 8 - Aug 14 (meets twice a week!)

AMC 10 Problem Series
Tuesday, Mar 4 - May 20
Monday, Mar 31 - Jun 23
Friday, May 9 - Aug 1
Sunday, Jun 1 - Aug 24
Thursday, Jun 12 - Aug 28
Tuesday, Jun 17 - Sep 2
Sunday, Jun 22 - Sep 21 (1:00 - 2:30 pm ET/10:00 - 11:30 am PT)
Monday, Jun 23 - Sep 15
Tues & Thurs, Jul 8 - Aug 14 (meets twice a week!)

AMC 10 Final Fives
Sunday, May 11 - Jun 8
Tuesday, May 27 - Jun 17
Monday, Jun 30 - Jul 21

AMC 12 Problem Series
Tuesday, May 27 - Aug 12
Thursday, Jun 12 - Aug 28
Sunday, Jun 22 - Sep 21
Wednesday, Aug 6 - Oct 22

AMC 12 Final Fives
Sunday, May 18 - Jun 15

F=ma Problem Series
Wednesday, Jun 11 - Aug 27

WOOT Programs
Visit the pages linked for full schedule details for each of these programs!


MathWOOT Level 1
MathWOOT Level 2
ChemWOOT
CodeWOOT
PhysicsWOOT

Programming

Introduction to Programming with Python
Monday, Mar 24 - Jun 16
Thursday, May 22 - Aug 7
Sunday, Jun 15 - Sep 14 (1:00 - 2:30 pm ET/10:00 - 11:30 am PT)
Tuesday, Jun 17 - Sep 2
Monday, Jun 30 - Sep 22

Intermediate Programming with Python
Sunday, Jun 1 - Aug 24
Monday, Jun 30 - Sep 22

USACO Bronze Problem Series
Tuesday, May 13 - Jul 29
Sunday, Jun 22 - Sep 1

Physics

Introduction to Physics
Sunday, Mar 30 - Jun 22
Wednesday, May 21 - Aug 6
Sunday, Jun 15 - Sep 14
Monday, Jun 23 - Sep 15

Physics 1: Mechanics
Tuesday, Mar 25 - Sep 2
Thursday, May 22 - Oct 30
Monday, Jun 23 - Dec 15

Relativity
Sat & Sun, Apr 26 - Apr 27 (4:00 - 7:00 pm ET/1:00 - 4:00pm PT)
Mon, Tue, Wed & Thurs, Jun 23 - Jun 26 (meets every day of the week!)
0 replies
jlacosta
Mar 2, 2025
0 replies
USA Canada math camp
Bread10   19
N 3 minutes ago by sharknavy75
How difficult is it to get into USA Canada math camp? What should be expected from an accepted applicant in terms of the qualifying quiz, essays and other awards or math context?
19 replies
Bread10
Mar 2, 2025
sharknavy75
3 minutes ago
high tech FE as J1?!
imagien_bad   51
N 4 minutes ago by Maximilian113
Source: USAJMO 2025/1
Let $\mathbb Z$ be the set of integers, and let $f\colon \mathbb Z \to \mathbb Z$ be a function. Prove that there are infinitely many integers $c$ such that the function $g\colon \mathbb Z \to \mathbb Z$ defined by $g(x) = f(x) + cx$ is not bijective.
Note: A function $g\colon \mathbb Z \to \mathbb Z$ is bijective if for every integer $b$, there exists exactly one integer $a$ such that $g(a) = b$.
51 replies
imagien_bad
Yesterday at 12:00 PM
Maximilian113
4 minutes ago
USAMO 2025 vs USAMO 2024 Difficulty
BennettHuang   8
N 37 minutes ago by hashbrown2009
What did you guys think, which one was harder? Please only share if you genuinely tried both years.
8 replies
1 viewing
BennettHuang
3 hours ago
hashbrown2009
37 minutes ago
combo j3 :blobheart:
rhydon516   16
N an hour ago by Aarush12
Source: USAJMO 2025/3
Let $m$ and $n$ be positive integers, and let $\mathcal R$ be a $2m\times 2n$ grid of unit squares.

A domino is a $1\times2$ or $2\times1$ rectangle. A subset $S$ of grid squares in $\mathcal R$ is domino-tileable if dominoes can be placed to cover every square of $S$ exactly once with no domino extending outside of $S$. Note: The empty set is domino tileable.

An up-right path is a path from the lower-left corner of $\mathcal R$ to the upper-right corner of $\mathcal R$ formed by exactly $2m+2n$ edges of the grid squares.

Determine, with proof, in terms of $m$ and $n$, the number of up-right paths that divide $\mathcal R$ into two domino-tileable subsets.
16 replies
rhydon516
Yesterday at 12:08 PM
Aarush12
an hour ago
No more topics!
Evan's mean blackboard game
hwl0304   71
N Mar 19, 2025 by quantam13
Source: 2019 USAMO Problem 5, 2019 USAJMO Problem 6
Two rational numbers \(\tfrac{m}{n}\) and \(\tfrac{n}{m}\) are written on a blackboard, where \(m\) and \(n\) are relatively prime positive integers. At any point, Evan may pick two of the numbers \(x\) and \(y\) written on the board and write either their arithmetic mean \(\tfrac{x+y}{2}\) or their harmonic mean \(\tfrac{2xy}{x+y}\) on the board as well. Find all pairs \((m,n)\) such that Evan can write 1 on the board in finitely many steps.

Proposed by Yannick Yao
71 replies
hwl0304
Apr 18, 2019
quantam13
Mar 19, 2025
Evan's mean blackboard game
G H J
Source: 2019 USAMO Problem 5, 2019 USAJMO Problem 6
The post below has been deleted. Click to close.
This post has been deleted. Click here to see post.
Inconsistent
1455 posts
#60
Y by
Fun question. It is easy to show that any odd divisor of $m+n$ will divide the sum of the numerator and denominator of all generated numbers, but at the very end to generate 1, you would need $\frac{a-b}{a}, \frac{a+b}{a}$ but $\gcd(2a-b, 2a+b) \mid 4$ so $m+n$ has no odd divisors, and the construction is trivial.
Z K Y
The post below has been deleted. Click to close.
This post has been deleted. Click here to see post.
jasperE3
11100 posts
#61
Y by
Suppose $m+n$ is not a power of $2$. Note that $m+n>1$. Then let $p\mid m+n$ for an odd prime $p$, we have:
$$m+n\equiv0\pmod p\Rightarrow\frac mn\equiv\frac nm\equiv-1\pmod p.$$Also, if $\frac ab\equiv\frac cd\equiv-1\pmod p$ then:
$$\frac{\frac ab+\frac cd}2\equiv\frac{2\cdot\frac ab\cdot\frac cd}{\frac ab+\frac cd}\equiv-1\pmod p,$$so by induction, all numbers that are written on the board are $-1\pmod p$. But then $1$ cannot be ever written on the board.

Now we show that if $m+n=2^k$ for some $k\in\mathbb N$, Evan can write $1$ under this process. Notice that we can get weighted arithmetic means of elements written on the board with denominator $2^k$ from normal arithmetic means, and so Evan eventually may write:
$$\frac{n\cdot\frac mn+m\cdot\frac nm}{2^k}=1.$$
Z K Y
The post below has been deleted. Click to close.
This post has been deleted. Click here to see post.
Iora
194 posts
#62 • 1 Y
Y by Mango247
Let $m+n=k$ for integer $k$. Choose any prime number $p$ such that $p|k$. Then we have
$$ m \equiv -n \mod p \Rightarrow \frac{m}{n} \equiv \frac{n}{m}  \equiv -1 \mod p$$Observe that For any $a,b,c,d$ such that $\frac{a}{b} \equiv \frac{c}{d} \equiv -1 \mod p$, we have:
\begin{align*}
&\frac{\frac{a}{b}+\frac{c}{d}}{2} \equiv \frac{-2}{2} \equiv -1 \mod p \\
& \frac{2 \frac{a}{b} \cdot \frac{c}{d}}{ \frac{a}{b}+ \frac{c}{d}} \equiv \frac{2}{-2} \equiv -1 \mod p
\end{align*}Which means that any numbers in blackboard are equivalent to $-1$ mod $p$, since we want $1$ on the blackboard, which is equivalent to $1$ mod $p$, we have contradiction except for $p=2$ since $ 1 \equiv -1  \mod 2$. The only thing we left is showing that $m+n=2^x$ works, which is possible by weighted arithmetic mean since
$$\frac{n(\frac{m}{n})+(2^k-n)\frac{n}{m}}{2^k}=1$$
Z K Y
The post below has been deleted. Click to close.
This post has been deleted. Click here to see post.
fuzimiao2013
3302 posts
#63
Y by
The great part about DCY-process is that most of the problems are pretty popular and I can post all of them without looking like a weirdo https://artofproblemsolving.com/assets/images/smilies/biggrin.gif (slovenia kazakhstan tournament of towns moment)

The answer is $\boxed{\text{all relatively prime }(m, n)\text{ with }m+n = 2^k}$ for some positive integer $k$. The key claim is the following:

Claim: All fractions $\frac{p}{2^q}\cdot\frac mn + \frac{2^p-p}{2^q}\cdot\frac nm$ for positive integers $0 < p < 2^q$ are achievable by Evan.
Proof: We induct. The base case $k = 1$ is trivial. Assume $k = j$ works. Let $0 < a_1$, $a_2 < 2^j$. Then $1 < a_1 + a_2 < 2^{j+1}-1$ are possible by arithmetic mean, and $1$ and $2^{j+1}-1$ are possible by arithmetic meaning $\frac{1}{2^j}\cdot\frac mn + \frac{2^j-1}{2^j}\cdot \frac nm$ with $\frac nm$ and $\frac{2^j-1}{2^j}\cdot\frac mn + \frac{1}{2^j}\cdot \frac nm$ with $\frac mn$, respectively, which completes the induction.

Obviously taking $q = k$ and $p = n$ proves that the answer works. Now FTSOC assume some pair $(m, n)$ not of the above form works. Then some odd prime $p$ divides $m+n$. Notice that the numerators of $\frac mn + 1 = \frac{m+n}{n}$ and $\frac nm + 1 = \frac{m+n}{m}$ are divisible by $p$, and the denominators are not. Also notice that the arithmetic and harmonic mean preserve this property (not shown here). Therefore, since $(m, n)$ work, the final fraction must "cancel out" the $p$ in the numerator, which is clearly impossible, done.
This post has been edited 1 time. Last edited by fuzimiao2013, Jan 4, 2023, 4:51 AM
Z K Y
The post below has been deleted. Click to close.
This post has been deleted. Click here to see post.
john0512
4170 posts
#64
Y by
wow nice

We claim that the answer is when $m+n$ is a power of 2. If it is, then WLOG $m<n$ since $m=n$ is trivial. Then, the ratio the gap between $m/n$ and 1 and the gap between 1 and $n/m$ is $n:m$, and therefore, if $m+n$ is a power of 2, then 1 is a weighted mean of the two original numbers where the weights have denominators that are powers of 2, so we an just use an arithmetic mean move repeatedly to reach it.

Otherwise, $m+n$ is divisible by some odd prime $p$. Note that due to relatively prime, neither $m$ nor $n$ are divisible by $p$.

Claim: If $a,b,c,d$ are such that $a+b$ and $c+d$ are multiples of $p$ but none of $a,b,c,d$ themselves are multiples of $p$, then the sum of the numerators and denominators of both the harmonic mean and arithmetic mean of $a/b$ and $c/d$ are divisible by $p$. The aritmetic mean is $$\frac{ad+bc}{2bd}.$$Note that $a\equiv -b\pmod p$ and $c\equiv -d\pmod p$. Therefore, $$ad+bc+2bd\equiv -ac-ac+2ac\equiv 0\pmod p.$$Additionally, there will be no adverse cancellation since $2bd$ is not a multiple of $p$. The harnomic mean is $$\frac{2ac}{ad+bc},$$and again we hvae $$2ac+ad+bc\equiv 2ac-ac-ac\equiv 0\pmod p,$$and there will also be no adverse cancellation. Also, note that $2ac$ and $2bd$ are both not divisible by $p$, so the new fraction will still have niether the top or bottom divisible by $p$ but the sum divisible by $p$.

Therefore, if $m+n$ is not a power of 2, then all numbers that we create will have numerator and denominator sum to a multiple of $p$ but neither of them are actually multiples of $p$, so we cannot reach 1
This post has been edited 2 times. Last edited by john0512, Jan 9, 2023, 1:54 AM
Z K Y
The post below has been deleted. Click to close.
This post has been deleted. Click here to see post.
MathsLover04
95 posts
#65
Y by
I see nobody posted this construction yet. I hope it is correct. :maybe:


I will prove that any pair of odd numbers $(m,n)$ with $m+n=2^k$ for some $k$ works.

$\textbf{Necessity}$

Claim:
After only using the arithmetic mean, every new number written on the board can be written as \[2^k\left(u\cdot \frac{m}{n}+v\cdot\frac{n}{m}\right)\]where $u,v$ are positive integers with $u+v=2^k$.


Proof:
Induction on the number of already written numbers on the board.


However, the equation \[2^k\left(u\cdot \frac{m}{n}+(2^k-u)\cdot\frac{n}{m}\right)=1\]has the solution \[u=\frac{2^km}{m+n}\]and since $gcd(m,n)=1$, we must have $m+n\mid 2^k\Rightarrow m+n=2^{\alpha}$.

$\textbf{Sufficiency}$

Suppose $m+n=2^k$ and both are odd. We would like to have $u=n$. For this consider the binary representation of $n$ \[n=1+2^{\alpha_1}+2^{\alpha_2}+\ldots +2^{\alpha_i}\]Now, when Evan will want to add $2+\alpha_j$'th number on the board, he will write the arithmetic mean between $\frac{m}{n}$ and the last already written number. This will happen for every $1\le j\le i$. For the other positions he will write the arithmetic mean between $\frac{n}{m}$ and the last already written number. In the end we will have \[u=1+2^{\alpha_1}+2^{\alpha_2}+\ldots +2^{\alpha_i}=n\]so we are done.
Z K Y
The post below has been deleted. Click to close.
This post has been deleted. Click here to see post.
huashiliao2020
1292 posts
#66
Y by
Note that $m+n=2^k$ always works due to fractions $\frac{i}{2^j}\frac mn + \frac{2^i-i}{2^j}\frac nm$ being achievable by suitable applications of arithmetic mean; taking i=n, j=m finishes. On the other hand, note that $\frac{ad+bc}{2bd},\frac{2ac}{ad+bc}$ (AM and HM) are s.t. the sum of numerator and denominator of either of those are divisible by an odd prime p when p|a+b,c+d, with a,b,c,d not divisible by p; this means that if the numerator eventually equals denominator, both numerator and denominator must be divisible by that odd prime p, but this is a contradiction since 2ac and 2bd are not divisible by p by assumption (and that now, ad+bc,2bd,2ac,ad+bc are all not divisible by p, meaning we reduce into a'/b',c'/d' with the same properties). We conclude. :surf:
This post has been edited 2 times. Last edited by huashiliao2020, Sep 9, 2023, 1:03 AM
Z K Y
The post below has been deleted. Click to close.
This post has been deleted. Click here to see post.
DottedCaculator
7305 posts
#67 • 1 Y
Y by mathmax12
If $n+m$ is a power of $2$, then $\frac{n\cdot\frac mn+m\cdot\frac nm}{n+m}=1$ so it is possible to write $1$ as a combination of arithmetic means. Otherwise, there exists an odd $p\mid n+m$. Then, each of the numbers are $-1$ mod $p$ and every operation writes down a number that is $-1$ mod $p$. Therefore, since $1\not\equiv-1\pmod p$, it is impossible to write down $1$. Therefore, Evan can write $1$ if and only if $m+n$ is a power of $2$.
Z K Y
The post below has been deleted. Click to close.
This post has been deleted. Click here to see post.
Leo.Euler
577 posts
#68
Y by
Claim: Let $r \in [0, 1]$ be a dyadic rational. Then the number $rx+(1-r)y$ can be formed, if $(x, y)$ is the pair of numbers on the board at some point.
Proof. Let $x$ correspond to the point $(1, 0)$ and $y$ to the point $(0, 1)$. Utilizing the arithmetic mean, we can take the midpoints of subsegments until we reach the point $(r, 1-r)$ by looking at the binary expansion of $r$, as desired.
:yoda:

I contend that all pairs $(m, n)$ with $m+n=2^k$ for some positive integer $k$ work. Call such pairs good. For good pairs $(m, n)$, we use the construction \[r \cdot \frac{m}{n}+(1-r) \cdot \frac{n}{m}, \]where $r=\tfrac{n}{m+n}$. Clearly the above expression is $1$, so all good pairs work.

Now we show that any pair that is not good -- a bad pair -- does not work. Let $(m, n)$ be a bad pair. Suppose that $p$ is an odd prime with $p \mid m+n$, and note that neither $m$ nor $n$ are divisible by $p$, or else both are and that contradicts the relatively prime condition. Working over $\bmod{\ p}$, \[ \frac{m}{n} \equiv \frac{n}{m} \equiv -1 \pmod{p}. \]Since the arithmetic and harmonic means are preserved $\bmod{\ p}$, and the arithmetic and harmonic means of $(-1, -1)$ is always $-1$, the number $1$ is never written on the board, as desired.
Z K Y
The post below has been deleted. Click to close.
This post has been deleted. Click here to see post.
Mathandski
715 posts
#69 • 1 Y
Y by radian_51
Same as above
Attachments:
Z K Y
The post below has been deleted. Click to close.
This post has been deleted. Click here to see post.
cloudymatrix
11 posts
#70
Y by
Solution

Motivational Remarks
Z K Y
The post below has been deleted. Click to close.
This post has been deleted. Click here to see post.
Martin2001
126 posts
#71
Y by
We claim that $m+n$ has to be a power of $2.$ Note that if not, then $\frac{m}{n} \equiv -1 \pmod p$ for some odd prime $p.$ Then all writable terms also have to be $-1 \pmod p.$
Now we show that it is possible. Note that we can simply just weigh the average in binary because $m+n$ is a power of $2.$ Therefore we're done$.\blacksquare$
Z K Y
The post below has been deleted. Click to close.
This post has been deleted. Click here to see post.
Mr.Sharkman
487 posts
#73
Y by
Freest JMO #6 EVER (compare to 2018 JMO/6 :rotfl: )Honestly its super clean tho :coolspeak: :w00t:

The answer is all $(m,n)$ with $m+n$ a power of $2.$ The first step is necessity.

Claim:If $p \mid m+n,$ then all the fractions written on the board have the sum of their numerator and denominator a multiple of $p.$

We will show this by strong induction. The base case, $k=2,$ is by assumption. For the inductive step, let the two fractions that we apply the operation to next be $\frac{a}{b},$ and $\frac{c}{d}.$ Then, the sum of the numerator and denominator will be $\frac{ad+bc+2bd}{\gcd(ad+bc, 2bd)}.$ Notice that the numerator of this is a multiple of $p,$ while the denominator is not, thus proving the claim.

So, we have shown necessity, and thus we are done.
This post has been edited 1 time. Last edited by Mr.Sharkman, Dec 17, 2024, 12:36 AM
Z K Y
The post below has been deleted. Click to close.
This post has been deleted. Click here to see post.
cursed_tangent1434
549 posts
#74
Y by
Really nice problem. Funnily the arithmetic mean is sufficient to construct, so the harmonic mean is mostly just a red herring. We claim that the answer is all pairs $(m,n)$ such that $m+n=2^r$ for some positive integer $r$. The following claim will imply necessity.

Claim : If $p>2$ is an odd prime factor of $m+n$, then for any fraction $\frac{m_x}{n_x}$ written on the board we will have $p \mid m_x+n_x$.

Proof : We prove this via induction, on the set of all fractions that can be written on the board after a certain number of moves. It is clear for 0 moves, so we assume the claim holds after $k$ moves and wish to show it for $k+1$ moves. Any fraction created in move $k+1$ must be of the form,
\[\frac{\frac{a}{b}+\frac{c}{d}}{2} = \frac{(ad+bc)/\gcd(b,d)}{2bd / \gcd(b,d)}\]or
\[\frac{2\frac{a}{b}\cdot \frac{c}{d}}{\frac{a}{b}+\frac{c}{d}} = \frac{ad+bc/\gcd(a,c)}{2ac/ \gcd(a,c)}\]Thus, the sum is either $(ad+bc+2bd)/\gcd(b,d)$ or $(ad+bc+2ac)/\gcd(a,c)$. Now note,
\[ad+bc+2bd \equiv a(-c) + (-a)c + 2(-a)(-c) \equiv 0 \pmod{p}\]However, $p \nmid \gcd(b,d)$ which implies that $p$ indeed divides $(ad+bc+2bd)/\gcd(b,d)$. Similarly we can show that, $p$ divides $(ad+bc+2ac)/\gcd(a,c)$ which proves the claim.

For the construction, we note the following. Consider a pair of fractions $\frac{a}{b}$ and $\frac{b}{a}$ for which $a+b$ is a power of two. Then, we have $\frac{a^2}{ab}$ and $\frac{b^2}{ab}$ and we wish to mark $\frac{ab}{ab}$ using a tool which marks the midpoint of two marked points (arithmetic mean operation). Now, we can scale up by $ab$ so we wish to mark the point $ab$ starting from the points $a^2$ and $b^2$. The distance between these points is $b^2-a^2 = (a+b)(b-a)$ and the distance to the point we wish to mark from $a^2$ is $ab-a^2 = a(b-a)$. Now, since $a+b$ is a perfect power of two, using the midpoint marking tool, we can mark all the positive integers between $a^2$ and $b^2$ which are multiples of $(b-a)$. (Continually halving $a+b$ results in 1). Thus, $a(b-a)$ is also eventually marked, as desired.
Z K Y
The post below has been deleted. Click to close.
This post has been deleted. Click here to see post.
quantam13
96 posts
#75 • 1 Y
Y by hsuya1
Amazing problem!!

The answer is all $m,n$ such that $m+n$ is a power of 2. To see that this works, say $m+n=2^k$. Then we can do a "binary search" while taking arithmetic means to get the following weighted arithmetic mean
\[\dfrac{1}{2^k}\left( m\left(\frac{n}{m}\right)+n\left(\frac{m}{n}\right)\right)=\dfrac{1}{2^k}(m+n)=1\]in which we didnt even use the harmonic mean!

Now to see neccesity, say $m+n$ has some odd prime factor $p$. This means that $$\frac{m}{n}\equiv\frac{n}{m}\equiv -1\pmod p$$Now notice that every number on the board from this point onwards will also be $\equiv -1\pmod p$ so we can never reach $1$, since if we could, we would get $1\equiv -1\pmod p$ but $p$ is an odd prime. This finishes
Z K Y
N Quick Reply
G
H
=
a