Stay ahead of learning milestones! Enroll in a class over the summer!

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
Inspired by nhathhuyyp5c
sqing   1
N 8 minutes ago by sqing
Source: Own
Let $ x,y>0, x+2y- 3xy\leq 4. $Prove that
$$ \frac{1}{x^2} + 2y^2 + 3x + \frac{4}{y} \geq 3\left(2+\sqrt[3]{\frac{9}{4} }\right)$$
1 reply
sqing
12 minutes ago
sqing
8 minutes ago
Quadrilateral with Congruent Diagonals
v_Enhance   38
N 14 minutes ago by Giant_PT
Source: USA TSTST 2012, Problem 2
Let $ABCD$ be a quadrilateral with $AC = BD$. Diagonals $AC$ and $BD$ meet at $P$. Let $\omega_1$ and $O_1$ denote the circumcircle and the circumcenter of triangle $ABP$. Let $\omega_2$ and $O_2$ denote the circumcircle and circumcenter of triangle $CDP$. Segment $BC$ meets $\omega_1$ and $\omega_2$ again at $S$ and $T$ (other than $B$ and $C$), respectively. Let $M$ and $N$ be the midpoints of minor arcs $\widehat {SP}$ (not including $B$) and $\widehat {TP}$ (not including $C$). Prove that $MN \parallel O_1O_2$.
38 replies
v_Enhance
Jul 19, 2012
Giant_PT
14 minutes ago
Interesting inequality
sealight2107   4
N an hour ago by NguyenVanHoa29
Source: Own
Let $a,b,c>0$ such that $a+b+c=3$. Find the minimum value of:
$Q=\frac{a}{b}+\frac{b}{c}+\frac{c}{a}+\frac{1}{a^3+b^3+abc}+\frac{1}{b^3+c^3+abc}+\frac{1}{c^3+a^3+abc}$
4 replies
sealight2107
May 6, 2025
NguyenVanHoa29
an hour ago
Inequality
nguyentlauv   3
N an hour ago by NguyenVanHoa29
Source: Own
Let $a,b,c$ be positive real numbers such that $ab+bc+ca=3$ and $k\ge 0$, prove that
$$\frac{\sqrt{a+1}}{b+c+k}+\frac{\sqrt{b+1}}{c+a+k}+\frac{\sqrt{c+1}}{a+b+k} \geq \frac{3\sqrt{2}}{k+2}.$$
3 replies
1 viewing
nguyentlauv
May 6, 2025
NguyenVanHoa29
an hour ago
No more topics!
(m^2+n)(m+n^2)=(m-n)^3
Binomial-theorem   29
N Apr 25, 2025 by Ilikeminecraft
Source: USAMO 1987 problem 1
Determine all solutions in non-zero integers $a$ and $b$ of the equation \[(a^2+b)(a+b^2) = (a-b)^3.\]
29 replies
Binomial-theorem
Jul 24, 2011
Ilikeminecraft
Apr 25, 2025
(m^2+n)(m+n^2)=(m-n)^3
G H J
G H BBookmark kLocked kLocked NReply
Source: USAMO 1987 problem 1
The post below has been deleted. Click to close.
This post has been deleted. Click here to see post.
Binomial-theorem
3982 posts
#1 • 3 Y
Y by ahmedosama, Adventure10, Mango247
Determine all solutions in non-zero integers $a$ and $b$ of the equation \[(a^2+b)(a+b^2) = (a-b)^3.\]
This post has been edited 1 time. Last edited by djmathman, May 27, 2018, 5:04 PM
Reason: official wording!
Z K Y
The post below has been deleted. Click to close.
This post has been deleted. Click here to see post.
Farenhajt
5167 posts
#2 • 4 Y
Y by Richangles, A-Thought-Of-God, Adventure10, Mango247
Expand both sides, cancel $m^3$ and divide by $n$ ($\neq 0$) to obtain

$2n^2+(m^2-3m)n+3m^2+m=0$

$n_{1,2}={-m^2+3m\pm\sqrt{m^4-6m^3-15m^2-8m}\over 4}$

Factorize the discriminant as $m(m-8)(m+1)^2$. Therefore for some integer $k$ we must have $m(m-8)=k^2\iff (m-4)^2-k^2=16$.

Thus $m-4\in\left\{\pm{1+16\over 2},\pm{2+8\over 2},\pm{4+4\over 2}\right\}\implies m\in\{-1,8,9\}$ (value $m=0$ is discarded).

Plugging all of those into the expression for $n$, we find the solutions:

$(m,n)\in\{(-1,-1),(8,-10),(9,-6),(9,-21)\}$
This post has been edited 2 times. Last edited by Farenhajt, Jul 25, 2011, 1:52 AM
Z K Y
The post below has been deleted. Click to close.
This post has been deleted. Click here to see post.
professordad
4549 posts
#3 • 2 Y
Y by Adventure10, Mango247
^Wait, why did you discard $m = -1$? :? I found that $(n + 1)(n^2 - 1) = -(n + 1)^3$ became $2n^3 + 4n^2 + 2n = 0$, yielding $n = -1$ and $n = 0$. So $\boxed{(-1,-1)}$ should be an additional solution...
Z K Y
The post below has been deleted. Click to close.
This post has been deleted. Click here to see post.
Farenhajt
5167 posts
#4 • 3 Y
Y by AlastorMoody, Adventure10, Mango247
Because I can't multiply :wacko: In Farenhajt algebra, $-(-1)^2=1$.

Thanks, professordad. Edited.
Z K Y
The post below has been deleted. Click to close.
This post has been deleted. Click here to see post.
nunoarala
108 posts
#5 • 3 Y
Y by Binomial-theorem, Adventure10, Mango247
Reminds me of https://artofproblemsolving.com/community/c6h546190p3160606.
Z K Y
The post below has been deleted. Click to close.
This post has been deleted. Click here to see post.
yayups
1614 posts
#6 • 4 Y
Y by Pluto1708, star32, A-Thought-Of-God, Adventure10
Note that $(m,0)$ is always a solution, so henceforth we assume $n\ne 0$. Expanding the equation, we get
\[m^2n^2+mn+n^3=-3m^2n+3mn^2-n^3,\]or
\[2n^2+n(m^2-3m)+(3m^2+m).\]The quadratic formula then gives
\[n=\frac{3m-m^2\pm\sqrt{(m^2-3m)^2-8(3m^3+m)}}{4}=\frac{3m-m^2\pm(m+1)\sqrt{m(m-8)}}{4}.\]Thus, $m(m-8)$ is a perfect square, so $m\in\{-1,0,8,9\}$. This gives the final solution set of
\[\boxed{(m,0),(-1,-1),(8,-10),(9,-6),(9,-21)}.\]
Z K Y
The post below has been deleted. Click to close.
This post has been deleted. Click here to see post.
Stormersyle
2786 posts
#7
Y by
$n=0$ is clearly a solution so suppose $n\ne 0$; then, expanding and dividing by $n$ we get the quadratic $2n^2+(m^2-3m)n+(3m^2+m)=0$. But the discriminant is $m(m+1)^2(m-8)$ so $m^2-8m=x^2$, and thus $16+x^2=y^2$, so using diff. of squares we get $x^2=0, 9$. After a bit of bashing our final answer is $(m, n)=(m, 0), (-1, -1), (8, -10), (9, -6), (9, -21)$.
This post has been edited 1 time. Last edited by Stormersyle, Jun 16, 2020, 7:04 AM
Z K Y
The post below has been deleted. Click to close.
This post has been deleted. Click here to see post.
brainiacmaniac31
2170 posts
#8
Y by
First, assume $a=b$. Then, we have $(a^2+a)^2=0\implies a=0\text{ or } -1$. This leads to the solutions $(0,0)$ and $(-1,-1)$. Now, assume $a=0$. We get $b^3=-b^3\implies b = 0$, which we already found. Finally, assume $b = 0$, which leads to $a^3=a^3$. Thus, all solutions of the form $(t,0)$ satisfy the equation.

Now, assume both $a$ and $b$ are nonzero. Expanding the given equation gives us
$$a^3+b^3+a^2b^2+ab=a^3-3a^2b+3ab^3-b^3$$$$\implies 2b^2+(a^2-3a)b+(a+3a^2)=0$$$$\implies b = \frac{3a-a^2\pm\sqrt{a^4-6a^3-15a^2-8a}}{4}.$$Since $b\in\mathbb{Z}$, we must have $\sqrt{a^4-6a^3-15a^2-8a}\in\mathbb{Z}$ as well. Notice that $a^4-6a^3-15a^2-8a=a(a-8)(a+1)^2$, so it is sufficient to find all $a$ such that $a(a-8)=k^2$ for some integer $k$.
$$a^2-8a-k^2=0$$$$\implies a=\frac{8\pm\sqrt{64+4k^2}}{2}=4\pm\sqrt{16+k^2}.$$Now, we have to find all $k$ such that $16+k^2$ is a perfect square. Let $16+k^2=m^2$, so that $m^2-k^2=16$. Note that if $k\ge8$, then
$$m^2-k^2\ge (k+1)^2-k^2=2k+1>17,$$so it is sufficient to check $k$ in the range $[0,7]$. We find that the only $k$ are $0,3$, which means $a\in\{-1, 0, 8, 9\}$. For each of these, we can manually check what $b$ can be, and we find the solutions $(-1,-1),(0,0),(8,-10),(9,-6),(9,-21)$.
Remembering that the problem asks for nonzero solutions, the only possible pairs are $\boxed{(-1,-1),(8,-10),(9,-6),(9,-21)}$.
Z K Y
The post below has been deleted. Click to close.
This post has been deleted. Click here to see post.
AwesomeYRY
579 posts
#9
Y by
Expand to get
\[m^3+m^2n^2+mn+n^3=m^3-3m^2n+3mn^2-n^3\]Rearranging, we get
\[n(2n^2-n(3m-m^2)+(3m^2+m))=0\]The $n=0$ will always gives solutions, so we will assume $n\neq 0$ from now on. Otherwise, by the quadratic formula we must have the determinant of the inner quadratic is a square,
\[\Delta^2 = (3m-m^2)^2-8(3m^2+m) = m(m+1)^2(m-8)\]Thus, $(m)(m-8)$ is a square. Note that $\gcd(m,m-8)\leq 8$.

Case 1 is when both $m$ and $m-8$ are squares, this happens when $m=-1,9$. Case 2 is when either term is 0, $m=0,8$. Case 3 is when $m$ and $m-8$ are both of the form $2k^2$, which has no solutions.

We may now answer extract. Our solution sets are (m,n) equals
\[(m,0), (8,-10),(-1,-1),(9,-6),(9,-21)\]
This post has been edited 1 time. Last edited by AwesomeYRY, Mar 24, 2021, 3:04 AM
Z K Y
The post below has been deleted. Click to close.
This post has been deleted. Click here to see post.
OlympusHero
17020 posts
#10
Y by
Solution
Z K Y
The post below has been deleted. Click to close.
This post has been deleted. Click here to see post.
math31415926535
5617 posts
#11
Y by
OlympusHero wrote:
Solution

I don't get how you got this part: Since $9^2-8^2 = 17 > 16$ and $8^2-7^2 = 15 < 16$, we test until $8+4=12$.
Z K Y
The post below has been deleted. Click to close.
This post has been deleted. Click here to see post.
OlympusHero
17020 posts
#12
Y by
If you let $m-4=x$, then $x^2-16$ as well as $x^2$ are both perfect squares, so the perfect squares must differ by $16$. The difference between two consecutive perfect squares eclipses $16$ at $9^2-8^2$ and we have $8^2-7^2=15<16$, so we test all the way until $8+4=12$.

Now does that make sense?
Z K Y
The post below has been deleted. Click to close.
This post has been deleted. Click here to see post.
math31415926535
5617 posts
#13
Y by
OlympusHero wrote:
If you let $m-4=x$, then $x^2-16$ as well as $x^2$ are both perfect squares, so the perfect squares must differ by $16$. The difference between two consecutive perfect squares eclipses $16$ at $9^2-8^2$ and we have $8^2-7^2=15<16$, so we test all the way until $8+4=12$.

Now does that make sense?

yea it makes sense now, thanks
Z K Y
The post below has been deleted. Click to close.
This post has been deleted. Click here to see post.
studentlearner
149 posts
#14 • 1 Y
Y by Mango247
sol?
Z K Y
The post below has been deleted. Click to close.
This post has been deleted. Click here to see post.
megarnie
5608 posts
#15 • 1 Y
Y by peter_infty
The only solutions are $\boxed{(m,0)}$ for any integer $m$, and also the additional solutions $\boxed{(-1,-1), ((8,-10), (9,-6), (9,-21)}$
We can expand the equation and get \[ m^2n^2 + 3m^2 n - 3mn^2 + mn + 2n^3  =  0  \]
If $n=0$, then we get $(m,0)$. Now assume $n\ne 0$. Then dividing both sides by $n$ gives \[m^2 n + 3m^2 - 3mn + m + 2n^2 =0\]
This is the same as \[2n^2 + (m^2 - 3m)n + 3m^2 + m = 0\]
The discriminant of this quadratic, which is \[(m^2 - 3m)^2 - 8(3m^2 + m) = m(m-8)(m+1)^2\]must be a perfect square.

So $m(m-8)$ is a square.
If positive integers satisfy $a^2 - b^2 = 16$, then we have $(a-b)(a+b) = 16$. Assume $a$ and $b$ are nonnegative. We have $(a,b) = (5,3), (4,0)$.

Since $(m-4)^2 - m(m-8) = 16$, we have $m(m-8)\in 0, 9$, so $m\in \{-1,0,8,9\}$. This gives the described solutions.
Z K Y
The post below has been deleted. Click to close.
This post has been deleted. Click here to see post.
HamstPan38825
8866 posts
#17
Y by
The solution set is $(-1, -1), (8, -10), (9, 21), (9, -6)$.

By expansion and doing no further simplification, $$(n+3)m^2 + (1-3n)m + 2n^2 = 0.$$Observe that the discriminant of this expression with respect to $n$ must be a perfect square, hence $$\Delta = (m^2-3m)^2-8(m+3m^2) = m(m-8)(m+1)^2$$is a perfect square. This yields $m=-1, 0, 8, 9$, which implies the desired solution set.
Z K Y
The post below has been deleted. Click to close.
This post has been deleted. Click here to see post.
cinnamon_e
703 posts
#18
Y by
The solution set is $(-1, -1), (8, -10), (9, 21), (9, -6)$.

By expansion and doing no further simplification, $$(n+3)m^2 + (1-3n)m + 2n^2 = 0.$$Observe that the discriminant of this expression with respect to $n$ must be a perfect square, hence $$\Delta = (m^2-3m)^2-8(m+3m^2) = m(m-8)(m+1)^2$$is a perfect square. This yields $m=-1, 0, 8, 9$, which implies the desired solution set.

um how did you solve for $m$?
Z K Y
The post below has been deleted. Click to close.
This post has been deleted. Click here to see post.
v_Enhance
6877 posts
#19
Y by
Except in the edge case where $(m+1)^2 = 0$, it's equivalent for $m(m-8)$ to be a perfect square.
If that square is $s^2$, say, you can write it as $(m-4)^2 - s^2 = 16$, and then you can factor the resulting difference of squares.
Z K Y
The post below has been deleted. Click to close.
This post has been deleted. Click here to see post.
mathmax12
6051 posts
#20
Y by
Note, that if we expand, we have $a^3+a^2b^2+ab+b^3=a^3-3a^2b+3ab^2-b^3 \implies a^2b^2+ab+2b^3=3ab^2-3a^2b \implies a^2b+a+2b^2=3ab-3a^2$, hence, we have $2b^2+(a^2-3a)b+3a^2+a=0.$ If we use the quadratic, formula we get $\frac{3a-a^2\pm (a+1)\sqrt{a(a-8)}}{4}$, we need, $a(a-8)=(a-4)^2-16$, to be a perfect, square, note, that $(n+1)^2-n^2>16$, for all $n>7$(integers), so we just test, out the solutions, here, to get $\boxed{(-1,-1), (8,-10), (9,-6), (9,-21)}.$

@megarine, note, that it says for nonnegative integers, $m,n$, so $(m,0)$, is not a valid solution.
Z K Y
The post below has been deleted. Click to close.
This post has been deleted. Click here to see post.
megarnie
5608 posts
#21 • 2 Y
Y by GoodMorning, mathmax12
@above you mean nonzero

I was going off this problem, so it's ok
Attachments:
Z K Y
The post below has been deleted. Click to close.
This post has been deleted. Click here to see post.
peppapig_
281 posts
#22
Y by
Overcomplication ftw

Expanding, we have
\[m^2n^2+mn+n^3=-n^3+3mn^2-3m^2n \iff 2n^2+3m^2+m^2n-3mn+m=0 \text{ if } n \neq 0.\]Grouping the terms in terms of $m$, we find that
\[(n+3)m^2+(-3n+1)m+2n^2=0,\]and by the quadratic formula, we get that
\[m=\frac{(3n-1)\pm \sqrt{-8n^3-15n^2-6n+1}}{2(n+3)}=\frac{(3n-1)\pm \sqrt{-(8n-1)(n+1)^2}}{2(n+3)},\]meaning that $1-8n$ is a perfect square. Letting $n=\frac{1-k^2}{8}$, rewriting $m$ in terms of $k$ gives us that
\[m=\frac{\frac{-5-3k^2}{8}\pm \sqrt{k^2\left(\frac{9-k^2}{8}\right)^2}}{2\left(\frac{25-k^2}{8}\right)}=\frac{(-5-3k^2)\pm k(9-k^2)}{2(5+k)(5-k)}.\]We now take this into cases.

First, we must consider the case where $k=\pm5$. In this case, note that $n$ would then be $-3$, giving us that
\[(m^2-3)(m+9)=m^3+9m^2-3m-27=(m+3)^3=m^3+9m^2+27m+27,\]which only has a solution at $m=\frac{9}{5}$, which is not an integer. Therefore this case has no solutions.

Our second case is if we consider
\[m=\frac{(-5-3k^2)+k(9-k^2)}{2(5+k)(5-k)},\]for $k\neq \pm 5$.
Note that $k^3+3k^2-9k+5=(k+5)(k-1)^2$, meaning that $m$ is actually equal to
\[\frac{k^2-2k+1}{2(k-5)},\]which means that $k-5 \mid k^2-2k+1$. Note that since $k^2-2k+1$ has a remainder of $16$ when divided by $k-5$, we actually have that $k-5 \mid 16$. Therefore, the possibilities for $k$ in this case are $-11$, $-3$, $1$, $3$, $4$, $6$, $7$, $9$, $13$, and $21$. Checking all of these, we find that the only valid $k$ are $\pm 3$, $7$, $9$, and $13$, giving us the solutions $(-1,-1)$, $(9,-6)$, $(8,-10)$, and $(9,-21)$.

Our final case is if we consider
\[m=\frac{(-5-3k^2)-k(9-k^2)}{2(5+k)(5-k)},\]for $k\neq \pm 5$. Note that since $k^3-3k^2-9k-5=(k-5)(k+1)^2$, we have that $m$ is actually equal to
\[\frac{k^2+2k+1}{2(k+5)},\]which means that $k+5 \mid k^2+2k+1$, which has a remainder of $16$ when divided by $k+5$, meaning that $k+5\mid 16$. However, this is symmetric to the second case, meaning that all solutions that could be found here have already been found.

Therefore, the only solutions are $(-1,-1)$, $(9,-6)$, $(8,-10)$, and $(9,-21)$, and we are done.
This post has been edited 5 times. Last edited by peppapig_, Sep 26, 2023, 10:44 PM
Reason: Typo edits
Z K Y
The post below has been deleted. Click to close.
This post has been deleted. Click here to see post.
dolphinday
1326 posts
#23
Y by
Expanding both sides gets us:

\[m^3 + n^3 + m^2n^2 +mn = m^3 - 3m^2n + 3mn^2 - n^3\]
\[2n^3 + (m^2 - 3m)(n^2) + (3m^2 + m)(n) = 0 \]
Dividing by $n$, and then using the Quadratic Formula gets us:

\[ \frac{-m^2 + 3m \pm \sqrt{m^4 - 6m^3 - 15m^2 - 8m}}{4}\]
\[\frac{-m^2 + 3m \pm \sqrt{m(m - 8)(m + 1)^2}}{4}\]
So, for the discriminant to be a perfect square, $m(m - 8)$ must be a perfect square. If $m + 1 = 0$, then this still holds true for $m(m - 8)$, as $-1 /cdot -9 = 9 = 3^2.$ This also holds true for $m = 0$.

\[m(m - 8) = k^2\]
\[(m - 4)^2 - k^2 = 16\]
\[(m - 4 + k)(m - 4 - k) = 16\]
This gives us the solution set $m = (-1, 0, 8, 9).$

Plugging these values into the quadratic, we get the solution set:

$(m, n) = (-1, 1), (0, 0), (8, -10). (9, -6), (9, -21)$.
Z K Y
The post below has been deleted. Click to close.
This post has been deleted. Click here to see post.
Shreyasharma
682 posts
#24
Y by
We claim the solutions are $\boxed{(m,n)\in\{(-1,-1),(8,-10),(9,-6),(9,-21)\}}$.

Expanding gives, $$m^3 + n^3 + m^2n^2 + mn = m^3 - 3m^2n + 3mn^2 - n^3$$This simplifies to $$2n^3 + m^2n^2 + 3mn^2 - 3m^2n + mn = 0$$This rearranges to $$2n^2 + (m^2 - 3m)n + (3m^2 + m) = 0 \text{ for $n \neq 0$}$$Now quadratic formula gives $$n = \frac{-m^2 + 3m \pm \sqrt{m^4 - 6m^3 - 15m^2 - 8m}}{4} $$where the discriminant factors as $m(m-8)(m+1)^2$. Then for some $k$ we have $m(m-8) = k^2$. This then becomes,
\begin{align*}
m^2 - 8m &= k^2\\
(m-4)^2 - k^2 &= 16
\end{align*}This then gives the claimed solution set.
Z K Y
The post below has been deleted. Click to close.
This post has been deleted. Click here to see post.
MagicalToaster53
159 posts
#25
Y by
I claim all of the solutions to this equation are $\boxed{(-1, -1), (9, -6), (9, -21), (8, -10)}$.

First expand both sides and remove $a^3$ both sides from the equation to obtain \[ab + a^2b^2 + b^3 = -3a^2b + 3ab^2 - b^3.\]Dividing by $b$ on both sides ($b \neq 0$) as well as rearranging, we obtain the quadratic in $b$ \[2b^2 + b(a^2 - 3a) + (3b^2 + b) = 0.\]Now we must have the discriminant $\Delta \in \mathbb{N}$, as $b$ must be an integer. Now upon factoring we find \[\Delta = a(a + 1)^2(a - 8) \implies a + 1 = 0, \text{ or } a^2 - 8a = (a - p)^2, \text{ for } p \in \mathbb{N}.\]
Case 1: ($a + 1 = 0$). Then $a = -1 \implies 2b^2 + 4b + 2 = 0 \implies \boxed{b = -1}$.

Case 2: $\left(a(a - 8) = (a - p)^2 \right).$ Then \[a = \frac{1}{2} \left(\frac{p^2}{p - 4} \right) \implies p = -12, -4, 2, 6, 8, 12, 20 \implies \boxed{a = -1, 9, 8}.\]Now $a = -1$ was covered in the first case, so that $a = 8, 9$ yields $\boxed{b = -10}$ and $\boxed{b = -6, -21}$, as claimed. $\blacksquare$
This post has been edited 1 time. Last edited by MagicalToaster53, Jan 10, 2024, 12:28 AM
Z K Y
The post below has been deleted. Click to close.
This post has been deleted. Click here to see post.
joshualiu315
2534 posts
#26
Y by
I was given no non-zero condition


The solutions are $(m,n) = (m,0), (-1,-1), (8,-10), (9, -6), (9,-21)$. Note that $n=0$ produces a valid solution for any $m$ and $m=0$ implies $n=0$. Henceforth, assume $m,n \neq 0$.

Move everything to the LHS and expand:

\begin{align*}
(m^2+n)(m+n^2) - (m-n)^3 &= [m^3+m^2n^2+mn+n^3] - [m^3-3m^2n+3mn^2-n^3] \\
&= 2n^3 + n^2(m^2-3m) + n(3m^2+n) = 0 \\
&\iff 2n^2+(m^2-3m)n+(3m^2+n) = 0.
\end{align*}
Viewing this equation as a quadratic in $n$, it suffices to find all values of $m$ such that

\[\Delta_n = (m^2-3m)^2-4 \cdot 2 \cdot (3m^2+n) = m(m-8)(m+1)^2\]
is a perfect square. Realize that $m = -1$ produces a solution, but otherwise, we must have

\[m(m-8)=k^2 \iff (m-4)^2-k^2 = 16.\]
Difference of squares and some factor yields $m=8$ or $m=9$; the desired solution sets follow.
Z K Y
The post below has been deleted. Click to close.
This post has been deleted. Click here to see post.
shendrew7
796 posts
#27
Y by
Switch variables to $m$, $n$, and allow for zero solutions.

We can expand and regroup to get the cubic in $n$
\[n\left(2n^2+(m^2-3m)n+(3m^2+m)\right) = 0.\]
One solution to this is $n=0$, and the other two are of the form
\[n = \frac{-(m^2-3m) \pm (m+1) \sqrt{m(m-8)}}{4}.\]
The only perfect square values attainable by $m(m-8)$ are 16 and 25. Substituting back in, we get our solutions
\[\boxed{(m,0), (-1,-1), (8,-10), (9,-21), (9,-6)}. \quad \blacksquare\]
Z K Y
The post below has been deleted. Click to close.
This post has been deleted. Click here to see post.
ccarolyn4
24 posts
#28
Y by
Solved with v4913 (kinda)

Notice that we can expand this to

\begin{align*}
    m^3 + m^2 n^2 + m^2 + m n^2 &= m^3 - 3 m^2 n + 3 m n^2 - n^3 \\
    m^2 n^2 + m^2 + mn^2 &= -3m^2n +3mn^2 - n^3 \\
    2n^2 + n(m^2-3m) + (m+3m^2) &= 0
\end{align*}
Since the discriminant of this quadratic must be a perfect square, we have that $(m^2-3m)^2 - 8(m+3m^2)$ must be a perfect square. This simplifies to $m(m-8)(m+1)^2$. This means that either $m=0$, $m=8$, $m=-1$, or $m(m-8)$ is a perfect square.

In order for $m(m-8)$ to be a perfect square, notice that $(m-4)^2$ is $16$ away and also a perfect square, so then in that case $m=9$.

Thus, our answers are $\boxed{(-1, -1), (8, 10), (9, -6), (9, -21), (k, 0) \forall k \in \mathbb{Z}}$.
Z K Y
The post below has been deleted. Click to close.
This post has been deleted. Click here to see post.
megahertz13
3183 posts
#29 • 1 Y
Y by teomihai
Expanding yields $$m^3+m^2n^2+nm+n^3=m^3-3m^2n+3mn^2-n^3.$$Simplifying as a quadratic in terms of $n$ yields $$2n^2+n(m^2-3m)+(3m^2+m)=0.$$
The discriminant is $$(m^2-3m)^2-24m^2-8m=m(m-8)(m+1)^2,$$so $m(m-8)$ is a perfect square. This gives the solutions $(-1,-1)$, $(8,-10)$, $(9,-6)$, and $(9,-21)$, along with the family of $n=0$ solutions.
Z K Y
The post below has been deleted. Click to close.
This post has been deleted. Click here to see post.
eg4334
637 posts
#31
Y by
Sketch:
Write it as a quadratic in $y$ and then get that $x(x-8)$ must be a square for $y$ to even be rational. Write this as $(x-4)^2-16=m^2$ which immediately gives the solutions $(-1, -1), (8, 10), (9, -6), (9, -21)$
Z K Y
The post below has been deleted. Click to close.
This post has been deleted. Click here to see post.
Ilikeminecraft
643 posts
#32
Y by
Expand to get that $m^3 + m^2n^2+mn+n^3 = m^3 - 3m^2n + 3mn^2 - n^3.$ If $n\neq0,$ we can simplify and rewrite a quadratic in terms of $n:$ $2n^2 + n(m^2 - 3m) + (3m^2 + m) = 0.$

By taking the discriminant, we have that $(m^2 - 3m)^2 - (3m^2 + m) \cdot 2 \cdot 4 = k^2,$ where we can factorize the LHS as $m(m - 8)(m + 1)^2.$ By solving $m(m - 8) = (k')^2,$ we see that $m = -1, 0, 8, 9.$ We get that $(m, n) = (-1, -1), (0, 0), (8, -10), (9, -6), (9, -21).$

Now we handle when $n = 0.$ Clearly, the answer is all integers.

Our final answer is $\boxed{(-1, -1), (8, -10), (9, -6), (9, -21), (a, 0)\text{ where }a\in\mathbb Z}$
Z K Y
N Quick Reply
G
H
=
a