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

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

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

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

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

Introductory: Grades 5-10

Prealgebra 1 Self-Paced

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

Prealgebra 2 Self-Paced

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


Introduction to Algebra A Self-Paced

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

Introduction to Counting & Probability Self-Paced

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

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

Introduction to Algebra B Self-Paced

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

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

Intermediate: Grades 8-12

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

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

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

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

Advanced: Grades 9-12

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

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

Group Theory
Thursday, Jun 12 - Sep 11

Contest Preparation: Grades 6-12

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

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

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

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

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

AMC 12 Final Fives
Sunday, May 18 - Jun 15

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

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


MathWOOT Level 1
MathWOOT Level 2
ChemWOOT
CodeWOOT
PhysicsWOOT

Programming

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

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

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

Physics

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

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

Relativity
Sat & Sun, Apr 26 - Apr 27 (4:00 - 7:00 pm ET/1:00 - 4:00pm PT)
Mon, Tue, Wed & Thurs, Jun 23 - Jun 26 (meets every day of the week!)
0 replies
jlacosta
Mar 2, 2025
0 replies
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
Interesting inequality
sqing   1
N 4 minutes ago by sqing
Source: Own
Let $ a,b,c\geq \frac{1}{3}$ and $ a+b+c=\frac{1}{a}+\frac{1}{b}+\frac{1}{c}+8  . $ Prove that
$$ ab+bc +ca\leq 17+2\sqrt{73}$$Let $ a,b,c\geq \frac{1}{2}$ and $ a+b+c=\frac{1}{a}+\frac{1}{b}+\frac{1}{c}+8  . $ Prove that
$$ ab+bc +ca\leq \frac{469+115\sqrt{17}}{32}$$Let $ a,b,c\geq \frac{1}{5}$ and $ a+b+c=\frac{1}{a}+\frac{1}{b}+\frac{1}{c}+8  . $ Prove that
$$ ab+bc +ca\leq \frac{569+34\sqrt{281}}{25}$$
1 reply
1 viewing
sqing
24 minutes ago
sqing
4 minutes ago
True Generalization of 2023 CGMO T7
EthanWYX2009   0
22 minutes ago
Source: aops.com/community/c6h3132846p28384612
Given positive integer $n.$ Let $x_1,\ldots ,x_n\ge 0$ and $x_1x_2\cdots x_n\le 1.$ Show that
\[\sum_{k=1}^n\frac{1}{1+\sum_{j\neq k}x_j}\le\frac n{1+(n-1)\sqrt[n]{x_1x_2\cdots x_n}}.\]
0 replies
2 viewing
EthanWYX2009
22 minutes ago
0 replies
Not homogenous, messy inequality
Kimchiks926   10
N 34 minutes ago by Marcus_Zhang
Source: Latvian TST for Baltic Way 2019 Problem 1
Prove that for all positive real numbers $a, b, c$ with $\frac{1}{a}+\frac{1}{b}+\frac{1}{c} =1$ the following inequality holds:
$$3(ab+bc+ca)+\frac{9}{a+b+c} \le \frac{9abc}{a+b+c} + 2(a^2+b^2+c^2)+1$$
10 replies
Kimchiks926
May 29, 2020
Marcus_Zhang
34 minutes ago
Interesting inequality
sqing   0
39 minutes ago
Source: Own
Let $ a,b,c\geq 2.$ Prove that
$$ (a+1)(b+1)(c +1)-\frac{9}{4}abc\leq 9$$$$ (a+1)(b+1)(c +1)-\frac{23}{10}abc\leq\frac{43}{5}$$
0 replies
sqing
39 minutes ago
0 replies
USA 97 [1/(b^3+c^3+abc) + ... >= 1/(abc)]
Maverick   45
N 2 hours ago by Marcus_Zhang
Source: USAMO 1997/5; also: ineq E2.37 in Book: Inegalitati; Authors:L.Panaitopol,V. Bandila,M.Lascu
Prove that, for all positive real numbers $ a$, $ b$, $ c$, the inequality
\[ \frac {1}{a^3 + b^3 + abc} + \frac {1}{b^3 + c^3 + abc} + \frac {1}{c^3 + a^3 + abc} \leq \frac {1}{abc}
\]
holds.
45 replies
Maverick
Sep 12, 2003
Marcus_Zhang
2 hours ago
The prime inequality learning problem
orl   137
N 2 hours ago by Marcus_Zhang
Source: IMO 1995, Problem 2, Day 1, IMO Shortlist 1995, A1
Let $ a$, $ b$, $ c$ be positive real numbers such that $ abc = 1$. Prove that
\[ \frac {1}{a^{3}\left(b + c\right)} + \frac {1}{b^{3}\left(c + a\right)} + \frac {1}{c^{3}\left(a + b\right)}\geq \frac {3}{2}.
\]
137 replies
orl
Nov 9, 2005
Marcus_Zhang
2 hours ago
hard ............ (2)
Noname23   2
N 3 hours ago by mathprodigy2011
problem
2 replies
Noname23
Yesterday at 5:10 PM
mathprodigy2011
3 hours ago
Abelkonkurransen 2025 3a
Lil_flip38   5
N 3 hours ago by ariopro1387
Source: abelkonkurransen
Let \(ABC\) be a triangle. Let \(E,F\) be the feet of the altitudes from \(B,C\) respectively. Let \(P,Q\) be the projections of \(B,C\) onto line \(EF\). Show that \(PE=QF\).
5 replies
Lil_flip38
Yesterday at 11:14 AM
ariopro1387
3 hours ago
Inequality by Po-Ru Loh
v_Enhance   54
N 3 hours ago by Marcus_Zhang
Source: ELMO 2003 Problem 4
Let $x,y,z \ge 1$ be real numbers such that \[ \frac{1}{x^2-1} + \frac{1}{y^2-1} + \frac{1}{z^2-1} = 1. \] Prove that \[ \frac{1}{x+1} + \frac{1}{y+1} + \frac{1}{z+1} \le 1. \]
54 replies
v_Enhance
Dec 29, 2012
Marcus_Zhang
3 hours ago
Problem 5
Functional_equation   14
N 4 hours ago by ali123456
Source: Azerbaijan third round 2020(JBMO Shortlist 2019 N6)
$a,b,c$ are non-negative integers.
Solve: $a!+5^b=7^c$

Proposed by Serbia
14 replies
Functional_equation
Jun 6, 2020
ali123456
4 hours ago
a^12+3^b=1788^c
falantrng   6
N 4 hours ago by ali123456
Source: Azerbaijan NMO 2024. Junior P3
Find all the natural numbers $a, b, c$ satisfying the following equation:
$$a^{12} + 3^b = 1788^c$$.
6 replies
falantrng
Jul 8, 2024
ali123456
4 hours ago
stuck on a system of recurrence sequence
Nonecludiangeofan   0
5 hours ago
Please guys help me solve this nasty problem that i've been stuck for the past month:
Let \( (a_n) \) and \( (b_n) \) be two sequences defined by:
\[
a_{n+1} = \frac{1 + a_n + a_n b_n}{b_n} \quad \text{and} \quad b_{n+1} = \frac{1 + b_n + a_n b_n}{a_n}
\]for all \( n \ge 0 \), with initial values \( a_0 = 1 \) and \( b_0 = 2 \).

Prove that:
\[
a_{2024} < 5.
\]
(btw am still not comfortable with system of recurrence sequences)
0 replies
Nonecludiangeofan
5 hours ago
0 replies
A huge group of children compare their heights
Tintarn   5
N 5 hours ago by InCtrl
Source: All-Russian MO 2024 9.8
$1000$ children, no two of the same height, lined up. Let us call a pair of different children $(a,b)$ good if between them there is no child whose height is greater than the height of one of $a$ and $b$, but less than the height of the other. What is the greatest number of good pairs that could be formed? (Here, $(a,b)$ and $(b,a)$ are considered the same pair.)
Proposed by I. Bogdanov
5 replies
Tintarn
Apr 22, 2024
InCtrl
5 hours ago
Iran Inequality
mathmatecS   15
N 5 hours ago by Marcus_Zhang
Source: Iran 1998
When $x(\ge1),$ $y(\ge1),$ $z(\ge1)$ satisfy $\frac{1}{x}+\frac{1}{y}+\frac{1}{z}=2,$ prove in equality.
$$\sqrt{x+y+z}\ge\sqrt{x-1}+\sqrt{y-1}+\sqrt{z-1}$$
15 replies
mathmatecS
Jun 11, 2015
Marcus_Zhang
5 hours ago
gcd (a^n+b,b^n+a) is constant
EthanWYX2009   77
N Feb 25, 2025 by quantam13
Source: 2024 IMO P2
Determine all pairs $(a,b)$ of positive integers for which there exist positive integers $g$ and $N$ such that
$$\gcd (a^n+b,b^n+a)=g$$holds for all integers $n\geqslant N.$ (Note that $\gcd(x, y)$ denotes the greatest common divisor of integers $x$ and $y.$)

Proposed by Valentio Iverson, Indonesia
77 replies
EthanWYX2009
Jul 16, 2024
quantam13
Feb 25, 2025
gcd (a^n+b,b^n+a) is constant
G H J
G H BBookmark kLocked kLocked NReply
Source: 2024 IMO P2
The post below has been deleted. Click to close.
This post has been deleted. Click here to see post.
EthanWYX2009
828 posts
#1 • 16 Y
Y by MathIQ., aaaa_27, NO_SQUARES, GeoKing, VIATON, aidan0626, kamatadu, Sedro, Rounak_iitr, sevket12, Eka01, eduD_looC, farhad.fritl, MS_asdfgzxcvb, cubres, Ibrahim_K
Determine all pairs $(a,b)$ of positive integers for which there exist positive integers $g$ and $N$ such that
$$\gcd (a^n+b,b^n+a)=g$$holds for all integers $n\geqslant N.$ (Note that $\gcd(x, y)$ denotes the greatest common divisor of integers $x$ and $y.$)

Proposed by Valentio Iverson, Indonesia
This post has been edited 5 times. Last edited by EthanWYX2009, Jul 19, 2024, 5:26 AM
Z K Y
The post below has been deleted. Click to close.
This post has been deleted. Click here to see post.
hotmonkey1
2193 posts
#2 • 1 Y
Y by cubres
spoilered question
This post has been edited 1 time. Last edited by hotmonkey1, Jul 16, 2024, 1:23 PM
Z K Y
The post below has been deleted. Click to close.
This post has been deleted. Click here to see post.
IndoMathXdZ
691 posts
#3 • 88 Y
Y by ATGY, hotmonkey1, CT17, ChubbyTomato426, lucas3617, aaaa_27, Assassino9931, kingu, CyclicISLscelesTrapezoid, Aryan-23, Sylvestra, BlazingMuddy, InternetPerson10, math90, Davi Medeiros, GuvercinciHoca, Quidditch, Jalil_Huseynov, bin_sherlo, Supertinito, math_comb01, navi_09220114, Funcshun840, Stuffybear, nmoon_nya, ehuseyinyigit, GeoMetrix, Seicchi28, trk08, hamon, thdnder, GeoKing, Mathological03, Sedro, eg4334, Mogmog8, lpieleanu, szpolska, ihatemath123, GorgonMathDota, aidan0626, EpicBird08, NO_SQUARES, talkon, timon92, OronSH, khina, justJen, mathfan2020, MathisWow, centslordm, megarnie, tricky.math.spider.gold.1, ohiorizzler1434, iamnotgentle, MS_Kekas, crocodilepradita, gghx, kamatadu, Filipjack, Capryon, pepat, avisioner, bachkieu, Supercali, MathIQ., RobertRogo, WinterSecret, TheMathCruncher_007, RevolveWithMe101, sarjinius, eduD_looC, erringbubble, MAKEANALITGREATAGAIN2018, khan.academy, Kingsbane2139, oVlad, MathPassionForever, Nartku, Kosiu, somebodyyouusedtoknow, farhad.fritl, GreenTea2593, DensSv, MS_asdfgzxcvb, cubres, giangtruong13, DroneChaudhary
Feels surreal to say that this is the first Indonesia problem on IMO, proposed by yours truly (Valentio Iverson from Indonesia). Pleasantly surprised that it appears as P2! Hope people enjoy this problem as much as I do.

Remark about problem difficulty (spoilers)
Remark about problem creation
This post has been edited 3 times. Last edited by IndoMathXdZ, Jul 16, 2024, 6:27 PM
Z K Y
The post below has been deleted. Click to close.
This post has been deleted. Click here to see post.
Physicsknight
635 posts
#4 • 2 Y
Y by ehuseyinyigit, cubres
$\text{Very nice problem Valentino}$
Z K Y
The post below has been deleted. Click to close.
This post has been deleted. Click here to see post.
mathhotspot
70 posts
#6 • 2 Y
Y by ehuseyinyigit, cubres
Good advanced diophantine practice!
Z K Y
The post below has been deleted. Click to close.
This post has been deleted. Click here to see post.
thdnder
194 posts
#7 • 9 Y
Y by BlazingMuddy, Funcshun840, Iveela, crocodilepradita, kamatadu, AlexCenteno2007, MathIQ., Bazo1, cubres
I claim that the only such pair is $(a, b) = (1, 1)$. Indeed, $(a, b) = (1, 1)$ satisfies the problem condition.

Claim: $ab + 1$ is a power of 2.

Proof. Suppose the exists a prime divisor $2 < p$ that divides $ab + 1$. Then, taking $n \equiv p-2 (p-1)$ and $n > N$, we see that $p \mid a^n + b$ and $p \mid b^n + a$. Therefore, $p \mid g$. Now, taking $n \equiv 0 (p-1)$, we get that $p \mid g  = \gcd(a^n + b, b^n + a)$, so by FLT, $p \mid a + 1, p \mid b + 1 \implies p \mid 2$, a contradiction. $\square$

Now suppose $ab + 1 = 2^k$ for some $k \ge 1$. Taking $\nu_2(n)$ large enough and $n > N$, we see that $\nu_2(a^n - 1) > \nu_2(b + 1)$, so $\nu_2(a^n + b) = \nu_2(a^n - 1 + b + 1) = \nu_2(b + 1)$. Similarly, $\nu_2(b^n + a) = \nu_2(a + 1)$. Hence, $\nu_2(g) = \min(\nu_2(a + 1), \nu_2(b + 1))$.

Take a positive integer $n$ such that $\nu_2(n + 1)$ large and $n > N$, we see that $\nu_2(a^{n+1} - 1) > k$. Let $M = \nu_2(a^{n + 1} - 1)$, then $a^n + b \equiv \frac{1}{a} + b \equiv \frac{ab + 1}{a} (2^M)$, so $\nu_2(a^n + b) = k$. Analogously, $\nu_2(b^n + a) = k$. This implies $\nu_2(g) = k$. However, $\nu_2(g) = \min(\nu_2(a + 1), \nu_2(b + 1))$, this forces to $k = 1$, as wanted. $\blacksquare$
This post has been edited 2 times. Last edited by thdnder, Jul 16, 2024, 2:01 PM
Z K Y
The post below has been deleted. Click to close.
This post has been deleted. Click here to see post.
bsf714
61 posts
#8 • 4 Y
Y by JanHaj, VicKmath7, Haris1, cubres
First note that if $a=b$, we have $(a^n + a, a^n + a) = a^n + a$ which is eventually constant if and only if $a=1$. We may now assume that $a<b$ due to symmetry.

Let $d = (a, b)$ with $a = dx$, $b = dy$ and $(x, y) = 1$. We have $$G_n := (a^n + b, b^n + a) = d(d^{n-1}x^n + y, d^{n-1}y^n + x).$$Further, we have $$\frac{G_n}{d} = (d^{n-1}x^n 
+ y, d^{n-1}y^n + x) = (d^{n-1}x^n 
+ y, x^{n+1} - y^{n+1})$$since $$y^n(d^{n-1}x^n + y) - x^n(d^{n-1}y^n + x) = y^{n+1} - x^{n+1},$$noting that the coefficients $x^n$ and $y^n$ are coprime to $G_n/d$ (indeed, if $p$ is a prime dividing both $x$ and $G_n/d$, then $p\mid d^{n-1}x^n + y$ implies that $p\mid y$, but $x$ and $y$ are coprime; similarly if $p$ is a prime dividing both $y$ and $G_n/d$).

Now, let $q$ be a positive integer parameter, assumed to be coprime to $x, y$ and $d$, as well as such that $q\nmid x-y$. We would like to force $q\mid d^{n-1}x^n + y$ and $q\mid x^{n+1} - y^{n+1}$ for infinitely many $n$, as well as $q\nmid x^{n+1} - y^{n+1}$ for infinitely many $n$. The latter relation gives $(x/y)^{n+1}\equiv 1\pmod q$ and we can force this to happen by choosing $n+1 = k\phi(q)$ for any positive integer $k$, and force it not to happen by choosing $n+1 = k\phi(q) + 1$, since $q\nmid x-y$. It remains to show that such a positive integer $q$ can be chosen with the additional property that $q\mid d^{n-1}x^n + y$ when $n+1 = k\phi(q)$. We need $$d^{k\phi(q)-2}x^{k\phi(q)-1} + y \equiv 0 \pmod q \iff d^{-2}x^{-1}+y\equiv 0\pmod q\iff q\mid d^2xy + 1.$$Note that such $q$ is automatically coprime to $x, y$ and $d$. To ensure that $q\nmid x-y$, we can take $q=d^2xy + 1$. Indeed, if $x\equiv y\pmod q$, we have $d^2xy + 1\mid x-y$, but $y>x$ by the first paragraph and obviously $d^2xy + 1 > y > y - x$.

This finishes the solution, for we have shown that $dq\mid G_n$ for infinitely many $n$ as well as $dq\nmid G_n$ for infinitely many $n$, thus $G_n$ cannot be eventually constant.
Z K Y
The post below has been deleted. Click to close.
This post has been deleted. Click here to see post.
Tintarn
9027 posts
#9 • 20 Y
Y by thdnder, BlazingMuddy, CBMaster, Assassino9931, KST2003, Sedro, Fardad, CahitArf, crocodilepradita, pingupignu, adityaguharoy, sami1618, mastermind.hk16, Begli_I., tag-, Pratik12, MS_asdfgzxcvb, cubres, IndoMathXdZ, X.Luser
Let $q=ab+1$. Then $q \mid a^n+b,b^n+a$ whenever $n \equiv -1 \pmod{\varphi(q)}$, hence $q \mid g$, but then $q \mid a^{n+1}-a^n$ for large $n$ and hence $q \mid a-1$ (since $q$ is clearly coprime to $a$), thus $a=1$ and similarly $b=1$, hence $a=b=1$, which indeed works.
This post has been edited 2 times. Last edited by Tintarn, Jul 23, 2024, 1:15 PM
Z K Y
The post below has been deleted. Click to close.
This post has been deleted. Click here to see post.
BlazingMuddy
281 posts
#10 • 5 Y
Y by abdirasulov, Nartku, ngduchieu1903, Pratik12, cubres
The proposer noted that the main idea is looking at what $ab + 1$ does. Here is another solution, inspired by @above's first step.

Edit: I forgot something. The problem has a funny backstory; I'll let the proposer post it if he's willing to :)

First note that $ab + 1$ is coprime with $a$ and $b$. Picking $n$ big enough with $n \equiv -1 \pmod{\phi(ab + 1)}$ gives $ab + 1 \mid a^n + b$ and $ab + 1 \mid b^n + a$, so $ab + 1 \mid g$. In particular, picking $n$ big enough with $n \equiv 1 \pmod{\phi(ab + 1)}$ gives $ab + 1 \mid a + b$. This forces either $a = 1$ or $b = 1$.

Finally, WLOG $b = 1$. Then $\gcd(a^n + 1, a + 1)$ is eventually constant. For $n$ odd, it is equal to $a + 1$, so $a + 1 \mid a^n + 1$ for all $n$ big enough. Picking $n$ even gives $a + 1 \mid 2 \implies a = 1$, and thus $g = 2$.


Indonesia has made another history! Congratulations to IndoMathXdZ!
This post has been edited 1 time. Last edited by BlazingMuddy, Jul 16, 2024, 3:09 PM
Reason: Add backstory
Z K Y
The post below has been deleted. Click to close.
This post has been deleted. Click here to see post.
math_comb01
659 posts
#11 • 1 Y
Y by cubres
Cute!
Notice that substituting $n=\varphi(ab+1)t-1$ yields that $ab+1 \mid g$ then $ab+1 \mid a^n+b$ now take $n \equiv 1 (\mod \varphi(ab+1))$ to get either $a=1$ or $b=1$, WLOG $b=1$ then $gcd(a^n+1,a+1)$ is constant for $n \geq N$ for odd $n$ it is $a+1$ while for even it divides $2$, so $a=1$, therefore $a=b=1$ is the only solution.
EDIT: sniped by @above
This post has been edited 1 time. Last edited by math_comb01, Jul 16, 2024, 2:44 PM
Z K Y
The post below has been deleted. Click to close.
This post has been deleted. Click here to see post.
Funcshun840
17 posts
#12 • 1 Y
Y by cubres
What is the MOHS of this problem?
Z K Y
The post below has been deleted. Click to close.
This post has been deleted. Click here to see post.
vsamc
3783 posts
#13 • 4 Y
Y by centslordm, KevinYang2.71, persamaankuadrat, cubres
Solution
Z K Y
The post below has been deleted. Click to close.
This post has been deleted. Click here to see post.
EeEeRUT
50 posts
#14 • 1 Y
Y by cubres
Let $\gcd(a,b) = k, a= pk$ and $b=qk$, where $p$ and $q$ are coprime.

So, we get that $$\gcd(k^{n-1}p^{n+1} + pq, k^{n-1}q^{n+1} + pq) = g_1$$$$\gcd(p^{n+1}-q^{n+1},k^{n-1}q^{n+1} + pq) = g_2$$for some $g_1,g_2 \in \mathbb{N}$

Note that $g_2$ is fixed, thus there exist prime $t$ such that $t \mid g_2$

Consider $p^{n+1} \equiv q^{n+1} \pmod{t}$ $$p^{n+2} \equiv p^{n+1}q \equiv q^{n+1} \pmod{t}$$$$p \equiv q \pmod t$$Consider $k^{n-1}q^{n+1} + pq \equiv 0 \pmod t$

Let $M \leqslant n = \phi{(t)} \Phi + c$,we get that $$k^{c-1}q^{c+1} + pq \equiv 0 \pmod t$$Take $c =1$, $$q^2 + pq \equiv 0 \pmod t$$$$p + q \equiv 0 \pmod t$$thus, $p=q$, which follows $a=b$

So, $a^n + a$ has to be a fixed constant, which gives us only $a=1$.

Consequently $(a,b) = (1,1)$
This post has been edited 1 time. Last edited by EeEeRUT, Jul 16, 2024, 3:16 PM
Reason: Bracket
Z K Y
The post below has been deleted. Click to close.
This post has been deleted. Click here to see post.
shanelin-sigma
145 posts
#15 • 2 Y
Y by Funcshun840, cubres
my solution
Z K Y
The post below has been deleted. Click to close.
This post has been deleted. Click here to see post.
Assassino9931
1197 posts
#16 • 6 Y
Y by GeoKing, Orestis_Lignos, Maths_Girl, AlexCenteno2007, EvansGressfield, cubres
Splendid problem! What makes this problem hard is that one can write 30000 things which seem useful but then when logically realizing what one needs to prove, they get thrown in the bin. Solved with Maths_Girl and I admit that personally would probably not have solved it completely in contest conditions.

Step 1: Working with a prime p not dividing a and b is easier - what do we get? Firstly, we show that there does not exist a prime $p \geq 3$ which does not divide $a$ and $b$, but divides $a^n + b$ and $b^n + a$ for all large $n$. Suppose otherwise, then $(-1)^n a^{n^2} + a \equiv 0 \pmod p$. Take $n$ to be even, then $a^{n^2-1} \equiv -1 \pmod p$, so the order of $a$ mod $p$ divides $2n^2 - 2$ for all large $n$. In particular, it divides $2(n+2)^2 - 2 = 2n^2 + 8n + 6$, so it divides $8n+8$ for large even $n$, hence divides $8n+8$ and $8(n+2) + 8 = 8n+24$, i.e. it divides $8$. However, $2n^2-2$ is divisible by $2$, but not by $4$ for all large even $n$, so $a^2 = 1 \pmod p$. Now from $a^{n^2-1} \equiv -1 \pmod p$ for large even $n$ we get $a\equiv -1 \pmod p$. Analogously $b\equiv -1 \pmod p$, but then $n$ odd in $a^n + b$ and $b^n + a$ imply that $p$ must divide $(-1)^n - 1 = -2$, contradiction!

Step 2: If we show that there is a prime $p\geq 3$ such that $a^n + b$ and $b^n + a$ are divisible by $p$ for infinitely many $n$, then $(a,b)$ does not work, since $g$ is divisible by $p$ infinitely often, but not always by Step 1. (Realized this is really needed by playing with $a=4$, $b=2$.) We look for a congruence of the form $n\equiv 
\ ? \pmod p$ where $?$ is a constant in order to apply Fermat's little theorem, for a suitable $p$ dividing an expression of $a$ and $b$. Here $? = 0,1,2$ did not seem to work, but $? = -1$ works! Indeed, $a^{-1} + b$ and $b^{-1} + a$ are divisible by $p$ if and only if $ab+1$ is (and note that if $p$ divides $ab+1$, then $p$ does not divide $a$ and $b$). So if $ab+1$ has a prime divisor $p\geq 3$, then we have obtained a contradiction.

Step 3: Take care of $ab+1$ being a power of $2$. Fortunately, we only need that $ab+1$ is divisible by $4$ (unless $a=b=1$, which satisfies the problem conditions). Indeed, we may assume $a\equiv 3 \pmod 4$ and $b \equiv 1 \pmod 4$ and now if $n$ is even, then $a^n + b$ is divisible by $2$, but not by $4$ (and $b^n + a$ is divisible by $4$), while if $n$ is odd, then both $a^n + b$ and $b^n + a$ are divisible by $4$, so $\gcd(a^n+b,b^n+a)$ is infinitely often divisible by $4$ and not divisible by $4$, contradiction.

EDIT: Reminded now that the trick with $n\equiv -1 \pmod p$ famously appears in ELMO SL 2014 N7 (and to some rather unrelated extent, in IMO 2005/4).
This post has been edited 6 times. Last edited by Assassino9931, Jul 16, 2024, 3:56 PM
Z K Y
G
H
=
a