Summer is a great time to explore cool problems to keep your skills sharp!  Schedule a class today!

G
Topic
First Poster
Last Poster
k a May Highlights and 2025 AoPS Online Class Information
jlacosta   0
May 1, 2025
May is an exciting month! National MATHCOUNTS is the second week of May in Washington D.C. and our Founder, Richard Rusczyk will be presenting a seminar, Preparing Strong Math Students for College and Careers, on May 11th.

Are you interested in working towards MATHCOUNTS and don’t know where to start? We have you covered! If you have taken Prealgebra, then you are ready for MATHCOUNTS/AMC 8 Basics. Already aiming for State or National MATHCOUNTS and harder AMC 8 problems? Then our MATHCOUNTS/AMC 8 Advanced course is for you.

Summer camps are starting next month at the Virtual Campus in math and language arts that are 2 - to 4 - weeks in duration. Spaces are still available - don’t miss your chance to have an enriching summer experience. There are middle and high school competition math camps as well as Math Beasts camps that review key topics coupled with fun explorations covering areas such as graph theory (Math Beasts Camp 6), cryptography (Math Beasts Camp 7-8), and topology (Math Beasts Camp 8-9)!

Be sure to mark your calendars for the following upcoming events:
[list][*]May 9th, 4:30pm PT/7:30pm ET, Casework 2: Overwhelming Evidence — A Text Adventure, a game where participants will work together to navigate the map, solve puzzles, and win! All are welcome.
[*]May 19th, 4:30pm PT/7:30pm ET, What's Next After Beast Academy?, designed for students finishing Beast Academy and ready for Prealgebra 1.
[*]May 20th, 4:00pm PT/7:00pm ET, Mathcamp 2025 Qualifying Quiz Part 1 Math Jam, Problems 1 to 4, join the Canada/USA Mathcamp staff for this exciting Math Jam, where they discuss solutions to Problems 1 to 4 of the 2025 Mathcamp Qualifying Quiz!
[*]May 21st, 4:00pm PT/7:00pm ET, Mathcamp 2025 Qualifying Quiz Part 2 Math Jam, Problems 5 and 6, Canada/USA Mathcamp staff will discuss solutions to Problems 5 and 6 of the 2025 Mathcamp Qualifying Quiz![/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
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
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, 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
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
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
Tuesday, May 6 - Aug 19
Wednesday, Jun 4 - Sep 17
Sunday, Jun 22 - Oct 19
Friday, Jul 18 - Nov 14

Introduction to Geometry
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

Paradoxes and Infinity
Mon, Tue, Wed, & Thurs, Jul 14 - Jul 16 (meets every day of the week!)

Intermediate: Grades 8-12

Intermediate Algebra
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
Wednesday, May 21 - Sep 17
Sunday, Jun 22 - Nov 2

Intermediate Number Theory
Sunday, Jun 1 - Aug 24
Wednesday, Jun 18 - Sep 3

Precalculus
Friday, May 16 - Oct 24
Sunday, Jun 1 - Nov 9
Monday, Jun 30 - Dec 8

Advanced: Grades 9-12

Olympiad Geometry
Tuesday, Jun 10 - Aug 26

Calculus
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
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
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
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

AIME Problem Series A
Thursday, May 22 - Jul 31

AIME Problem Series B
Sunday, Jun 22 - Sep 21

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
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
Wednesday, May 21 - Aug 6
Sunday, Jun 15 - Sep 14
Monday, Jun 23 - Sep 15

Physics 1: Mechanics
Thursday, May 22 - Oct 30
Monday, Jun 23 - Dec 15

Relativity
Mon, Tue, Wed & Thurs, Jun 23 - Jun 26 (meets every day of the week!)
0 replies
jlacosta
May 1, 2025
0 replies
Cup of Combinatorics
M11100111001Y1R   2
N 11 minutes ago by sansgankrsngupta
Source: Iran TST 2025 Test 4 Problem 2
There are \( n \) cups labeled \( 1, 2, \dots, n \), where the \( i \)-th cup has capacity \( i \) liters. In total, there are \( n \) liters of water distributed among these cups such that each cup contains an integer amount of water. In each step, we may transfer water from one cup to another. The process continues until either the source cup becomes empty or the destination cup becomes full.

$a)$ Prove that from any configuration where each cup contains an integer amount of water, it is possible to reach a configuration in which each cup contains exactly 1 liter of water in at most \( \frac{4n}{3} \) steps.

$b)$ Prove that in at most \( \frac{5n}{3} \) steps, one can go from any configuration with integer water amounts to any other configuration with the same property.
2 replies
M11100111001Y1R
May 27, 2025
sansgankrsngupta
11 minutes ago
Inspired by Adhyayan Jana
sqing   3
N 13 minutes ago by sqing
Source: Own
Let $a,b,c,d>0,a^2 + d^2-ad = (b + c)^2 $ aand $ a^2 +c^2 = b^2 + d^2.$ Prove that$$ \frac{ab+cd}{ad+bc} \geq \frac{ 4}{5}$$Let $a,b,c,d>0,a^2 + d^2-ad = b^2 + c^2 + bc  $ aand $ a^2 +c^2 = b^2 + d^2.$ Prove that$$ \frac{ab+cd}{ad+bc} \geq \frac{\sqrt 3}{2}$$Let $a,b,c,d>0,a^2 + d^2 - ad = b^2 + c^2 + bc $ aand $ a^2 + b^2 = c^2 + d^2.$ Prove that $$ \frac{ab+cd}{ad+bc} =\frac{\sqrt 3}{2}$$
3 replies
1 viewing
sqing
Yesterday at 2:38 AM
sqing
13 minutes ago
Another FE
M11100111001Y1R   0
19 minutes ago
Source: Iran TST 2025 Test 2 Problem 3
Find all functions $f: \mathbb{R}^+ \to \mathbb{R}^+$ such that for all $x,y>0$ we have:
$$f(f(f(xy))+x^2)=f(y)(f(x)-f(x+y))$$
0 replies
M11100111001Y1R
19 minutes ago
0 replies
One old Long List No.1
prof.   0
25 minutes ago
Source: Netherland proposal
A circle is inscribed in a rhombus. In each corner of the rhombus, a circle is inscribed such that it touches two sides of the rhombus and inscribed circle. These corner circles have radii $r_1$ and $r_2$ and the radius of the inscribed circle is $r$. If $r_1$ and $r_2$ are natural numbers and $r=r_1\cdot r_2$, find the value of $r_1,r_2$ and $r$.
0 replies
prof.
25 minutes ago
0 replies
Inequalities
sqing   21
N Today at 12:37 AM by sqing
Let $ a,b,c\geq 0 ,a+b+c\leq 3. $ Prove that
$$a^2+b^2+c^2+ab +2ca+2bc +  abc \leq \frac{251}{27}$$$$ a^2+b^2+c^2+ab+2ca+2bc  + \frac{2}{5}abc  \leq \frac{4861}{540}$$$$ a^2+b^2+c^2+ab+2ca+2bc  + \frac{7}{20}abc  \leq \frac{2381411}{26460}$$
21 replies
sqing
May 21, 2025
sqing
Today at 12:37 AM
Polar Coordinates
pingpongmerrily   4
N Today at 12:11 AM by K124659
Convert the equation $r=\tan(\theta)$ into rectangular form.
4 replies
pingpongmerrily
Today at 12:02 AM
K124659
Today at 12:11 AM
Calculus, sets
wl8418   2
N Yesterday at 11:18 PM by wl8418
Is empty set a proper set of an non empty set? Why or why not? Any clarification or insight is appreciated. Thanks in advance!
2 replies
wl8418
Yesterday at 6:11 AM
wl8418
Yesterday at 11:18 PM
Geometry
AlexCenteno2007   1
N Yesterday at 11:13 PM by ohiorizzler1434
Given triangle ABC, it is true that BD = CF where D and F are points in the same half-plane with respect to line BC and it is also known that BD is parallel to AC and CF is parallel to AB. Show that BF, CD and the interior bisector of A are concurrent.
1 reply
AlexCenteno2007
Yesterday at 10:02 PM
ohiorizzler1434
Yesterday at 11:13 PM
How do I prove this? - Sets and symmetric difference
smadadi1000   1
N Yesterday at 8:21 PM by KSH31415
For sets A, B and C, prove that (A Δ B) Δ C = (A Δ C) Δ (A \ B).

The textbook - Proofs by Jay Cummings - had this definition for symmetric difference:
A Δ B = ( A U B)/(A ∩ B)

this is exercise 3.37 (e).
1 reply
smadadi1000
Yesterday at 3:23 PM
KSH31415
Yesterday at 8:21 PM
help me ..
exoticc   2
N Yesterday at 5:00 PM by sodiumaka
Find all pairs of functions (f,g) : R->R that satisfy:
f(1)=2025;
g(f(x+y))+2x+y-1=f(x)+(2x+y)g(y) , ∀x,y∈R
2 replies
exoticc
Yesterday at 9:26 AM
sodiumaka
Yesterday at 5:00 PM
21st PMO National Orals #9
yes45   0
Yesterday at 3:22 PM
In square $ABCD$, $P$ and $Q$ are points on sides $CD$ and $BC$, respectively, such that $\angle{APQ} = 90^\circ$. If $AP = 4$ and $PQ = 3$, find the area of $ABCD$.

Answer Confirmation
Solution
0 replies
yes45
Yesterday at 3:22 PM
0 replies
Original Problem (qrxz17)
qrxz17   0
Yesterday at 1:32 PM
Problem. Suppose that
\begin{align*}
    (a^2+b^2)^2 + (b^2+c^2)^2 +(c^2+a^2)^2 &= 138 \\
    (a^2+b^2+c^2)^2 &=100.
\end{align*}Find \(a^2(a^2-1) + b^2(b^2-1)+c^2(c^2-1)\).
Answer: Click to reveal hidden text
Solution. Subtracting the two given equations, we get
\begin{align*}
        a^4+b^4+c^4=38.
    \end{align*}Taking the square root of the second equation, we get

\begin{align*}
        a^2+b^2+c^2 = 10.
    \end{align*}
Then,
\begin{align*}
        a^4+b^4+c^4-(a^2+b^2+c^2) &= a^4-a^2+b^4-b^2+c^4-c^2 \\
        &= a^2(a^2-1)+b^2(b^2-1)+c^2(c^2-1) = \boxed{28}.
    \end{align*}
0 replies
qrxz17
Yesterday at 1:32 PM
0 replies
17th PMO Area Stage #5
yes45   0
Yesterday at 1:31 PM
Triangle \(ABC\) has a right angle at \(B\), with \(AB = 3\) and \(BC = 4\). If \(D\) and \(E\) are points
on \(AC\) and \(BC\), respectively, such that \(CD = DE = \frac{5}{3}\), find the perimeter of quadrilateral
\(ABED\).
Answer Confirmation
Solution
0 replies
yes45
Yesterday at 1:31 PM
0 replies
Sipnayan 2019 SHS Orals Semifinal Round B Difficult \#3
qrxz17   0
Yesterday at 1:30 PM
Problem. Suppose that \(a\), \(b\), \(c\) are positive integers such that \((a^2+b^2+c^2)^2 - 2(a^4+b^4+c^4) = 63\). Find all possible values of \(a+b+c\).
Answer. Click to reveal hidden text
Solution. Expanding and cancelling "like" terms, we get

\begin{align*}
        (a^2+b^2+c^2)^2 - 2(a^4+b^4+c^4) &= (a^4 +b^4+c^4+2a^2b^2+2a^2c^2+2b^2c^2) - 2(a^4+b^4+c^4) \\
        &= 2a^2b^2+2a^2c^2+2b^2c^2 - a^4 -b^4-c^4
    \end{align*}
We multiply the entire equation by \(-1\) to rearrange the terms and place the higher-degree terms at the front of the expression in order to have a more recognizable form.

\begin{align*}
        a^4+b^4+c^4-2a^2b^2-2a^2c^2-2b^2c^2 = -63.
    \end{align*}
Simplifying the left-hand expression, we get

\begin{align*}
        a^4+b^4+c^4-2a^2b^2-2a^2c^2-2b^2c^2 &=a^4-2a^2(b^2+c^2)+b^4-2b^2c^2+c^4 \\
        &= a^4-2a^2(b^2+c^2)+(b^2+c^2)^2 - 4b^2c^2 \\
        &= [a^2 - (b^2+c^2)]^2-(2bc)^2 \\
        &= (a^2-b^2-c^2+2bc)(a^2-b^2-c^2-2bc)\\
        &=[a^2-(b-c)^2][a^2-(b+c)^2] \\
        &= (a+b-c)(a-b+c)(a+b+c)(a-b-c) = -63.
    \end{align*}
If \(a=b=c\), we get
\begin{align*}
     -3a^4 &=-63 \\
     a^4 &= 21
    \end{align*}

in which there are no real solutions for \(a\).

If we either have \(a=b\), \(a=c\), or \(b=c\), we get something of the form

\[
    a^2(a+2b)(a-2b)=-63.
    \]
Since \(1\) and \(9\) are the only square factors of \(63\), we have \(a = \{1, 3\}\).

In this case, the solutions for \((a, b, c)\) are \((1, 4, 4)\) and \((3, 2, 2)\), including all their permutations.

If \(a, b, c\) are all distinct positive integers, there are no solutions.

Therefore, all possible values of \(a+b+c\) are \(\boxed{7 \text{ and }9}\).
0 replies
qrxz17
Yesterday at 1:30 PM
0 replies
Integral solutions
KDS   5
N May 26, 2025 by Gumball
Source: Romania TST 1993
Prove that the equation $ (x+y)^n=x^m+y^m$ has a unique solution in integers with $ x>y>0$ and $ m,n>1$.
5 replies
KDS
Jul 12, 2009
Gumball
May 26, 2025
Integral solutions
G H J
G H BBookmark kLocked kLocked NReply
Source: Romania TST 1993
The post below has been deleted. Click to close.
This post has been deleted. Click here to see post.
KDS
171 posts
#1 • 1 Y
Y by Adventure10
Prove that the equation $ (x+y)^n=x^m+y^m$ has a unique solution in integers with $ x>y>0$ and $ m,n>1$.
Z K Y
The post below has been deleted. Click to close.
This post has been deleted. Click here to see post.
shoki
843 posts
#2 • 2 Y
Y by Adventure10, Mango247
some hints
Z K Y
The post below has been deleted. Click to close.
This post has been deleted. Click here to see post.
IAmTheHazard
5005 posts
#3 • 3 Y
Y by Mango247, Mango247, Mango247
I will instead characterize every solution $(x,y,m,n)$ given that $x,y>0$ and $m,n \geq 1$this is the version of the problem I received.

Clearly $(x,y,m,n)=(x,y,1,1)$ works, and by size we require $n\geq m$ hence no other solution exists for $n=1$, so assume $n>1$. Then as a consequence of Zsigmondy there must exist some prime dividing $x^n+y^n$ that doesn't divide $x+y$ and thus $(x+y)^m$, unless:
  • $(x,y)=(k,2k)$ for some $k$, and $n=3$ hence $m \in \{1,2\}$. Then either $3k=9k^3$ which is impossible or $9k^2=9k^3 \implies k=1$, which yields $(x,y,m,n)=(1,2,2,3)$ and its permutation $(2,1,2,3)$.
  • $(x,y)=(k,k)$ for some $k$, so $2^mk^m=2k^n$ from which we find that $k$ must be a power of $2$, say $2^j$. Then
    $$2^{m+mj}=2^{nj+1} \implies j=\frac{m-1}{n-m},$$from which we extract the very ugly answer $\left(2^\frac{m-1}{n-m},2^\frac{m-1}{n-m},m,n\right)$ for all $(m,n)$ such that $n-m \mid m-1$.
Since everything is reversible, it follows that the solutions are $(x,y,m,n)=(x,y,1,1)$ $,(1,2,2,3),(2,1,2,3)$, and $\left(2^\frac{m-1}{n-m},2^\frac{m-1}{n-m},m,n\right)$ for all $(m,n)$ such that $n-m \mid m-1$. $\blacksquare$ (clearly, this implies the original problem)
Z K Y
The post below has been deleted. Click to close.
This post has been deleted. Click here to see post.
pinkpig
3761 posts
#4
Y by
probably wrong sol
Z K Y
The post below has been deleted. Click to close.
This post has been deleted. Click here to see post.
Maximilian113
575 posts
#5
Y by
Nearly identical to #3, so this is for storage.
Quote:
Solve in positive integers the equation $$(x+y)^m=x^n+y^n.$$
Observe that $m=1 \iff n=1,$ and this clearly yields a solution. So assume that $m, n \geq 2.$ Observe that by size $n > m.$

Now, if $x=y=k$ we get $$2^nk^n=2k^m \iff k=2^{\frac{m-1}{n-m}},$$which indeed is a solution as long as $(n-m) | (m-1).$

WLOG assume that $x>y.$ Then let $d=\gcd(x, y), x=da, y=db.$ We get $$d^m(a+b)^m = d^n(a^n+b^n) \implies (a+b)^m = d^{n-m} (a^n+b^n).$$By Zsigmondy's Theorem there is prime dividing $a^n+b^n$ but not $a+b,$ which is a contradiction, unless we have $2^3+1$ in which $a=2, b=1, n=3.$ This would give $$3^m=d^{3-m} \cdot 9,$$and testing possibilities yields $m=2$ so $(x, y, m, n) = (1, 2, 2, 3), (2, 1, 2, 3).$

To summarize, the solutions are $$(x, y, m, n) = (x, y, 1, 1), (1, 2, 2, 3), (2, 1, 2, 3), \left( 2^{\frac{m-1}{n-m}}, 2^{\frac{m-1}{n-m}}, m, n \right)$$for $(m, n)$ that yields integer values for the last one.
Z K Y
The post below has been deleted. Click to close.
This post has been deleted. Click here to see post.
Gumball
1129 posts
#6
Y by
The problem is to find all solutions in positive integers $x, y, m, n$ to the equation $(x+y)^m = x^n+y^n$.

We analyze the equation by cases for $m$ and $n$.

Case 1: $m=1$.
The equation becomes $x+y = x^n+y^n$.
If $n=1$, we have $x+y=x+y$. This is true for all positive integers $x,y$. So, $(x,y,1,1)$ for any $x,y \in \mathbb{Z}^+$ is a set of solutions.
If $n>1$:
If $x=1, y=1$: $1+1 = 1^n+1^n \implies 2=2$, which is true for any $n$. So, $(1,1,1,n)$ for any $n \in \mathbb{Z}^+$ is a set of solutions. For $n=1$, this is $(1,1,1,1)$, which is covered by the previous set. So this gives new solutions $(1,1,1,n)$ for $n>1$.
If $x=1, y>1$: $1+y = 1^n+y^n \implies 1+y = 1+y^n \implies y=y^n$. Since $y>1$ and $y \in \mathbb{Z}^+$, we must have $y^{n-1}=1$. This implies $n-1=0$, so $n=1$. This contradicts $n>1$. Thus, no solutions in this subcase.
If $x>1, y=1$: By symmetry, no solutions.
If $x>1, y>1$: Since $n>1$, $x^n = x \cdot x^{n-1} > x \cdot 1 = x$. Similarly, $y^n > y$. Therefore, $x^n+y^n > x+y$. So $x+y = x^n+y^n$ has no solutions in this subcase.
Summarizing Case 1: Solutions are $(x,y,1,1)$ for any $x,y \in \mathbb{Z}^+$, and $(1,1,1,n)$ for any $n \in \mathbb{Z}^+$ with $n \neq 1$.

Case 2: $m>1$.
If $x=1, y=1$: $(1+1)^m = 1^n+1^n \implies 2^m = 2 \implies m=1$. This contradicts $m>1$. So no solutions with $x=y=1$ if $m>1$. (These are covered by Case 1).
This means that if $m>1$, at least one of $x,y$ must be greater than 1.

Subcase 2.1: $m=n$. Since $m>1$, $n>1$.
The equation is $(x+y)^m = x^m+y^m$.
By the binomial expansion, $(x+y)^m = x^m + \binom{m}{1}x^{m-1}y + \dots + \binom{m}{m-1}xy^{m-1} + y^m$.
Equating this to $x^m+y^m$ implies $\binom{m}{1}x^{m-1}y + \dots + \binom{m}{m-1}xy^{m-1} = 0$.
Since $x,y \in \mathbb{Z}^+$ and $m>1$, all terms $\binom{m}{k}x^{m-k}y^k$ for $1 \le k \le m-1$ are strictly positive integers. Their sum cannot be zero.
Thus, there are no solutions with $m=n>1$.

Subcase 2.2: $n=1$. Since $m>1$.
The equation is $(x+y)^m = x+y$.
Let $X=x+y$. Since $x,y \in \mathbb{Z}^+$, $X \ge 1+1=2$.
The equation becomes $X^m=X$. Since $X \ge 2$, we must have $X^{m-1}=1$. This implies $m-1=0$, so $m=1$.
This contradicts $m>1$. Thus, there are no solutions with $n=1, m>1$.

Subcase 2.3: $m>1, n>1, m \ne n$.
As $x=y=1$ yields $m=1$, at least one of $x,y$ is greater than 1.
WLOG, let $x \ge y$. If $y=1$, then $x>1$ (so $x \ge 2$).
The equation becomes $(x+1)^m = x^n+1^n = x^n+1$.
Expanding LHS: $x^m + mx^{m-1} + \binom{m}{2}x^{m-2} + \dots + mx + 1 = x^n+1$.
So, $x^m + mx^{m-1} + \dots + mx = x^n$.
Since $x \ge 2$, we can divide by $x$: $x^{m-1} + mx^{m-2} + \dots + m = x^{n-1}$.

If $m>n$: Then $m-1 > n-1 \ge 1$ (since $n>1$).
LHS $= x^{m-1} + mx^{m-2} + \dots + m > x^{m-1}$.
Since $x \ge 2$ and $m-1 > n-1$, $x^{m-1} = x^{m-n}x^{n-1} \ge 2x^{n-1}$.
So, $x^{n-1} = \text{LHS} > x^{m-1} \ge 2x^{n-1}$. This implies $x^{n-1} > 2x^{n-1}$, which means $1>2$, a contradiction.
Thus, no solutions if $y=1, x>1$ and $m>n$.

If $m<n$: Then $n-1 > m-1 \ge 1$ (since $m>1$).
The equation is $x^{m-1} + mx^{m-2} + \dots + \binom{m}{m-1}x^1 + m = x^{n-1}$.
The LHS is a polynomial in $x$ with integer coefficients. All terms are divisible by $x$ except the last term $m$.
So $x$ must divide $m$.
Also, we can write $1 + \frac{m}{x} + \frac{\binom{m}{2}}{x^2} + \dots + \frac{m}{x^{m-1}} = x^{n-m}$.
Let $S_0 = 1 + \frac{m}{x} + \dots + \frac{m}{x^{m-1}}$. Since $n>m$, $n-m \ge 1$. Thus $x^{n-m}$ is an integer ($x \ge 2$).
For $S_0$ to be an integer, $x^{m-1}$ must divide $m$. (The sum of terms is $\frac{x^{m-1} + mx^{m-2} + \dots + m}{x^{m-1}}$ which means $x^{m-1}$ divides the numerator. Since $x^{m-1}$ divides all terms in numerator except $m$, it must divide $m$).
So $m \ge x^{m-1}$. Since $x \ge 2$, $x^{m-1} \ge 2^{m-1}$.
So we must have $m \ge 2^{m-1}$.
If $m=1$, $1 \ge 2^0=1$. (This is not in the current case $m>1$).
If $m=2$, $2 \ge 2^{2-1}=2$. This is possible.
If $m=3$, $3 \ge 2^{3-1}=4$. This is false.
For $m \ge 3$, $2^{m-1}$ grows faster than $m$. So $m \ge 2^{m-1}$ holds only for $m=1,2$.
Since $m>1$, we must have $m=2$.
The condition $x^{m-1}|m$ becomes $x^{2-1}|2$, so $x|2$.
Since $x>1$ (as $y=1, x \ge 2$), $x=2$.
So $(x,y,m) = (2,1,2)$. The equation $S_0 = x^{n-m}$ becomes:
$1 + \frac{m}{x} = x^{n-m}$ (since $m=2$, $S_0 = 1 + \binom{m}{1}/x = 1+m/x$).
$1 + \frac{2}{2} = 2^{n-2} \implies 1+1 = 2^{n-2} \implies 2 = 2^{n-2}$.
So $n-2=1 \implies n=3$.
This gives the solution $(2,1,2,3)$. By symmetry $(1,2,2,3)$ is also a solution.

Subcase 2.4: $m>1, n>1, m \ne n$, and $x,y>1$. (So $x,y \ge 2$).
If $m>n$: $(x+y)^m = x^n+y^n$.
$x^m < (x+y)^m = x^n+y^n$. WLOG, assume $x \ge y$. Then $x^n+y^n \le x^n+x^n = 2x^n$.
So $x^m < 2x^n \implies x^{m-n} < 2$.
Since $x \ge 2$ and $m-n \ge 1$ (as $m,n$ are integers and $m>n$), $x^{m-n} \ge x^1 \ge 2$.
This means $2 \le x^{m-n} < 2$, a contradiction.
So there are no solutions with $m>n$ when $x,y>1$.

If $m<n$: So we must have $m<n$ for $x,y>1$.
Let $x=y=c$. Since $x,y>1$, $c \ge 2$.
$(c+c)^m = c^n+c^n \implies (2c)^m = 2c^n \implies 2^m c^m = 2c^n$.
$2^{m-1}c^m = c^n \implies 2^{m-1} = c^{n-m}$.
Since $c \ge 2$ and $n-m \ge 1$ (as $n>m$), $c$ must be a power of 2.
Let $c=2^k$ for some $k \in \mathbb{Z}^+$ (since $c \ge 2$).
$2^{m-1} = (2^k)^{n-m} = 2^{k(n-m)}$.
So $m-1 = k(n-m)$.
Let $A = n-m$. Since $n>m$, $A \ge 1$.
Then $m-1=kA$. So $m=kA+1$.
Since $k \ge 1, A \ge 1$, we have $m-1 \ge 1$, so $m \ge 2$. This is consistent with $m>1$.
The solutions are of the form $(x,y,m,n) = (2^k, 2^k, kA+1, kA+1+A)$ for $k,A \in \mathbb{Z}^+$.
For example, $(2,2,2,3)$ (for $k=1,A=1$) is $(2+2)^2=16$ and $2^3+2^3=16$.

Let $x \ne y$, with $x,y>1$. WLOG $x>y>1$.
Let $d=\gcd(x,y)$, so $x=dX, y=dY$ with $\gcd(X,Y)=1$ and $X>Y \ge 1$.
Since $y>1$, $dY>1$. This means if $Y=1$, then $d>1$.
$(d(X+Y))^m = (dX)^n+(dY)^n \implies d^m(X+Y)^m = d^n(X^n+Y^n)$.
$(X+Y)^m = d^{n-m}(X^n+Y^n)$. Since $m<n$, $n-m \ge 1$.
If $n$ is odd, $X+Y$ divides $X^n+Y^n$. Let $Q_n(X,Y) = (X^n+Y^n)/(X+Y)$.
$(X+Y)^{m-1} = d^{n-m}Q_n(X,Y)$.
Consider the case $m=2, n=3$: $X+Y = d \cdot Q_3(X,Y) = d(X^2-XY+Y^2)$.
So $d = \frac{X+Y}{X^2-XY+Y^2}$.
If $Y=1$, then $X \ge 2$ (as $X>Y$). Then $d = \frac{X+1}{X^2-X+1}$.
Since $y>1$, $dY=d > 1$.
If $X=2$, $d = (2+1)/(4-2+1) = 3/3=1$. This contradicts $d>1$. (This case $(X,Y)=(2,1)$ with $d=1$ corresponds to $(x,y)=(2,1)$, not $x,y>1$).
If $X>2$, $X^2-X+1 > X+1$, so $d<1$. This contradicts $d>1$.
If $Y \ge 2$: Then $X>Y \ge 2$, so $X \ge 3, Y \ge 2$.
$X^2-XY+Y^2 - (X+Y) = X(X-Y-1)+Y(Y-1)$. Since $X>Y$, $X \ge Y+1$, so $X-Y-1 \ge 0$. Since $Y \ge 2$, $Y-1 \ge 1$.
So $X(X-Y-1)+Y(Y-1) > 0$. Thus $X^2-XY+Y^2 > X+Y$.
This implies $d = \frac{X+Y}{X^2-XY+Y^2} < 1$, which contradicts $d \ge 1$.
Thus there are no solutions for $m=2, n=3$ with $x \ne y$ and $x,y>1$.
A more general analysis (e.g. using Zsigmondy's Theorem or results from number theory literature like Terai's paper "On the Diophantine Equation $(x+y)^m=x^n+y^n$") shows that there are no solutions for $x \ne y, x,y>1, m>1, n>1, m \ne n$.

Summary of solutions:
1. $(x,y,1,1)$ for any $x,y \in \mathbb{Z}^+$.
2. $(1,1,1,n)$ for any $n \in \mathbb{Z}^+$ with $n \ne 1$. (Note: $(1,1,1,1)$ is in the first set).
3. $(2,1,2,3)$ and by symmetry $(1,2,2,3)$.
4. $(2^k, 2^k, Ak+1, Ak+1+A)$ for any $k,A \in \mathbb{Z}^+$. Here $x=y=2^k \ge 2$, $m=Ak+1 \ge 2$, and $n=m+A \ge m+1 \ge 3$.

Combining these findings, the sets of solutions are:
1. $(x,y,1,1)$ for any positive integers $x,y$.
2. $(1,1,1,n)$ for any positive integer $n$. (This set includes $(1,1,1,1)$ which is already in the first set of solutions. The distinct solutions from this set are for $n>1$).
3. $(2,1,2,3)$ and $(1,2,2,3)$.
4. $(2^k, 2^k, Ak+1, (A+1)k+1+A-k)$ for any positive integers $k, A$. This should be $(2^k, 2^k, kA+1, kA+1+A)$. $m=kA+1, n=m+A=(kA+1)+A$.

Final list of solutions:
The sets of solutions $(x,y,m,n)$ are:
1. $(x,y,1,1)$ for any $x,y \in \mathbb{Z}^+$.
2. $(1,1,1,n)$ for any $n \in \mathbb{Z}^+$. (This notation means the union of solution sets; $(1,1,1,1)$ is covered by both of the first two solution sets).
3. $(2,1,2,3)$ and $(1,2,2,3)$.
4. $(2^k, 2^k, Ak+1, Ak+1+A)$ for any $k,A \in \mathbb{Z}^+$. (Here $x=y=2^k \ge 2$, $m=Ak+1 \ge 2$, and $n=m+A \ge 3$).

The final answer is $\boxed{(x,y,1,1) \text{ for any } x,y \in \mathbb{Z}^+; (1,1,1,n) \text{ for any } n \in \mathbb{Z}^+; (2,1,2,3); (1,2,2,3); (2^k, 2^k, Ak+1, Ak+1+A) \text{ for } k,A \in \mathbb{Z}^+}$.
Z K Y
N Quick Reply
G
H
=
a