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 June Highlights and 2025 AoPS Online Class Information
jlacosta   0
Jun 2, 2025
Congratulations to all the mathletes who competed at National MATHCOUNTS! If you missed the exciting Countdown Round, you can watch the video at this link. Are you interested in training for MATHCOUNTS or AMC 10 contests? How would you like to train for these math competitions in half the time? We have accelerated sections which meet twice per week instead of once starting on July 8th (7:30pm ET). These sections fill quickly so enroll today!

[list][*]MATHCOUNTS/AMC 8 Basics
[*]MATHCOUNTS/AMC 8 Advanced
[*]AMC 10 Problem Series[/list]
For those interested in Olympiad level training in math, computer science, physics, and chemistry, be sure to enroll in our WOOT courses before August 19th to take advantage of early bird pricing!

Summer camps are starting this 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 a transformative 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][*]June 5th, Thursday, 7:30pm ET: Open Discussion with Ben Kornell and Andrew Sutherland, Art of Problem Solving's incoming CEO Ben Kornell and CPO Andrew Sutherland host an Ask Me Anything-style chat. Come ask your questions and get to know our incoming CEO & CPO!
[*]June 9th, Monday, 7:30pm ET, Game Jam: Operation Shuffle!, Come join us to play our second round of Operation Shuffle! If you enjoy number sense, logic, and a healthy dose of luck, this is the game for you. No specific math background is required; all are welcome.[/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, Jun 15 - Oct 12
Monday, Jun 30 - Oct 20
Wednesday, Jul 16 - Oct 29
Sunday, Aug 17 - Dec 14
Tuesday, Aug 26 - Dec 16
Friday, Sep 5 - Jan 16
Monday, Sep 8 - Jan 12
Tuesday, Sep 16 - Jan 20 (4:30 - 5:45 pm ET/1:30 - 2:45 pm PT)
Sunday, Sep 21 - Jan 25
Thursday, Sep 25 - Jan 29
Wednesday, Oct 22 - Feb 25
Tuesday, Nov 4 - Mar 10
Friday, Dec 12 - Apr 10

Prealgebra 2 Self-Paced

Prealgebra 2
Monday, Jun 2 - Sep 22
Sunday, Jun 29 - Oct 26
Friday, Jul 25 - Nov 21
Sunday, Aug 17 - Dec 14
Tuesday, Sep 9 - Jan 13
Thursday, Sep 25 - Jan 29
Sunday, Oct 19 - Feb 22
Monday, Oct 27 - Mar 2
Wednesday, Nov 12 - Mar 18

Introduction to Algebra A Self-Paced

Introduction to Algebra A
Sunday, Jun 15 - Oct 12
Thursday, Jun 26 - Oct 9
Tuesday, Jul 15 - Oct 28
Sunday, Aug 17 - Dec 14
Wednesday, Aug 27 - Dec 17
Friday, Sep 5 - Jan 16
Thursday, Sep 11 - Jan 15
Sunday, Sep 28 - Feb 1
Monday, Oct 6 - Feb 9
Tuesday, Oct 21 - Feb 24
Sunday, Nov 9 - Mar 15
Friday, Dec 5 - Apr 3

Introduction to Counting & Probability Self-Paced

Introduction to Counting & Probability
Sunday, Jun 1 - Aug 24
Thursday, Jun 12 - Aug 28
Wednesday, Jul 2 - Sep 17
Sunday, Jul 27 - Oct 19
Monday, Aug 11 - Nov 3
Wednesday, Sep 3 - Nov 19
Sunday, Sep 21 - Dec 14 (1:00 - 2:30 pm ET/10:00 - 11:30 am PT)
Friday, Oct 3 - Jan 16
Tuesday, Nov 4 - Feb 10
Sunday, Dec 7 - Mar 8

Introduction to Number Theory
Monday, Jun 9 - Aug 25
Sunday, Jun 15 - Sep 14
Tuesday, Jul 15 - Sep 30
Wednesday, Aug 13 - Oct 29
Friday, Sep 12 - Dec 12
Sunday, Oct 26 - Feb 1
Monday, Dec 1 - Mar 2

Introduction to Algebra B Self-Paced

Introduction to Algebra B
Wednesday, Jun 4 - Sep 17
Sunday, Jun 22 - Oct 19
Friday, Jul 18 - Nov 14
Thursday, Aug 7 - Nov 20
Monday, Aug 18 - Dec 15
Sunday, Sep 7 - Jan 11
Thursday, Sep 11 - Jan 15
Wednesday, Sep 24 - Jan 28
Sunday, Oct 26 - Mar 1
Tuesday, Nov 4 - Mar 10
Monday, Dec 1 - Mar 30

Introduction to Geometry
Monday, Jun 16 - Dec 8
Friday, Jun 20 - Jan 9
Sunday, Jun 29 - Jan 11
Monday, Jul 14 - Jan 19
Wednesday, Aug 13 - Feb 11
Tuesday, Aug 26 - Feb 24
Sunday, Sep 7 - Mar 8
Thursday, Sep 11 - Mar 12
Wednesday, Sep 24 - Mar 25
Sunday, Oct 26 - Apr 26
Monday, Nov 3 - May 4
Friday, Dec 5 - May 29

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
Friday, Aug 8 - Feb 20
Tuesday, Aug 26 - Feb 24
Sunday, Sep 28 - Mar 29
Wednesday, Oct 8 - Mar 8
Sunday, Nov 16 - May 17
Thursday, Dec 11 - Jun 4

Intermediate Counting & Probability
Sunday, Jun 22 - Nov 2
Sunday, Sep 28 - Feb 15
Tuesday, Nov 4 - Mar 24

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

Precalculus
Sunday, Jun 1 - Nov 9
Monday, Jun 30 - Dec 8
Wednesday, Aug 6 - Jan 21
Tuesday, Sep 9 - Feb 24
Sunday, Sep 21 - Mar 8
Monday, Oct 20 - Apr 6
Sunday, Dec 14 - May 31

Advanced: Grades 9-12

Olympiad Geometry
Tuesday, Jun 10 - Aug 26

Calculus
Wednesday, Jun 25 - Dec 17
Sunday, Sep 7 - Mar 15
Wednesday, Sep 24 - Apr 1
Friday, Nov 14 - May 22

Group Theory
Thursday, Jun 12 - Sep 11

Contest Preparation: Grades 6-12

MATHCOUNTS/AMC 8 Basics
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!)
Sunday, Aug 17 - Nov 9
Wednesday, Sep 3 - Nov 19
Tuesday, Sep 16 - Dec 9
Sunday, Sep 21 - Dec 14 (1:00 - 2:30 pm ET/10:00 - 11:30 am PT)
Monday, Oct 6 - Jan 12
Thursday, Oct 16 - Jan 22
Tues, Thurs & Sun, Dec 9 - Jan 18 (meets three times a week!)

MATHCOUNTS/AMC 8 Advanced
Wednesday, Jun 11 - Aug 27
Sunday, Jun 22 - Sep 21
Tues & Thurs, Jul 8 - Aug 14 (meets twice a week!)
Sunday, Aug 17 - Nov 9
Tuesday, Aug 26 - Nov 11
Thursday, Sep 4 - Nov 20
Friday, Sep 12 - Dec 12
Monday, Sep 15 - Dec 8
Sunday, Oct 5 - Jan 11
Tues, Thurs & Sun, Dec 2 - Jan 11 (meets three times a week!)
Mon, Wed & Fri, Dec 8 - Jan 16 (meets three times a week!)

AMC 10 Problem Series
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!)
Sunday, Aug 10 - Nov 2
Thursday, Aug 14 - Oct 30
Tuesday, Aug 19 - Nov 4
Mon & Wed, Sep 15 - Oct 22 (meets twice a week!)
Mon, Wed & Fri, Oct 6 - Nov 3 (meets three times a week!)
Tue, Thurs & Sun, Oct 7 - Nov 2 (meets three times a week!)

AMC 10 Final Fives
Monday, Jun 30 - Jul 21
Friday, Aug 15 - Sep 12
Sunday, Sep 7 - Sep 28
Tuesday, Sep 9 - Sep 30
Monday, Sep 22 - Oct 13
Sunday, Sep 28 - Oct 19 (1:00 - 2:30 pm ET/10:00 - 11:30 am PT)
Wednesday, Oct 8 - Oct 29
Thursday, Oct 9 - Oct 30

AMC 12 Problem Series
Thursday, Jun 12 - Aug 28
Sunday, Jun 22 - Sep 21
Wednesday, Aug 6 - Oct 22
Sunday, Aug 10 - Nov 2
Monday, Aug 18 - Nov 10
Mon & Wed, Sep 15 - Oct 22 (meets twice a week!)
Tues, Thurs & Sun, Oct 7 - Nov 2 (meets three times a week!)

AMC 12 Final Fives
Thursday, Sep 4 - Sep 25
Sunday, Sep 28 - Oct 19
Tuesday, Oct 7 - Oct 28

AIME Problem Series A
Thursday, Oct 23 - Jan 29

AIME Problem Series B
Sunday, Jun 22 - Sep 21
Tuesday, Sep 2 - Nov 18

F=ma Problem Series
Wednesday, Jun 11 - Aug 27
Tuesday, Sep 16 - Dec 9
Friday, Oct 17 - Jan 30

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
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
Thursday, Aug 14 - Oct 30
Sunday, Sep 7 - Nov 23
Tuesday, Dec 2 - Mar 3

Intermediate Programming with Python
Sunday, Jun 1 - Aug 24
Monday, Jun 30 - Sep 22
Friday, Oct 3 - Jan 16

USACO Bronze Problem Series
Sunday, Jun 22 - Sep 1
Wednesday, Sep 3 - Dec 3
Thursday, Oct 30 - Feb 5
Tuesday, Dec 2 - Mar 3

Physics

Introduction to Physics
Sunday, Jun 15 - Sep 14
Monday, Jun 23 - Sep 15
Tuesday, Sep 2 - Nov 18
Sunday, Oct 5 - Jan 11
Wednesday, Dec 10 - Mar 11

Physics 1: Mechanics
Monday, Jun 23 - Dec 15
Sunday, Sep 21 - Mar 22
Sunday, Oct 26 - Apr 26

Relativity
Mon, Tue, Wed & Thurs, Jun 23 - Jun 26 (meets every day of the week!)
0 replies
jlacosta
Jun 2, 2025
0 replies
2-var inequality
sqing   4
N 2 minutes ago by Rohit-2006
Source: Own
Let $ a,b\geq 0 $ and $\frac{1}{a^2+3} + \frac{1}{b^2+3} -ab\leq  \frac{1}{2}.$ Prove that
$$  a^2+ab+b^2 \geq \frac{3(\sqrt{57}-7)}{4}$$Let $ a,b\geq 0 $ and $\frac{a}{b^2+3} + \frac{b}{a^2+3} +ab\leq  \frac{1}{2}.$ Prove that
$$  a^2+ab+b^2 \leq \frac{9}{4}$$Let $ a,b\geq 0 $ and $ \frac{a}{b^3+3}+\frac{b}{a^3+3}-ab\leq  \frac{1}{2}.$ Prove that
$$  a^2+ab+b^2 \geq \frac{9}{4}$$
4 replies
sqing
Yesterday at 12:55 PM
Rohit-2006
2 minutes ago
Easy Diff NT
xToiletG   3
N 4 minutes ago by elizhang101412
Prove that for every $n \geq 2$ there exists positive integers $x, y, z$ such that
$$\frac{4}{n}=\frac{1}{x}+\frac{1}{y}+\frac{1}{z}$$
3 replies
xToiletG
Today at 7:35 AM
elizhang101412
4 minutes ago
Number Theory
Resolut1on07   1
N 5 minutes ago by Resolut1on07
Given a positive integer \( n \). Prove that always exists a positive integer \( k \) such that \( a^2 + b^2 + n \) is not divisible by \( k \), for all positive integers \( a \) and \( b \).
1 reply
Resolut1on07
Yesterday at 11:49 AM
Resolut1on07
5 minutes ago
A series of transfers
Fermat -Euler   12
N 16 minutes ago by kotmhn
Source: IMO Shortlist 1994, C3
Peter has three accounts in a bank, each with an integral number of dollars. He is only allowed to transfer money from one account to another so that the amount of money in the latter is doubled. Prove that Peter can always transfer all his money into two accounts. Can Peter always transfer all his money into one account?
12 replies
+1 w
Fermat -Euler
Oct 22, 2005
kotmhn
16 minutes ago
No more topics!
IMO Shortlist 2012, Number Theory 1
lyukhson   45
N Apr 27, 2025 by sansgankrsngupta
Source: IMO Shortlist 2012, Number Theory 1
Call admissible a set $A$ of integers that has the following property:
If $x,y \in A$ (possibly $x=y$) then $x^2+kxy+y^2 \in A$ for every integer $k$.
Determine all pairs $m,n$ of nonzero integers such that the only admissible set containing both $m$ and $n$ is the set of all integers.

Proposed by Warut Suksompong, Thailand
45 replies
lyukhson
Jul 29, 2013
sansgankrsngupta
Apr 27, 2025
IMO Shortlist 2012, Number Theory 1
G H J
G H BBookmark kLocked kLocked NReply
Source: IMO Shortlist 2012, Number Theory 1
The post below has been deleted. Click to close.
This post has been deleted. Click here to see post.
lyukhson
127 posts
#1 • 10 Y
Y by Davi-8191, Mathuzb, Epistle, megarnie, microsoft_office_word, Adventure10, Mango247, Sedro, Gato_combinatorio, and 1 other user
Call admissible a set $A$ of integers that has the following property:
If $x,y \in A$ (possibly $x=y$) then $x^2+kxy+y^2 \in A$ for every integer $k$.
Determine all pairs $m,n$ of nonzero integers such that the only admissible set containing both $m$ and $n$ is the set of all integers.

Proposed by Warut Suksompong, Thailand
This post has been edited 3 times. Last edited by WakeUp, Jan 4, 2014, 3:51 AM
Reason: Edited Title and Changed Format of The Problem.
Z K Y
The post below has been deleted. Click to close.
This post has been deleted. Click here to see post.
SCP
1502 posts
#2 • 14 Y
Y by odnerpmocon, agimog, pablock, qubatae, mathleticguyyy, microsoft_office_word, Math4Life7, Adventure10, Mango247, shafikbara48593762, Sedro, and 3 other users
We will prove the answer are all pairs such that $(m,n)=1$

If $d=gcd(m,n)>1$ then the set of all multiples of $d$ satisfy the question too, hence this pair isn't one we want.


If $d=1$ then by $x=y=m$ we can get all multiples of $m^2$ and similar for $n^2.$

Because $gcd(m^2,n^2)=1$ there exist $a,b$ such that $am^2-bn^2=1$

We can form $1$ with $x=am^2, y=bn^2$ and $k=-2$ .

After that is is trivial the only admissable set containing $1$ is the one of all integers.
Z K Y
The post below has been deleted. Click to close.
This post has been deleted. Click here to see post.
lyukhson
127 posts
#3 • 2 Y
Y by Adventure10 and 1 other user
SCP wrote:
We will prove the answer are all pairs such that $(m,n)=1$

If $d=gcd(m,n)>1$ then the set of all multiples of $d$ satisfy the question too, hence this pair isn't one we want.


If $d=1$ then by $x=y=m$ we can get all multiples of $m^2$ and similar for $n^2.$

Because $gcd(m^2,n^2)=1$ there exist $a,b$ such that $am^2-bn^2=1$

We can form $1$ with $x=am^2, y=bn^2$ and $k=-2$ .

After that is is trivial the only admissable set containing $1$ is the one of all integers.

your solution is same with mine^^ I think it's a good, simple question.
Z K Y
The post below has been deleted. Click to close.
This post has been deleted. Click here to see post.
ssilwa
5451 posts
#4 • 5 Y
Y by samuel, Adventure10, Mango247, and 2 other users
This is ridiculous:

http://www.artofproblemsolving.com/Forum/viewtopic.php?f=151&t=507200&p=2849284&hilit=X%5E2+kxy+y%5E2#p2849284
Z K Y
The post below has been deleted. Click to close.
This post has been deleted. Click here to see post.
JuanOrtiz
366 posts
#5 • 3 Y
Y by Adventure10, Mango247, and 1 other user
It is very easy to conjecture $(m,n)=1$, because if $(m,n) \textgreater 1$, it obviously doesn't work ($A = (m,n) \times \mathbb{Z}$), and it is very difficult to come up with a counterexample if $(m,n)=1$. And whenever coprime integers and $\mathbb{Z}$ are involved, one can smell Bezout. However, the condition is a quadratic one, not a linear one, so the trick is to surpass this obstacle, by introducing some expressions of degree $2$ that belong to $A$.

Now, assume $(m,n)=1$ and we have $m,n \in A$ an admissible set. We will try to prove $A = \mathbb{Z}$. Take any $z \in A$. Clearly with $x=y=z$, $kz^2 \in A \forall k$. So if $z=1 \in A$, we're done. So we'll try to find $x,y \in A$ such that $x^2+kxy+y^2=1$. If $k=-2$, we can easily factor this and it will suffice to find $x, y \in A$ such that $x-y=1$. So if we find two consecutive integers, both in $A$, we're done.

But remember that $am^2 \in A$ and $bm^2 \in A$ for all $a, b$ integers. By Bezout, we can set $a$, $b$ such that $am^2-bn^2=1$, and we have found two consecutive integers, both in $A$. So we're done.
Z K Y
The post below has been deleted. Click to close.
This post has been deleted. Click here to see post.
junioragd
314 posts
#6 • 3 Y
Y by Adventure10, Mango247, and 1 other user
We will prove that for all integers such that $(m,n)=1$.It is obvious that if $(m,n)=d>1$ then every element of the set $A$ is divisible with $d$ and the set $A$ is ${...-3d,-2d,-d,0,d,2d,3d....}$ satisfayes the conditions.Now,if $(m,n)=1$,then plugg $x=y=m$ and $x=y=n$ that every integer of the form $k*m^2$ and $k*n^2$ is in the set,so we can pick $a$ and $b$ such that $a*m^2-b*n^2=1$(by chineese remainder theorem),so plug $x=a*m^2$ and $y=b*n^2$ and $k=-2$we obtain $1$,so now it is trivial that we have all integers.
This post has been edited 1 time. Last edited by junioragd, Sep 15, 2014, 5:17 PM
Z K Y
The post below has been deleted. Click to close.
This post has been deleted. Click here to see post.
thunderz28
32 posts
#7 • 1 Y
Y by Adventure10
Answer: If $(m,n)=1$, the admissible set containing both $m$ and $n$ is the set of all integers.

Let's think $(m,n)=g>1$. Then every element of $A$ is divisible by $g$. Because $g$ is underneath every integer there. So, the set $\{...,-3g,-2g,-g,0,g,2g,3g,....\}$ will work.

Now we'll prove that if $(m,n)=1$ the admissible set containing both $m$ and $n$ is the set of all integers.

Lemma 1: If we have $j \in A$, then every multiple of $j^2$ will be in $A$.
Proof: By taking $x=y=m$ we will have $m^2+km^2+m^2=2m^2+km^2=m^2(k+2)$. Then by putting $k= \{-2,-1,0,1,2\}$ we will have every multiple of $j$.

Now the main part. We've $(m,n)=1$. So, $(m^2,n^2)=1$. By bezout's identity there exists $a,b$ such that $am^2+bn^2=1$.

Now by applying lemma 1 if we've $m,n$ in $A$ then we will also have $am^2$ and $bn^2$ in $A$. So by taking $x=am^2, y=bn^2, k=2$ we have $$(am^2)^2+2(am^2)(bn^2)+(bn^2)^2= (am^2+bn^2)^2=1$$So, we can always form $1$ by taking these values from a set whare $(m,n)=1$. Then by taking $x=y=1$ and taking $k= \{...,-2,-1,0,1,2,...\}$ we will have every integer in $A$.

$\mathbb Q. \exists .\mathbb D.$
This post has been edited 8 times. Last edited by thunderz28, Jun 11, 2017, 8:03 PM
Z K Y
The post below has been deleted. Click to close.
This post has been deleted. Click here to see post.
bobthesmartypants
4337 posts
#8 • 2 Y
Y by Adventure10, Mango247
solution
Z K Y
The post below has been deleted. Click to close.
This post has been deleted. Click here to see post.
Vfire
1354 posts
#9 • 2 Y
Y by Adventure10, Mango247
Solution
Z K Y
The post below has been deleted. Click to close.
This post has been deleted. Click here to see post.
ayan.nmath
643 posts
#10 • 2 Y
Y by Adventure10, Mango247
Solution
Z K Y
The post below has been deleted. Click to close.
This post has been deleted. Click here to see post.
niyu
830 posts
#11
Y by
We claim the $(x, y)$ which satisfy the problem condition are precisely those for which $\gcd(x, y) = 1$.

We first show that these pairs work.

Lemma: The elements $x, y, x^2 + y^2, x^2 + xy + y^2 \in A$ are pairwise relatively prime.

Proof: By assumption $\gcd(x, y) = 1$. Also, $\gcd(x^2 + y^2, x) = \gcd(y^2, x) \leq \gcd(y, x) = 1$, implying that $\gcd(x^2 + y^2, x) = 1$. Similarly, $\gcd(x^2 + y^2, y) = 1$. Additionally, $\gcd(x^2 + xy + y^2, x^2 + y^2) = \gcd(xy, x^2 + y^2) \leq \gcd(x, x^2 + y^2) \cdot \gcd(y, x^2 + y^2) = 1$, so $\gcd(x^2 + xy + y^2, x^2 + y^2) = 1$. Finally, $\gcd(x^2 + xy + y^2, x) = \gcd(y^2, x) \leq \gcd(y, x) = 1$, so $\gcd(x^2 + xy + y^2, x) = 1$. Similarly, $\gcd(x^2 + xy + y^2, y) = 1$, proving the lemma. $\blacksquare$

Now, we have that all $a \equiv x^2 + y^2 \pmod{xy}$ are members of $A$, and additionally that all $a \equiv (x^2 + xy + y^2)^2 + (x^2 + y^2)^2 \pmod{(x^2 + xy + y^2)(x^2 + y^2)}$ are members of $A$. Since $\gcd(xy, (x^2 + xy + y^2)(x^2 + y^2)) = 1$, by CRT there exists $N$ such that
\begin{align*}
	N &\equiv x^2 + y^2 \pmod{xy} \\
	N + 1 &\equiv (x^2 + xy + y^2)^2 + (x^2 + y^2)^2 \pmod{(x^2 + xy + y^2)(x^2 + y^2)}.
\end{align*}For such an $N$, both $N$ and $N + 1$ are members of $A$. Now, $N^2 + (N + 1)^2 - 2N(N + 1) = 1 \in A$. To conclude, $1^2 + 1^2 + 1 \cdot 1 \cdot k = k + 2 \in A$ for all $k \in \mathbb{Z}$, implying that $A$ contains all integers. Thus, the pairs $(x, y)$ for which $\gcd(x, y) = 1$ satisfy the problem condition.

Finally, if $\gcd(x, y) = d > 1$, the set $A$ of all multiples of $d$ is an admissible set which contains $x, y$, but $A \neq \mathbb{Z}$.

Thus, the only pairs $(x, y)$ which work are those described initially, so we are done. $\Box$
Z K Y
The post below has been deleted. Click to close.
This post has been deleted. Click here to see post.
EulersTurban
386 posts
#12 • 2 Y
Y by Mango247, Mango247
The answer is all integers such that they are relatively prime.

First we set $k=2$ to get that $(x+y)^2 \in \mathcal{A}$, then we set $k=-2$ to get that $(x-y)^2 \in \mathcal{A}$, also we have that when $k=0$ that $x^2+y^2 \in \mathcal{A}$.
Setting $x=y$ we get that $0 \in \mathcal{A}$, this implies that $x^2 \in \mathcal{A}$, this means that if $x^2 \in \mathcal{A}$, then we have that $x \in \mathcal{A}$.

This means that $x+y \in \mathcal{A}$ and $x-y \in \mathcal{A}$, this implies that for every integer $k$ we have that $kx \in \mathcal{A}$, thus we need to get that $x=1$.

We use the following ultra well known lemma:
Lemma: Let $d=(x,y)$, then there exist some integer numbers $k$ and $q$ such that $kx+qy=d$.

By this lemma we easily get that $d=(x,y) \in \mathcal{A}$

Now if $d=1$ we win and $\mathcal{A}=\mathbb{Z}$

If $d \neq 1$ , then we have that we only generate pairs of numbers such that they are divisible by $d$, thus $\mathcal{A} \neq \mathbb{Z}$
Z K Y
The post below has been deleted. Click to close.
This post has been deleted. Click here to see post.
pad
1671 posts
#13
Y by
Solved with nukelauncher.

Clearly, $\gcd(m,n)=1$ since $\gcd(m,n)$ divides every element of $A$. We claim all such pairs work.

Let $P(x,y,k)$ denote the assertion $x^2+kxy+y^2\in A$. By plugging in $(x,y)=(m,m)$, we get that $am^2 \in A$ for any $a$, and similarly $bn^2 \in A$ for any $b$. Since $\gcd(m,n)=1$ implies $\gcd(m^2,n^2)=1$, we can find $a,b\in\mathbb Z$ such that $am^2-bn^2=1$. Plugging in $(x,y,k)=(am^2,bn^2,-2)$ gives
\[ 1=(am^2-bn^2)^2 \in A. \]Finally, $(x,y,k)=(1,1,k)$ gives $2+k \in A$ for any $k$, i.e. $A=\mathbb{Z}$.
This post has been edited 1 time. Last edited by pad, Jan 8, 2021, 12:04 AM
Z K Y
The post below has been deleted. Click to close.
This post has been deleted. Click here to see post.
Nymoldin
57 posts
#14
Y by
The same idea was used in USAMO 2004/2
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
#15
Y by
I claim the answer is that this is true for all pairs such that $\gcd(m,n)=1$.

Clearly if $\gcd(m,n)=g>1$, then any new element satisfies
\[g^2 \mid x^2+kxy+y^2\]Thus, we cannot generate the necessary infinitely many elements not divisible by $g^2$.

We now construct a solution for all $\gcd(m,n)=1$. Note that by plugging in $(m,m)$, we get all multiples of $m^2$, similarly we can get all multiples of $n^2$. Since $\gcd(m,n)=1\Longrightarrow \gcd(m^2,n^2)=1$, we have that by Bezout's we can find $x,y$ such that $xm^2-yn^2=1$.

Thus, we can plug in $(xm^2,yn^2)$ with $k=2$ which yields
\[(xm^2-yn^2)^2 = 1\]
Thus 1 is in the set, and by plugging in $x=y=1$ we get all integers.
This post has been edited 2 times. Last edited by AwesomeYRY, Mar 23, 2021, 10:38 PM
Z K Y
G
H
=
a