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

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 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
k i Adding contests to the Contest Collections
dcouchman   1
N Apr 5, 2023 by v_Enhance
Want to help AoPS remain a valuable Olympiad resource? Help us add contests to AoPS's Contest Collections.

Find instructions and a list of contests to add here: https://artofproblemsolving.com/community/c40244h1064480_contests_to_add
1 reply
dcouchman
Sep 9, 2019
v_Enhance
Apr 5, 2023
k i Zero tolerance
ZetaX   49
N May 4, 2019 by NoDealsHere
Source: Use your common sense! (enough is enough)
Some users don't want to learn, some other simply ignore advises.
But please follow the following guideline:


To make it short: ALWAYS USE YOUR COMMON SENSE IF POSTING!
If you don't have common sense, don't post.


More specifically:

For new threads:


a) Good, meaningful title:
The title has to say what the problem is about in best way possible.
If that title occured already, it's definitely bad. And contest names aren't good either.
That's in fact a requirement for being able to search old problems.

Examples:
Bad titles:
- "Hard"/"Medium"/"Easy" (if you find it so cool how hard/easy it is, tell it in the post and use a title that tells us the problem)
- "Number Theory" (hey guy, guess why this forum's named that way¿ and is it the only such problem on earth¿)
- "Fibonacci" (there are millions of Fibonacci problems out there, all posted and named the same...)
- "Chinese TST 2003" (does this say anything about the problem¿)
Good titles:
- "On divisors of a³+2b³+4c³-6abc"
- "Number of solutions to x²+y²=6z²"
- "Fibonacci numbers are never squares"


b) Use search function:
Before posting a "new" problem spend at least two, better five, minutes to look if this problem was posted before. If it was, don't repost it. If you have anything important to say on topic, post it in one of the older threads.
If the thread is locked cause of this, use search function.

Update (by Amir Hossein). The best way to search for two keywords in AoPS is to input
[code]+"first keyword" +"second keyword"[/code]
so that any post containing both strings "first word" and "second form".


c) Good problem statement:
Some recent really bad post was:
[quote]$lim_{n\to 1}^{+\infty}\frac{1}{n}-lnn$[/quote]
It contains no question and no answer.
If you do this, too, you are on the best way to get your thread deleted. Write everything clearly, define where your variables come from (and define the "natural" numbers if used). Additionally read your post at least twice before submitting. After you sent it, read it again and use the Edit-Button if necessary to correct errors.


For answers to already existing threads:


d) Of any interest and with content:
Don't post things that are more trivial than completely obvious. For example, if the question is to solve $x^{3}+y^{3}=z^{3}$, do not answer with "$x=y=z=0$ is a solution" only. Either you post any kind of proof or at least something unexpected (like "$x=1337, y=481, z=42$ is the smallest solution). Someone that does not see that $x=y=z=0$ is a solution of the above without your post is completely wrong here, this is an IMO-level forum.
Similar, posting "I have solved this problem" but not posting anything else is not welcome; it even looks that you just want to show off what a genius you are.

e) Well written and checked answers:
Like c) for new threads, check your solutions at least twice for mistakes. And after sending, read it again and use the Edit-Button if necessary to correct errors.



To repeat it: ALWAYS USE YOUR COMMON SENSE IF POSTING!


Everything definitely out of range of common sense will be locked or deleted (exept for new users having less than about 42 posts, they are newbies and need/get some time to learn).

The above rules will be applied from next monday (5. march of 2007).
Feel free to discuss on this here.
49 replies
ZetaX
Feb 27, 2007
NoDealsHere
May 4, 2019
mods with a twist
sketchydealer05   9
N an hour ago by lakshya2009
Source: EGMO 2023/5
We are given a positive integer $s \ge 2$. For each positive integer $k$, we define its twist $k’$ as follows: write $k$ as $as+b$, where $a, b$ are non-negative integers and $b < s$, then $k’ = bs+a$. For the positive integer $n$, consider the infinite sequence $d_1, d_2, \dots$ where $d_1=n$ and $d_{i+1}$ is the twist of $d_i$ for each positive integer $i$.
Prove that this sequence contains $1$ if and only if the remainder when $n$ is divided by $s^2-1$ is either $1$ or $s$.
9 replies
1 viewing
sketchydealer05
Apr 16, 2023
lakshya2009
an hour ago
Ah, easy one
irregular22104   1
N 2 hours ago by alexheinis
Source: Own
In the number series $1,9,9,9,8,...,$ every next number (from the fifth number) is the unit number of the sum of the four numbers preceding it. Is there any cases that we get the numbers $1234$ and $5678$ in this series?
1 reply
irregular22104
Yesterday at 4:01 PM
alexheinis
2 hours ago
Three concurrent circles
jayme   4
N 2 hours ago by jayme
Source: own?
Dear Mathlinkers,

1. ABC a triangle
2. 0 the circumcircle
3. Tb, Tc the tangents to 0 wrt. B, C
4. D the point of intersection of Tb and Tc
5. B', C' the symmetrics of B, C wrt AC, AB
6. 1b, 1c the circumcircles of the triangles BB'D, CC'D.

Prove : 1b, 1c and 0 are concurrents.

Sincerely
Jean-Louis
4 replies
jayme
Yesterday at 3:08 PM
jayme
2 hours ago
angle relations in a convex ABCD given, double segment wanted
parmenides51   12
N 2 hours ago by Nuran2010
Source: Iranian Geometry Olympiad 2018 IGO Intermediate p2
In convex quadrilateral $ABCD$, the diagonals $AC$ and $BD$ meet at the point $P$. We know that $\angle DAC = 90^o$ and $2 \angle ADB = \angle ACB$. If we have $ \angle DBC + 2 \angle ADC = 180^o$ prove that $2AP = BP$.

Proposed by Iman Maghsoudi
12 replies
parmenides51
Sep 19, 2018
Nuran2010
2 hours ago
HCSSiM results
SurvivingInEnglish   73
N 2 hours ago by YauYauFilter
Anyone already got results for HCSSiM? Are there any point in sending additional work if I applied on March 19?
73 replies
SurvivingInEnglish
Apr 5, 2024
YauYauFilter
2 hours ago
D1032 : A general result on polynomial 2
Dattier   1
N 2 hours ago by Dattier
Source: les dattes à Dattier
Let $P \in \mathbb Q[x,y]$ with $\max(\deg_x(P),\deg_y(P)) \leq d$ and $\forall (a,b) \in \mathbb Z^2 \cap [0,d]^2, P(a,b) \in \mathbb Z$.

Is it true that $\forall (a,b) \in\mathbb Z^2, P(a,b) \in \mathbb Z$?
1 reply
Dattier
Yesterday at 5:19 PM
Dattier
2 hours ago
greatest volume
hzbrl   2
N 3 hours ago by hzbrl
Source: purple comet
A large sphere with radius 7 contains three smaller balls each with radius 3 . The three balls are each externally tangent to the other two balls and internally tangent to the large sphere. There are four right circular cones that can be inscribed in the large sphere in such a way that the bases of the cones are tangent to all three balls. Of these four cones, the one with the greatest volume has volume $n \pi$. Find $n$.
2 replies
hzbrl
May 8, 2025
hzbrl
3 hours ago
inequality
danilorj   2
N 3 hours ago by danilorj
Let $a, b, c$ be nonnegative real numbers such that $a + b + c = 3$. Prove that
\[
\frac{a}{4 - b} + \frac{b}{4 - c} + \frac{c}{4 - a} + \frac{1}{16}(1 - a)^2(1 - b)^2(1 - c)^2 \leq 1,
\]and determine all such triples $(a, b, c)$ where the equality holds.
2 replies
danilorj
Yesterday at 9:08 PM
danilorj
3 hours ago
2010 Japan MO Finals
parkjungmin   2
N 3 hours ago by egxa
Is there anyone who can solve question problem 5?
2 replies
parkjungmin
3 hours ago
egxa
3 hours ago
Functional Equation!
EthanWYX2009   3
N 3 hours ago by liyufish
Source: 2025 TST 24
Find all functions $f:\mathbb Z\to\mathbb Z$ such that $f$ is unbounded and
\[2f(m)f(n)-f(n-m)-1\]is a perfect square for all integer $m,n.$
3 replies
EthanWYX2009
Mar 29, 2025
liyufish
3 hours ago
All-Russian Olympiad
ABCD1728   3
N 4 hours ago by RagvaloD
When did the first ARMO occur? 2025 is the 51-st, but ARMO on AoPS starts from 1993, there are only 33 years.
3 replies
ABCD1728
4 hours ago
RagvaloD
4 hours ago
Stanford Math Tournament (SMT) 2025
stanford-math-tournament   4
N 5 hours ago by techb
[center] :trampoline: :first: Stanford Math Tournament :first: :trampoline: [/center]

----------------------------------------------------------

[center]IMAGE[/center]

We are excited to announce that registration is now open for Stanford Math Tournament (SMT) 2025!

This year, we will welcome 800 competitors from across the nation to participate in person on Stanford’s campus. The tournament will be held April 11-12, 2025, and registration is open to all high-school students from the United States. This year, we are extending registration to high school teams (strongly preferred), established local mathematical organizations, and individuals; please refer to our website for specific policies. Whether you’re an experienced math wizard, a puzzle hunt enthusiast, or someone looking to meet new friends, SMT has something to offer everyone!

Register here today! We’ll be accepting applications until March 2, 2025.

For those unable to travel, in middle school, or not from the United States, we encourage you to instead register for SMT 2025 Online, which will be held on April 13, 2025. Registration for SMT 2025 Online will open mid-February.

For more information visit our website! Please email us at stanford.math.tournament@gmail.com with any questions or reply to this thread below. We can’t wait to meet you all in April!

4 replies
stanford-math-tournament
Feb 1, 2025
techb
5 hours ago
Goals for 2025-2026
Airbus320-214   136
N Today at 3:38 AM by MathPerson12321
Please write down your goal/goals for competitions here for 2025-2026.
136 replies
Airbus320-214
May 11, 2025
MathPerson12321
Today at 3:38 AM
Alcumus vs books
UnbeatableJJ   5
N Today at 2:41 AM by Andyluo
If I am aiming for AIME, then JMO afterwards, is Alcumus adequate, or I still need to do the problems on AoPS books?

I got AMC 23 this year, and never took amc 10 before. If I master the alcumus of intermediate algebra (making all of the bars blue). How likely I can qualify for AIME 2026?
5 replies
UnbeatableJJ
Apr 23, 2025
Andyluo
Today at 2:41 AM
Another Cubic Curve!
v_Enhance   164
N Apr 16, 2025 by IndexLibrorumProhibitorum
Source: USAMO 2015 Problem 1, JMO Problem 2
Solve in integers the equation
\[ x^2+xy+y^2 = \left(\frac{x+y}{3}+1\right)^3. \]
164 replies
v_Enhance
Apr 28, 2015
IndexLibrorumProhibitorum
Apr 16, 2025
Another Cubic Curve!
G H J
Source: USAMO 2015 Problem 1, JMO Problem 2
The post below has been deleted. Click to close.
This post has been deleted. Click here to see post.
kbh12
53 posts
#188
Y by
We will make the substitution $x+y=3t$. Then, we have that the equation becomes
\[(t+1)^3=(3t)^{2}-xy.\]Now, we can make the substitution $y=3t-x.$ Thus, we have
\[(t+1)^3=9t^2-x(3t-x).\]From this, we have:
\[t^3-6t^2+3t+1=x^2-3xt.\]We can express this as a quadratic in $x$:
\[x^2-3tx-(t^3-6t^2+3t+1).\]And now, by the quadratic formula, we have that the solutions to this equation are of the form
\[x=\frac{3t \pm \sqrt{9t^{2}+4t^3-24t^2+12t+4}}{2}\]\[=\frac{3t \pm \sqrt{4t^3-15t^2+12t+4}}{2}\]For this to be an integer, it's necessary for the expression in the square root to be a perfect square;
i.e. $(4t+1)(t-2)^2$. is a square [which is what it factors to]
So $4t+1$ is a perfect square. However, this means that $t=n^2+n$ for some integral $n$. Thus, we have that
\[(x,y)=\frac{3n^2+n\pm(n^2+n-2)(2n+1)}{2}\].
\[=(n^3+3n-1,-n^3+3n+1)\].
All steps are reversible, so these are the only solutions and work.
Z K Y
The post below has been deleted. Click to close.
This post has been deleted. Click here to see post.
jasperE3
11339 posts
#189
Y by
We claim the solutions are $\boxed{(t^3+3t^2-1,-t^3+3t+1)}$ and $\boxed{(-t^3+3t+1,t^3+3t^2-1)}$ for $t$ integral. Let $s=\frac{x+y}3$ which is an integer, then:
$$9s^2-xy=(s+1)^3\Leftrightarrow x^2-3sx-s^3+6s^2-3s-1=0$$(since $y=3s-x$). This quadratic has an $x$-discriminant:
$$\Delta=4s^3-15s^2+12s+4=(4s+1)(s-2)^2$$so $4s+1=r^2$ for some integer $r$. Then $r$ is odd, so with the substitution $r=2t+1$ we obtain $s=t^2+t$. By the quadratic formula:
$$x=\frac{3s\pm\sqrt\Delta}2=\frac{3s\pm r|s-2|}2=\frac{3t^2+3t\pm(2t+1)|t^2+t-2|}2.$$If $t\in\{0,-1\}$, then $s=0$ and the first equation gives $(x,y)=(1,-1),(-1,1)$ which are solutions included in the solution set..
Otherwise, $t^2+t-2\ge0$, so $x\in\{t^3+3t^2-1,-t^3+3t+1\}$. Since the equation is symmetric in $x,y$, these give the general solutions as before.
This post has been edited 1 time. Last edited by jasperE3, Mar 31, 2022, 10:58 PM
Z K Y
The post below has been deleted. Click to close.
This post has been deleted. Click here to see post.
asdf334
7585 posts
#190
Y by
The answers are $\boxed{(n^3+3n^2-1, -n^3+3n+1)}$ and $\boxed{(-n^3+3n+1,n^3+3n^2-1)}$ for all integers $n$.

Set $x+y=a$ and $x-y=b$. Then we obtain
\[\frac{3a^2+b^2}{4}=\left(\frac{a}{3}+1\right)^3\]so we can set $a=3k-3$ to get
\[\frac{3(9k^2-18k+9)+b^2}{4}=k^3\iff b^2=4k^3-27k^2+54k-27=(k-3)^2(4k-3).\]Then we must have $4k-3=(2n+1)^2$ for some integer $n$, which means that $k=n^2+n+1$ and $b=\pm(2n^3+3n^2-3n-2)$. Then $a=3n^2+3n$, so that
\[(a,b)=(3n^2+3n,2n^3+3n^2-3n-2),(3n^2+3n,-2n^3-3n^2+3n+2)\]and since $x=\frac{a+b}{2}$ and $y=\frac{a-b}{2}$ our final answer is
\[(x,y)=\boxed{(n^3+3n^2-1,-n^3+3n+1)},\boxed{(-n^3+3n+1,n^3+3n^2-1)}.\]
This post has been edited 2 times. Last edited by asdf334, Mar 31, 2022, 6:03 PM
Z K Y
The post below has been deleted. Click to close.
This post has been deleted. Click here to see post.
Spectator
657 posts
#191
Y by
is this bashy or clean idk

Multiply both sides by $27$, to get
\[27x^2+27xy+27y^2=(x+y+3)^3\]Expanding we get,
\[27x^2+27xy+27y^2 = (x+y)^3+9x^2+18xy+9y^2+27x+27y+27\]We want another cubic term and a nicer LHS so we move the squares from the LHS to the RHS
\[27xy= (x+y)^3-18x^2+18xy-18y^2+27x+27y+27\]Note that we can make $(x+y-6)^3$ because of the coefficients of the squares so we make it $(x+y-6)^3$. Making the RHS, $(x+y-6)^3$, we get
\[-27xy+81x+81y-243 = (x+y)^3-18x^2-36xy-18y^2+108x+108y+216 = (x+y-6)^3\]The LHS can be factored by SFFT to get
\[-27(x-3)(y-3) = (x+y-6)^3\]Substitute $a = x-3$ and $b=y-3$ to get
\[-27ab=(a+b)^3\]Note that we have symmetric sums, so we let $p = a+b$ and $q=ab$ and plug it into a quadratic to get
\[z^2-pz+q = z^2-pz-(\frac{p^3}{27}) = 0\]If we use the quadratic formula, we get
\[(a,b) = \cfrac{p\pm\sqrt{p^2+\frac{4p^3}{27}}}{2}\]Note that $p$ must be divisible by $3$, so we substitute $p = 3k$ to get
\[(a,b) = \cfrac{3k\pm k\sqrt{9+4k}}{2}\]We need $9+4k$ to be a square but it also has to be an odd square so we need
\[9+4k = (2n+1)^2\]Rearranging the terms give
\[k = n^2+n-2\]We can plug this back into the quadratic formula to get
\begin{align*}(a,b) &= \cfrac{3n^2+3n-6\pm(n^2+n-2)(2n+1)}{2} \\
&= \cfrac{3n^2+3n-6\pm (2n^3+3n^2-3n-2)}{2} \\
&= (n^3+3n^2-4, -n^3+3n-2)\\
\end{align*}We can also flip it because of symmetry. We still have $(a,b) = (x-3,y-3)$ so we add $3$ to each of the expressions to get
\[(x,y)=\boxed{(n^3+3n^2-1,-n^3+3n+1)},\boxed{(-n^3+3n+1,n^3+3n^2-1)}.\]
Thanks to megarnie for helping me out with the end $9+4k = (2n+1)^2$ part.
This post has been edited 1 time. Last edited by Spectator, Dec 12, 2022, 1:48 AM
Z K Y
The post below has been deleted. Click to close.
This post has been deleted. Click here to see post.
62861
3564 posts
#192 • 6 Y
Y by Vitriol, IMUKAT, v_Enhance, PRMOisTheHardestExam, pog, HamstPan38825
Most solutions to this problem are quite unmotivated, often involving a magical $x + y = 3s$ substitution, or observing that a cubic polynomial just happens to have a squared factor. We'll present a motivated solution, using natural observations: ones that a contestant might first notice when approaching the problem.

Unfortunately, there are a lot of calculations. We hide the details to enhance the reading of the solution.
Part I: complex paramaterization Experienced contestants may recall that the polynomial $x^2 + xy + y^2$ factors: with this in mind, define $\omega = e^{2\pi i/3}$ and set
\begin{align*}
	a & = \omega x - \omega^2 y\\
	b & = \omega y - \omega^2 x
\end{align*}so
\[ x^2 + xy + y^2 = -ab. \]In addition, we have
\begin{align*}
	a+b & = (x+y)(\omega - \omega^2)\\
	\iff x+y & = \frac{a+b}{\omega - \omega^2}.
\end{align*}The provided equation thus transforms into
\begin{align*}
	-ab & = \left( \frac{a+b}{3(\omega - \omega^2)} + 1 \right)^3\\
	\iff -27ab(\omega - \omega^2)^3 & = [a + b + 3(\omega - \omega^2)]^3\\
	\iff 27ab[3(\omega - \omega^2)] & = [a + b + 3(\omega - \omega^2)]^3
\end{align*}where we observe that $(\omega - \omega^2)^2 = -3$.

Motivated by the above, we set $c = 3(\omega - \omega^2) = (\omega^2 - \omega)^3$, so that
\[ (a+b+c)^3 = 27abc. \]However, this equation can be easily solved:
Claim. We have $(a+b+c)^3 = 27abc$ if and only if there exist $p$, $q$, $r$ with sum $0$ satisfying $(a, b, c) = (p^3, q^3, r^3)$.

Proof. Essentially the $x^3 + y^3 + z^3 - 3xyz$ factorization on steroids. Details $\square$

Note that we can multiply all of $p$, $q$, $r$ by the same power of $\omega$ without affecting anything, so we can suppose $r = \omega^2 - \omega$.

Thus, there exist $p$ and $q$ satisfying
\begin{align*}
	p + q + (\omega^2 - \omega) & = 0\\
	\omega x - \omega^2 y & = p^3\\
	\omega y - \omega^2 x & = q^3.
\end{align*}Moreover, these describe all complex solutions $(x, y)$ to the equation: take $p$ and $q$ with sum $\omega - \omega^2$, and solve for $x$ and $y$.
Part II: real parametrization We must now isolate the real solutions $(x, y)$. Observe that
\[ \overline{q}^3 = \overline{\omega y - \omega^2 x} = \omega^2 y - \omega x = -p^3, \]so
\[ p^3 = -\overline{q}^3 \implies p = -\omega^k \overline{q} \]for some $k \in \{0, 1, 2\}$.

If $k = 1$, then $p = -\omega\overline{q}$, so
\begin{align*}
	-\omega\overline{q} + q & = \omega - \omega^2\\
	\implies -\omega^2 q + \overline{q} & = \omega^2 - \omega\\
	\implies -q + \omega\overline{q} & = 1 - \omega^2\\
	\implies q - \omega\overline{q} & = \omega^2 - 1,
\end{align*}a contradiction.

If $k = 2$, we obtain a similar contradiction. Details

It follows that $k = 0$; i.e. $p = -\overline{q}$. In other words, $p$ and $q$ have opposite real parts and equal imaginary parts. From
\[ p + q = \omega - \omega^2 = 2\omega + 1, \]we obtain that there exists a real $t$ satisfying
\begin{align*}
	p & = t + 1 + \omega = t - \omega^2\\
	q & = -t + \omega.
\end{align*}Finally, we can solve for $x$ and $y$. We have
\begin{align*}
	\omega x - \omega^2 y & = p^3 = (t - \omega^2)^3\\
	& = t^3 - 3t^2 \omega^2 + 3t \omega - 1\\
	\omega y - \omega^2 x & = q^3 = (-t + \omega)^3\\
	& = -t^3 + 3t^2 \omega - 3t \omega^2 + 1.
\end{align*}This is a linear system: the solution is
\[ (x, y) = (-t^3 + 3t + 1, t^3 + 3t^2 - 1). \]Details

So far, we have only used the fact that $x$ and $y$ are real. Thus, all real solutions are given by the mentioned
\[ (x, y) = (-t^3 + 3t + 1, t^3 + 3t^2 - 1) \]for real $t$.
Part III: integer parametrization To conclude, we isolate the integer solutions:

Claim. If $-t^3 + 3t + 1$ and $t^3 + 3t^2 - 1$ are integers, then $t$ is also an integer. (The converse is clearly true.)

Proof. Unfortunately, this seems fairly annoying; a nicer approach would be appreciated. Details $\square$

To conclude, all solutions are given by
\[ x = -t^3 + 3t + 1 \quad \text{and} \quad y = t^3 + 3t^2 - 1 \]as $t$ ranges over the integers. Their validity can be seen by reversing the steps above.
This post has been edited 1 time. Last edited by 62861, Dec 25, 2022, 3:34 AM
Z K Y
The post below has been deleted. Click to close.
This post has been deleted. Click here to see post.
brainfertilzer
1831 posts
#193
Y by
Clearly $3|x+y$, so set $x +y = 3s$ and $xy =p$. Then, the given equation becomes
\[ 9s^2 - p = (s + 1)^3 = s^3 + 3s^2 + 3s + 1\implies p = -s^3 + 6s^2 - 3s - 1.\]Now, notice that $x,y$ are the roots of $P(t) = t^2 - 3st + p = t^2 - 3st + (-s^3 + 6s^2 - 3s -1)$. Since $x,y$ are integers, the discriminant of $P$ must be a perfect square. The discriminant is
\[ D = 9s^2 - 4(-s^3 + 6s^2 - 3s - 1) = 4s^3 - 15s^2 + 12s + 4 = (s - 2)^2(4s + 1),\]which is a square if and only if $4s + 1$ is a square. Thus, set $4s + 1 = (2n+1)^2\implies s = n^2 + n$ where $n$ is an integer. Then, we have $$\pm \sqrt{D} = \pm \sqrt{(n^2 + n-2)^2(2n+1)^2} = \pm (n^2 + n - 2)(2n + 1) = \pm (2n^3 + 3n^2 - 3n - 2),$$So the roots of $P$ are
\[ \frac{3n^2 + 3n\pm (2n^3 + 3n^2 - 3n - 2)}{2} = n^3 + 3n^2 - 1, -n^3 + 3n + 1.\]Hence, the answer is $(x,y) = (n^3 + 3n^2 - 1, -n^3 + 3n + 1)$ (and permutations) for any integer $n$.

comment
Z K Y
The post below has been deleted. Click to close.
This post has been deleted. Click here to see post.
David_Kim_0202
384 posts
#194
Y by
hwl0304 wrote:
By am-gm, $(\dfrac{x+y+3}{3})^3\ge3xy$, with equality when x=3, y=3.
however that is just for positive ints so we try triv. ineq. giving $x^2+xy+y^2\ge-xy\ge\dfrac{x+y+3}{3}^3$, equality when $x+y=0$. The solutions are $\pm 1, \mp 1$.

This only works when x and y are both positive.
Z K Y
The post below has been deleted. Click to close.
This post has been deleted. Click here to see post.
Infinity_Integral
306 posts
#195
Y by
We set $s=x+y,d=x-y$ and substitute these in to get
$$27d^2=4s^3-45s^2+108s+108$$Taking $\mod 27$ of this gives $3|s$, so we let $s=3k$.
Substituting $k$ into the equation, we get that
$$d^2=(4k+1)(k-2)^2$$Giving that $4k+1$ is a (odd) perfect square, so we let it be $(2n+1)^2$
Substituting this into the equation and doing some algebraic manipulation eventually give $x=n^3+3n^2-1,y=-n^3+3n+1$

Full proof here:
https://infinityintegral.substack.com/p/usajmo-2015-contest-review
Z K Y
The post below has been deleted. Click to close.
This post has been deleted. Click here to see post.
peppapig_
280 posts
#196
Y by
Reminds me of USAMO 1987/1.

I claim that there are infinitely many solutions, and all of them are in the form of
\[(x,y)=\left(\frac{3\left(\frac{m^2-1}{4}\right)+m\left(\frac{m^2-1}{4}\right)}{2},\frac{3\left(\frac{m^2-1}{4}\right)-m\left(\frac{m^2-1}{4}\right)}{2}\right),\]or
\[(x,y)=\left(\frac{3\left(\frac{m^2-1}{4}\right)-m\left(\frac{m^2-1}{4}\right)}{2},\frac{3\left(\frac{m^2-1}{4}\right)+m\left(\frac{m^2-1}{4}\right)}{2}\right),\]where $m$ is an odd integer.

Obviously, in order for the RHS to be an integer like the LHS must be, $3\mid x+y$. Let $x+y=3k$. Now, we have that
\[(x+y)^2-xy=x^2+xy+y^2=\left(\frac{x+y}{3}\right)^3,\]\[\iff 9k^2-xy=(k+1)^3,\]\[\iff xy=9k^2-(k+1)^3,\]and if we put this into a quadratic equation, note that $x$, $y$ must be roots of
\[r^2-(3k)r+(9k^2-(k+1)^3),\]which has discriminant $\sqrt{-27k^2+4(k+1)^3}$. Therefore, if $x$, $y$ are integers, we must have $-27k^2+4(k+1)^3$ be a perfect square. However, this factors as $(k-2)^2(4k+1)$, which means that $4k+1$ must be a perfect square! Therefore, if we let $k=\frac{m^2-1}{4}$ (note that $m$ must be odd for $k$ to be an integer; and $k$ must be an integer since $x+y=3k$ and $3\mid x+y$!) and plug it in, we get
\[r=\frac{3\left(\frac{m^2-1}{4}\right)\pm m\left(\frac{m^2-1}{4}\right)}{2},\]which must be an integer since all odd squares are $1$ mod $8$, making $\frac{m^2-1}{4}$ even. Therefore our solutions are all in the form
\[(x,y)=\left(\frac{3\left(\frac{m^2-1}{4}\right)+m\left(\frac{m^2-1}{4}\right)}{2},\frac{3\left(\frac{m^2-1}{4}\right)-m\left(\frac{m^2-1}{4}\right)}{2}\right),\]or
\[(x,y)=\left(\frac{3\left(\frac{m^2-1}{4}\right)-m\left(\frac{m^2-1}{4}\right)}{2},\frac{3\left(\frac{m^2-1}{4}\right)+m\left(\frac{m^2-1}{4}\right)}{2}\right),\]as desired, finishing the problem.

*Note: yeah, it would probably be better on the grader to simplify by letting $m=2n+1$.
This post has been edited 2 times. Last edited by peppapig_, Mar 9, 2024, 12:39 AM
Reason: Typo
Z K Y
The post below has been deleted. Click to close.
This post has been deleted. Click here to see post.
KevinYang2.71
427 posts
#197 • 1 Y
Y by blueberryfaygo_55
If $x+y$ is odd, the LHS is odd but the RHS is even, a contradiction. Hence is $x+y$ is even. Clearly $3\mid x+y$. Let $a:=\frac{x+y}{6}$ and $b:=\frac{x-y}{2}$, which are integers. Then
\[
27a^2+b^2=(2a+1)^3=8a^3+12a^2+6a+1\implies b^2=(a-1)^2(8a+1).
\]It follows that $8a+1=:n^2$ is a perfect square so $8a=(n-1)(n+1)$. Since $n-1$ and $n+1$ have the same parity, there exists $d\mid 2a$ such that $2d=n-1$ and $\frac{4a}{d}=n+1$. Thus $\frac{2a}{d}-d=1$ so $2a=d(d+1)$. It follows that $b=\sqrt{4d(d+1)+1}\left(\frac{d(d+1)}{2}-1\right)$ so
\[
(x,y)=\left(\frac{3d(d+1)}{2}+\frac{(d-1)(d+2)(2d+1)}{2},\frac{3d(d+1)}{2}-\frac{(d-1)(d+2)(2d+1)}{2}\right)=\boxed{(d^3+3d^2-1,-d^3+3d+1)}
\]are the only solutions. $\square$
Z K Y
The post below has been deleted. Click to close.
This post has been deleted. Click here to see post.
Marcus_Zhang
980 posts
#199
Y by
solution

Some remarks

If I made a mistake, feel free to point it out or PM me.
This post has been edited 1 time. Last edited by Marcus_Zhang, Oct 5, 2024, 5:47 PM
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
#200
Y by
What a strange problem. The statement strongly motivates $x+y=k$ to get $$27(x^2+x(k-x)+(k-x)^2) = (k+3)^3 \implies x  = \frac{1}{18} \left( 9k+(k-6)\sqrt{12k+9} \right)$$(the negative solution just switches $x$ and $y$). We need $12k+9=m^2, m \in \mathbb{Z}$ so $m \equiv 3 \pmod{6} \implies m = 6n+3$. So $k = \frac{(6n+3)^2-9}{12} = 3n^2+3n$. Plugging this in gives $x = \frac{1}{18}\left( 9(3n^2+3n) + (3n^2+3n-6)(6n+3)\right) = n^3+3n^2-1$ and $y = k - x = 3n^2+3n-(n^3+3n^2-1)=-n^3+3n+1$. So (with switching x, y obviously) we have $$\boxed{(n^3+3n^2+1, -n^3+3n+1)}$$
Z K Y
The post below has been deleted. Click to close.
This post has been deleted. Click here to see post.
mathwiz_1207
100 posts
#201
Y by
Nice problem! We claim that the set of solutions is exactly characterized by (up to permutation)
\[(x, y) = (n^3 + 3n^2 - 1, -n^3 + 3n + 1)\]for any $n \in \mathbb{Z}$. It is not hard to check that this works. We will now show that a pair $(x, y)$ must satisfy this form. Since the LHS is an integer, this is enough to imply that $3 \mid x + y$. Set $x + y = 3j$, $xy = p$ for integers $p, j$. Substituting, we obtain
\[p = 9j^2 - (j + 1)^3\]However, $x, y$ are the roots of $P(m) = m^2 - 3jm + p$, so the discriminant
\[\delta = 4(j + 1)^3 - 27j^2 = (4j + 1)(j-2)^2\]is a perfect square, which is equivalent to $4j + 1 = (2n + 1)^2 \implies j = n^2 + n$. By the quadratic formula, the solutions to $P$ are
\[\frac{3(n^2 + n) \pm (n^2 + n - 2)(2n + 1)}{2} = \boxed{(n^3 + 3n^2 - 1, -n^3 +3n + 1)}\]and we are done.
This post has been edited 1 time. Last edited by mathwiz_1207, Jan 2, 2025, 4:24 AM
Reason: yes
Z K Y
The post below has been deleted. Click to close.
This post has been deleted. Click here to see post.
blueprimes
355 posts
#202
Y by
Note that $3 \mid x + y$ and by parity inspection both $x, y$ are odd. Now consider the substitution $x = 3a - b, y = 3a + b$ for integers $a, b$, the relation becomes
\[(3a - b)^2 + (3a - b)(3a + b) + (3a + b)^2 = (2a + 1)^3 \iff  8a^3 - 15a^2 + 6a + 1 = b^2\]which factors as $(a - 1)^2(8a + 1) = b^2$. Now $8a + 1$ must be a perfect square, which can all be determined by $k^2$ for some odd $k$. Letting $8a + 1 = k^2$ yields
\[ (a, b) = \left( \dfrac{k^2 - 1}{8}, \dfrac{k^3 - 9k}{8} \right) \implies (x, y) = \left( \dfrac{-k^3 + 3k^2 + 9k - 3}{8}, \dfrac{k^3 + 3k^2 - 9k - 3}{8} \right) \]as the entire curve of solutions for odd $k$.
Z K Y
The post below has been deleted. Click to close.
This post has been deleted. Click here to see post.
IndexLibrorumProhibitorum
10 posts
#204
Y by
Let $x+y=3k ( k \in \mathbb{Z} ) $ as $3\mid x+y.$
After simple work, we do have
\[
x^2-3kx-k^3+6k^2-3k-1=0
\]Hence, $\Delta_x=(k-2)^2(4k+1)$, forcing that $4k+1$ must be an odd perfect square.
Set $4k+1=(2t+1)^2  (  t \in \mathbb{Z} )\implies k=t^2+t.$
As a result, $x=\frac{3k \pm \sqrt{\Delta_x}}{2}=\frac{3t^2+3t\pm(2t^3+3t^2-3t-2)}{2}$
Therefore,
\[
\begin{cases}
x=t^3+3t^2-1\\
y=-t^3+3t+1\\
\end{cases}
\]or
\[
\begin{cases}
x=-t^3+3t+1\\
y=t^3+3t^2-1\\
\end{cases}
\]Here, $t \in \mathbb{Z}$
Q.E.D.
[/hide]
Z K Y
N Quick Reply
G
H
=
a