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
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
Inspired by current year (2025)
Rijul saini   4
N a few seconds ago by Rg230403
Source: India IMOTC 2025 Day 4 Problem 1
Let $k>2$ be an integer. We call a pair of integers $(a,b)$ $k-$good if \[0\leqslant a<k,\hspace{0.2cm} 0<b \hspace{1cm} \text{and} \hspace{1cm} (a+b)^2=ka+b\]Prove that the number of $k-$good pairs is a power of $2$.

Proposed by Prithwijit De and Rohan Goyal
4 replies
1 viewing
Rijul saini
Yesterday at 6:46 PM
Rg230403
a few seconds ago
Write down sum or product of two numbers
Rijul saini   2
N 12 minutes ago by Rg230403
Source: India IMOTC Practice Test 2 Problem 3
Suppose Alice's grimoire has the number $1$ written on the first page and $n$ empty pages. Suppose in each of the next $n$ seconds, Alice can flip to the next page, and write down the sum or product of two numbers (possibly the same) which are already written in her grimoire.

Let $F(n)$ be the largest possible number such that for any $k < F(n)$, Alice can write down the number $k$ on the last page of her grimoire. Prove that there exists a positive integer $N$ such that for all $n>N$, we have that \[n^{0.99n}\leqslant F(n)\leqslant n^{1.01n}.\]
Proposed by Rohan Goyal and Pranjal Srivastava
2 replies
Rijul saini
Yesterday at 6:56 PM
Rg230403
12 minutes ago
"all of the stupid geo gets sent to tst 2/5" -allen wang
pikapika007   27
N 41 minutes ago by HamstPan38825
Source: USA TST 2024/2
Let $ABC$ be a triangle with incenter $I$. Let segment $AI$ intersect the incircle of triangle $ABC$ at point $D$. Suppose that line $BD$ is perpendicular to line $AC$. Let $P$ be a point such that $\angle BPA = \angle PAI = 90^\circ$. Point $Q$ lies on segment $BD$ such that the circumcircle of triangle $ABQ$ is tangent to line $BI$. Point $X$ lies on line $PQ$ such that $\angle IAX = \angle XAC$. Prove that $\angle AXP = 45^\circ$.

Luke Robitaille
27 replies
pikapika007
Dec 11, 2023
HamstPan38825
41 minutes ago
Interior point of ABC
Jackson0423   2
N an hour ago by Diamond-jumper76
Let D be an interior point of the acute triangle ABC with AB > AC so that ∠DAB = ∠CAD. The point E on the segment AC satisfies ∠ADE = ∠BCD, the point F on the segment AB satisfies ∠F DA = ∠DBC, and the point X on the line AC satisfies CX = BX. Let O1 and O2 be the circumcenters of the triangles ADC and EXD, respectively. Prove that the lines BC, EF, and O1O2 are concurrent
2 replies
Jackson0423
Today at 2:17 PM
Diamond-jumper76
an hour ago
IMO ShortList 2008, Number Theory problem 2
April   41
N an hour ago by shendrew7
Source: IMO ShortList 2008, Number Theory problem 2, German TST 2, P2, 2009
Let $ a_1$, $ a_2$, $ \ldots$, $ a_n$ be distinct positive integers, $ n\ge 3$. Prove that there exist distinct indices $ i$ and $ j$ such that $ a_i + a_j$ does not divide any of the numbers $ 3a_1$, $ 3a_2$, $ \ldots$, $ 3a_n$.

Proposed by Mohsen Jamaali, Iran
41 replies
April
Jul 9, 2009
shendrew7
an hour ago
Cute Geometry
EthanWYX2009   1
N an hour ago by Funcshun840
In triangle \( X_AX_BX_C \), let \( X \) and \( Y \) be a pair of isogonal conjugate points. The line \( XX_A \) intersects \( X_BX_C \) at \( P \), and the line \( XY \) intersects \( X_BX_C \) at \( Q \). Let the circumcircle of \( XX_BX_C \) and the circumcircle of \( XPQ \) intersect again at \( R \) (other than \( X \)). Prove that the line \( RX \) bisects \( \angle PRX_A \).
IMAGE
1 reply
EthanWYX2009
Today at 2:19 PM
Funcshun840
an hour ago
Cheese??? - I'm definitely doing smth wrong
Sid-darth-vater   0
an hour ago
Source: European Girls Math Olympiad 2013/1
The problem is attached. So is my diagram which has a couple of markings on it for clarity :)

So basically, I found a solution which I am 99% confident that I am doing smth wrong, I just can't find the error. Any help would be appreciated!

We claim that triangle $BAC$ is right angled (for clarity, $<BAC = 90$). Define $S$ as a point on line $AC$ such that $SD$ is parallel to $AB$. Additionally, since $BC = DC$, $\triangle BAC \cong \triangle DSC$ meaning $<BAC = <CSD$, $AC = CS$, and $AB = SD$. Also, since $BE = AD$, by SSS, we have $\triangle BEA \cong DAS$ meaning $\angle EAB= \angle CSD$. Since $\angle EAS + \angle BAC = 180$, we have $2\angle ASD = 180$ or $\angle ASD = \angle BAC = 90$ and we are done.
0 replies
Sid-darth-vater
an hour ago
0 replies
IMO ShortList 2002, algebra problem 1
orl   132
N an hour ago by SomeonecoolLovesMaths
Source: IMO ShortList 2002, algebra problem 1
Find all functions $f$ from the reals to the reals such that

\[f\left(f(x)+y\right)=2x+f\left(f(y)-x\right)\]

for all real $x,y$.
132 replies
orl
Sep 28, 2004
SomeonecoolLovesMaths
an hour ago
All good sequences are degenerate
v4913   13
N an hour ago by Jack_w
Source: EGMO 2022/3
An infinite sequence of positive integers $a_1, a_2, \dots$ is called $good$ if
(1) $a_1$ is a perfect square, and
(2) for any integer $n \ge 2$, $a_n$ is the smallest positive integer such that $$na_1 + (n-1)a_2 + \dots + 2a_{n-1} + a_n$$is a perfect square.
Prove that for any good sequence $a_1, a_2, \dots$, there exists a positive integer $k$ such that $a_n=a_k$ for all integers $n \ge k$.
(reposting because the other thread didn't get moved)
13 replies
v4913
Apr 10, 2022
Jack_w
an hour ago
One of the lines is tangent
Rijul saini   6
N 2 hours ago by bin_sherlo
Source: LMAO 2025 Day 2 Problem 2
Let $ABC$ be a scalene triangle with incircle $\omega$. Denote by $N$ the midpoint of arc $BAC$ in the circumcircle of $ABC$, and by $D$ the point where the $A$-excircle touches $BC$. Suppose the circumcircle of $AND$ meets $BC$ again at $P \neq D$ and intersects $\omega$ at two points $X$, $Y$.

Prove that either $PX$ or $PY$ is tangent to $\omega$.

Proposed by Sanjana Philo Chacko
6 replies
Rijul saini
Yesterday at 7:02 PM
bin_sherlo
2 hours ago
Tricky coloured subgraphs
bomberdoodles   1
N 2 hours ago by bomberdoodles
Consider a graph with nine vertices, with the vertices labelled 1 through 9. An
edge is drawn between each pair of vertices.

Sally picks any edge of her choice, and colours that edge either red or blue. She keeps repeating
this process, choosing any uncoloured edge, and colouring that edge either red or blue.
The only rule is that she is never allowed to colour an edge either red or blue so that one
of these scenarios occurs:

(i) There exist three numbers $a, b, c$, with $1 \le a < b < c \le 9$, for which the edges $ab, bc, ac$ are
all coloured red.

(ii) There exist four numbers $p, q, r, s,$ with $1 \le p < q < r < s \le 9$, for which the edges $pq, pr,
ps, qr, qs, rs$ are all coloured blue.

For example, suppose Sally starts by choosing edges 14 and 34, and colouring both of these
edges red. Then if she picks edge 13, she must colour this edge blue, because she cannot colour
it red.

What is the maximum number of edges that Sally can colour?
1 reply
bomberdoodles
2 hours ago
bomberdoodles
2 hours ago
Permutation guessing game
Rijul saini   1
N 2 hours ago by asbodke
Source: India IMOTC Day 3 Problem 3
Let $n$ be a positive integer. Alice and Bob play the following game. Alice considers a permutation $\pi$ of the set $[n]=\{1,2, \dots, n\}$ and keeps it hidden from Bob. In a move, Bob tells Alice a permutation $\tau$ of $[n]$, and Alice tells Bob whether there exists an $i \in [n]$ such that $\tau(i)=\pi(i)$. Bob wins if he ever tells Alice the permutation $\pi$. Prove that Bob can win the game in at most $n \log_2(n) + 2025n$ moves.

Proposed by Siddharth Choppara and Shantanu Nene
1 reply
Rijul saini
Yesterday at 6:43 PM
asbodke
2 hours ago
Tricky FE
Rijul saini   10
N 2 hours ago by MathematicalArceus
Source: LMAO 2025 Day 1 Problem 1
Let $\mathbb{R}$ denote the set of all real numbers. Find all functions $f : \mathbb{R} \to \mathbb{R}$ such that
$$f(xy) + f(f(y)) = f((x + 1)f(y))$$for all real numbers $x$, $y$.

Proposed by MV Adhitya and Kanav Talwar
10 replies
Rijul saini
Yesterday at 6:58 PM
MathematicalArceus
2 hours ago
IMO ShortList 2002, number theory problem 6
orl   32
N 2 hours ago by Rayvhs
Source: IMO ShortList 2002, number theory problem 6
Find all pairs of positive integers $m,n\geq3$ for which there exist infinitely many positive integers $a$ such that \[ \frac{a^m+a-1}{a^n+a^2-1}  \] is itself an integer.

Laurentiu Panaitopol, Romania
32 replies
orl
Sep 28, 2004
Rayvhs
2 hours ago
7^a - 3^b divides a^4 + b^2 (from IMO Shortlist 2007)
Dida Drogbier   39
N Apr 30, 2025 by ND_
Source: ISL 2007, N1, VAIMO 2008, P4
Find all pairs of natural numbers $ (a, b)$ such that $ 7^a - 3^b$ divides $ a^4 + b^2$.

Author: Stephan Wagner, Austria
39 replies
Dida Drogbier
Apr 21, 2008
ND_
Apr 30, 2025
7^a - 3^b divides a^4 + b^2 (from IMO Shortlist 2007)
G H J
G H BBookmark kLocked kLocked NReply
Source: ISL 2007, N1, VAIMO 2008, P4
The post below has been deleted. Click to close.
This post has been deleted. Click here to see post.
Dida Drogbier
1 post
#1 • 12 Y
Y by ahmedosama, expiLnCalc, giveandtake, donotoven, Adventure10, megarnie, Mango247, Funcshun840, NicoN9, and 3 other users
Find all pairs of natural numbers $ (a, b)$ such that $ 7^a - 3^b$ divides $ a^4 + b^2$.

Author: Stephan Wagner, Austria
Z K Y
The post below has been deleted. Click to close.
This post has been deleted. Click here to see post.
m.essien
3 posts
#2 • 25 Y
Y by shinichiman, kprepaf, Binomial-theorem, SupermemberVN, Sx763_, jam10307, ZacPower123, expiLnCalc, mijail, amar_04, fukano_2, ILOVEMYFAMILY, donotoven, Adventure10, MassiveMonster, Wild, Funcshun840, NicoN9, and 7 other users
The left hand side is even, so $ a^4+b^2$ is even, and $ a,b$ has the same parity.
However, if $ a,b$ are odd, we have that $ 4$ divides $ 7^a-3^b$, but $ 4$ doesn't divide $ a^4+b^2$.

So $ a,b$ are even, and let's say $ a=2a_1,b=2b_1$.

You'll get $ (7^{a_1}-3^{b_1})(7^{a_1}+3^{b_1})$ divides $ 4(4a_1^4+b_1^2)$

If $ b_1$ is odd, then $ 8$ divides $ (7^{a_1}-3^{b_1})(7^{a_1}+3^{b_1})$ but not $ 4(4a_1^4+b_1^2)$, so $ b_1$ is even.

Say $ b_1=2c_1$.

You'll get $ (7^{a_1}-3^{2c_1})(7^{a_1}+3^{2c_1})$ divides $ 16(a_1^4+c_1^2)$

So $ |(7^{a_1}-3^{2c_1})(7^{a_1}+3^{2c_1})|\leq |16(a_1^4+c_1^2)|$

But $ |(7^{a_1}-3^{2c_1})\geq 2$ (because both terms are even), and so $ 2(7^{a_1}+3^{2c_1})\leq 16(a_1^4+c_1^2)$.

But for $ a_1=1,2,3$ we easily get $ c_1=1,2$, and for $ a_1\geq 4$, we have that $ 2(7^{a_1})>16a_1^4$. Also, $ 2(3^{2c_1})>16c_1^2$ for all $ c_1\in \mathbb{N}$.

So it is enough to check $ (a_1,c_1)=(1,1),(2,1),(3,1),(1,2),(2,2),(3,2)$. We'll get $ (a_1,c_1)=1,1$, or $ (a,b)=(2,4)$ as the only solution.

By the way, Dida Drogbier, are you from Chelsea or AC Milan? :D :rotfl:
Z K Y
The post below has been deleted. Click to close.
This post has been deleted. Click here to see post.
csdiggy
3 posts
#3 • 2 Y
Y by donotoven, Adventure10
dig, dig, dig :P
alternative solution anybody? :D
Z K Y
The post below has been deleted. Click to close.
This post has been deleted. Click here to see post.
tom_damrong
134 posts
#4 • 10 Y
Y by kprepaf, bearytasty, donotoven, MassiveMonster, Adventure10, Wild, and 4 other users
This is my alternative solution.

The left hand side is even, so $ a^4+b^2$ is even, and $ a,b$ has the same parity.
However, if $ a,b$ are odd, we have that $ 4$ divides $ 7^a-3^b$, but $ 4$ doesn't divide $ a^4+b^2$.

So $ a,b$ are even, and let's say $ a=2x,b=2y$.

You'll get $ (7^{x}-3^{y})(7^{x}+3^{y})$ divides $ 4(4x^4+y^2)$

If $ y$ is odd, then $ 8$ divides $ (7^{x}-3^{y})(7^{x}+3^{y})$ but not $ 4(4x^4+y^2)$, so $ y$ is even.

Say $ y=2z$.

You'll get $ (7^{x}-3^{2z})(7^{x}+3^{2z})$ divides $ 16(x^4+z^2)$

So $ |(7^{x}-3^{2z})(7^{x}+3^{2z})|\leq |16(x^4+z^2)|$

But $ |(7^{x}-3^{2z})\geq 2$ (because both terms are even), and so $ 2(7^{x}+3^{2z})\leq 16(x^4+z^2)$.

But for $ x=1,2,3$ we easily get $ z=1,2$, and for $ x\geq 4$, we have that $ 2(7^{x})>16x^4$. Also, $ 2(3^{2z})>16z^2$ for all $ z\in \mathbb{N}$.

So it is enough to check $ (x,z)=(1,1),(2,1),(3,1),(1,2),(2,2),(3,2)$. We'll get $ (x,z)=1,1$, or $ (a,b)=(2,4)$ as the only solution.
Z K Y
The post below has been deleted. Click to close.
This post has been deleted. Click here to see post.
preudtanan
30 posts
#5 • 3 Y
Y by donotoven, Adventure10, Mango247
tom: you shouldn't give solution to shortlist problem before IMO. you should talk to me (phone number below)
Z K Y
The post below has been deleted. Click to close.
This post has been deleted. Click here to see post.
AMN300
563 posts
#6 • 4 Y
Y by Navi_Makerloff, donotoven, Adventure10, Mango247
I believe that proving $b \equiv 0 \pmod{4}$ is unnecessary, the solution in that case is a bit more messy, but similar. The motivation for this solution is using size issues in divisibility, similar to the above posts.

solution
Z K Y
The post below has been deleted. Click to close.
This post has been deleted. Click here to see post.
reveryu
218 posts
#7 • 4 Y
Y by expiLnCalc, donotoven, Adventure10, Mango247
AMN300 wrote:
$4d^2-3^d >0 \implies d=1$
why doesn't $4d^2-3^d >0$ imply $d=1,2,or   3  $ ?
This post has been edited 2 times. Last edited by reveryu, Jan 15, 2017, 12:28 PM
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
#8 • 3 Y
Y by donotoven, 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.
AlastorMoody
2125 posts
#9 • 2 Y
Y by donotoven, Adventure10
Solution
Z K Y
The post below has been deleted. Click to close.
This post has been deleted. Click here to see post.
GeoMetrix
924 posts
#11 • 4 Y
Y by mueller.25, amar_04, russellk, donotoven
It feels nice to get back to NT. Here's my solution that uses the same idea of bounding.

Proof: Notice that clearly $7^a-3^b \equiv 0 \pmod 2$. Since $7,3$ have the same parity so this forces that either $(a,b)$ are both odd or are both even. We'll firstly work with the case when $(a,b)$ are both odd. Let $(a,b)=(2k+1,2l+1)$. Notice that $$7^a-3^b \equiv 7^{2k+1}-3^{2l+1} \equiv 0 \pmod 4$$But $a^4+b^2 \equiv (2k+1)^4 +(2l+1)^2 \equiv 2 \pmod 4$ a contradiction. Now let $(a,b)=(2k,2l)$. Clearly we must have that $(7^k+3^l)(7^k-3^l) \mid 16k^4+4l^2$. But since $$2(7^k+3^l) \leq |(7^k+3^l)(7^k-3^l)| \leq 16k^4+4l^2$$so we can estabilish that $7^k+3^l \leq 8k^4+2l^2$. This is equivalent to $3^l-2l^2 \leq 8k^4-7^k$. But notice that from induction $\forall l \geq 1$ we have that $3^l>2l^2$ and hence we have $0 \leq 3^l-2l^2 \leq 8k^4-7^k$ . But notice that $7^k \geq 8k^4$ $\forall k \geq 4$ hence we have to check for $k \leq 3$.

Now notice that if $k=3$ then we have that $343+3^l \leq 648+2l^2 \implies 3^l-2l^2 \leq 305$. But notice that $3^l -2l^2 > 305$ for all $l\geq 6$ hence we have to check till $l=6$. But clearly none of the solution sets work. $\square$.

Now if $k=2$ then we have $3^l-2l^2 \leq 128-49=79$ . But again notice that we that $3^l-2l^2 > 78$ for $l\geq 5$. Hence we check all the way uptil $5$. But clearly none of the solution sets work again $\square$.

Now if $k=1$ then notice that we have $3^l-2l^2 \leq 1$ but notice that this is true only when $l \leq 2$ . So we check till $l=2$ and we have a solution set that woks which is $(k,l)=(1,2)$ or that $\boxed{(a,b)=(2,4)}$ $\blacksquare$.
Z K Y
The post below has been deleted. Click to close.
This post has been deleted. Click here to see post.
Maffeseater
11 posts
#12 • 1 Y
Y by donotoven
tom_damrong wrote:
This is my alternative solution.

Ummm... You gave the exact solution (quite literally) as the one two posts above. How is yours an "alternative" solution?
Z K Y
The post below has been deleted. Click to close.
This post has been deleted. Click here to see post.
dchenmathcounts
2443 posts
#13 • 2 Y
Y by ApraTrip, donotoven
Surprisingly, if you push hard enough this problem just falls.

We claim only $(2,4)$ works, and we can easily verify that it does.

Note that $2\mid 7^a-3^b,$ so $2\mid a^4+b^2,$ implying $a\equiv b\pmod{2}.$ This implies that $7^a\equiv 3^b\pmod {4},$ so $4\mid a^4+b^2,$ implying that $2\mid a$ and $2\mid b.$ Say that $a=2x$ and $b=2k.$ Then note $8\mid 49^{x}-9^k,$ so we must have $8\mid 4(4x^2+k^2),$ implying that $2\mid k.$ Let $k=2y,$ then we want to solve $(7^x-9^y)(7^x+9^y)\mid 16(x^4+y^2).$

Now we just bound. Note that $2(7^x+9^y)\leq |(7^x-9^y)(7^x+9^y)|\leq 16(x^4+y^2),$ implying $7^x+9^y\leq 8(x^4+y^2).$ Note that for all $x\geq 4,$ we have $7^x> 8x^4,$ and for all positive integers $y,$ $9^y>8y^2.$ So the only possible solutions are natural numbers $x\leq 3.$

In the case of $x=1,$ note that we must have
\[(7-9^y)(7+9^y)\mid 16(1+y^2),\]or $81^y-49\leq 16y^2+16.$ Note this fails for any $y\geq 2,$ and that $y=1$ yields equality, so $(1,1)$ is the only solution for $x=1.$

In the case of $x=2,$ note that we must have
\[(49-9^y)(49+9^y)\mid 16(16+y^2).\]We can easily verify that $y=1$ fails. For $y\geq 2,$ we want to ensure $81^y-7^4\leq 16y^2+16\cdot 16,$ which fails for all $y\geq 2.$

In the case of $x=3,$ note that we must have
\[(343-9^y)(343+9^y)\mid 16(81+y^2).\]We can easily verify that $y=1$ and $y=2$ fail by size reasons, noting $343-9^y<16$ and $343+9^y>81+y^2$ for $y=1,2.$ For $y\geq 3,$ we want to ensure that $81^y-7^6\leq 16y^2+16\cdot 81,$ which fails for all $y\geq 3.$

So the only solution in $(x,y)$ is $(1,1),$ corresponding to $(2,4).$
Z K Y
The post below has been deleted. Click to close.
This post has been deleted. Click here to see post.
GeronimoStilton
1521 posts
#14 • 1 Y
Y by donotoven
If $a$ and $b$ don't have the same parity, then $7^a-3^b$ is even and $a^4+b^2$ is odd, absurd. Otherwise, $4\mid 7^a-3^b\mid a^4+b^2$ so $a$ and $b$ are both even. Let $a=2m,b=2n$. Then $(7^m-3^n)(7^m+3^n)\mid 16m^4+4n^2$. Now, if $m$ and $n$ are the same parity, the LHS is divisible by $8$ and otherwise it is still divisible by $8$, so either way $2\mid n$ and thus we can let $n=2k$ so $(7^m-9^k)(7^m+9^k)\mid 16(m^4+k^2)$. Now, we use the crowbar known as "size": it is clear that the LHS's absolute value is at least $2(7^m+9^k)$, so at least one of $8k^2\ge 9^k$ and $8m^4\ge 7^m$ occurs. The former can never occur and the latter can only occur for $m\le 3$. Now, at $m=3$ we get $(343-9^k)(343+9^k)\mid 16(81+k^2)$. But the value of $k$ that minimizes $|343-9^k|$ is $262$, which is bad because $16\cdot81/262<343$. If we have $m=2$, we get $(49-9^k)(49+9^k)\mid 16(16+k^2)$. Similarly to before, note $|49-9^k|$ is minimized at $32$, so since $16\cdot16/32=8<49$, this is bad. So finally $m=1$ and $49-81^k=(7-9^k)(7+9^k)\mid 16(1+k^2)$. Equivalently, $0<81^k-49\mid 16(1+k^2)$. Equality holds exactly at $k=1$. Moreover, $\log(81)\cdot 81>32$ and $\log(81)^2\cdot81>32$, so by differentiation the result follows: the divisibility holds only when $(a,b)=(2,4)$, which can easily be checked to be true.
Z K Y
The post below has been deleted. Click to close.
This post has been deleted. Click here to see post.
isaacmeng
113 posts
#15 • 1 Y
Y by donotoven
Quite straightforward.

Note that $2\mid 7^a-3^b\implies 2\mid a^4+b^2$. Hence $a$ and $b$ have the same parity. If $a$ and $b$ are both odd, then $7^a\equiv (-1)^a\equiv -1\equiv (-1)^b\equiv 3^b$ (mod $4$) $\implies 4\mid 7^a-3^b$, which is contradictory to the congruence $7^a+3^b\equiv 2$ (mod $4$). Thus $a$ and $b$ are both even,let $a=2m,b=2n$. The divisibility condition becomes $7^{2m}-3^{2n}\mid 16m^4+4n^2\implies (7^m+3^n)(7^m-3^n)\mid 16m^4+4n^2$. Since $2\mid 7^m-3^n$,we have $7^m+3^n\le 8m^4+2n^2$. Then we can check case by case and get the unique solution $(a,b)=(2,4)$.
Z K Y
The post below has been deleted. Click to close.
This post has been deleted. Click here to see post.
rafaello
1079 posts
#17 • 1 Y
Y by donotoven
This took me way too long (expected to be cuter :(). This solution is essentially the same as m.essein's, but posted for fun.

We have by modulo $4$ reasons, that $a$ and $b$ are even. Taking also modulo $8$, we get that $a=2x$ and $b=4y$.
So essentially, we reduce our problem to the following:
$$(7^x-9^y)(7^x+9^y)\mid 16(x^4+y^2).$$Thus, $7^x+9^y\leq 8(x^4+y^2)$ as $2\mid 7^x-9^y\implies 2\leq \vert 7^x-9^y \vert$ . Note that $7^x>8x^4$ for all $x>3$ and $9^y> 8y^2$ for all $y>0$. Therefore we must only consider values $x=1,2,3$. Note that if $x\leq 3$, then $y=1$ or $2$. Thus, we only need to consider pairs $(x,y)=(1,1),(1,2),(2,1),(2,2),(3,1),(3,2)$. Only solution is $(x,y)=(1,1)$.
Thus, we obtain our only solution pair $\boxed{(a,b)=(2,4)}$.
Z K Y
The post below has been deleted. Click to close.
This post has been deleted. Click here to see post.
bluelinfish
1449 posts
#18 • 1 Y
Y by donotoven
Notice that $7^a-3^b$ must be even, as both terms are odd. This implies that $a^4+b^2$ is even, so $a$ and $b$ have the same parity. However, if $a$ and $b$ were both odd, then we would have $$LHS\equiv (-1)^a-(-1)^b \equiv (-1)-(-1)\equiv 0 \pmod 4,$$as $a$ and $b$ are odd, and $$RHS \equiv 1+1\equiv 2 \pmod 4$$as an odd perfect square must be $1\pmod 4$, which is a contradiction. Therefore $a$ and $b$ are both even.

This means that if we let $a=2c$ and $b=2d$, then $$49^c-9^d | 16c^4+4d^2.$$Then, since $49^c-9^d=(7^c+3^d)(7^c-3^d)$, we must also have $$7^c+3^d | 16c^4+4d^2,$$in particular $7^c+3^d \le 16c^4+4d^2$. We must have $(7^c-16c^4)+(3^d-4d^2)<0$. The minimum of $7^c-16c^4$ is $-1695$ at $c=4$, and $3^d-4d^2>1695$ for $d\ge 7$, so $d<7$. Similarly, the minimum of $3^d-4d^2$ is $-9$ at $d=3$, and $7^c-16c^4>9$ for $c\ge 5$, so $c<5$. Checking the remaining cases, we get that $c=1, d=2$ is the only one that works, which corresponds to $(a,b)=\boxed{(2,4)}$.
Z K Y
The post below has been deleted. Click to close.
This post has been deleted. Click here to see post.
bora_olmez
277 posts
#19 • 1 Y
Y by donotoven
Solved with L567 using the Catalan Conjecture (well technically not but yeah) - posting for storage.

Notice that $2 \mid 7^a-3^b \mid a^4+b^2$ meaning that $a \equiv b \pmod{2}$ and therefore $4 \mid 7^a-3^b \mid a^4+b^2$ and consequently $2 \mid a,b$, writing $a = 2x,b=2y$, we have $$(7^x-3^y)(7^x+3^y)=7^{2x}-3^{2y} \mid 4(4x^4+y^2)$$Notice that $\mid 7^x-3^y \mid \geq 2$ (by the Catalan Conjecture) therefore $$7^x+3^y \leq 8x^4+2y^2$$Notice that $7^x > 8x^4$ for all $x \geq 4$ and $3^y > 2y^2$ for all $y \geq 3$.
Checking all the cases for $x \in \{1,2,3\}$ and $y \in \{1,2\}$ gives us the only pair $(a,b) = (2,4)$.
This post has been edited 2 times. Last edited by bora_olmez, Jul 23, 2021, 10:04 PM
Z K Y
The post below has been deleted. Click to close.
This post has been deleted. Click here to see post.
v_Enhance
6882 posts
#20 • 4 Y
Y by math31415926535, donotoven, HamstPan38825, NicoN9
Solution from Twitch Solves ISL: The only answer is $(a,b) = (2,4)$, which works as $7^2 - 3^4 = -32$ divides $2^4 + 4^2 = 32$.
To show this is the only solution, we note the following:
  • The left-hand side is always even, which implies $a$ and $b$ have the same parity.
  • This in turn implies the left-hand side is $0 \bmod 4$.
  • Hence $a^4+b^2 \equiv 0 \pmod 4$ which means $a$ and $b$ are even.
  • This means that $7^a -3^b \equiv 0 \pmod 8$, which further means $b \equiv 0 \pmod 4$.
This means we may let $a = 2x$ and $b = 2y$ with $y$ even to obtain \[ \left( 7^x - 3^y \right)\left( 7^x + 3^y \right) \mid (2x)^4 + (2y)^2. \]To reduce to finite casework we contend:
Claim: $2 \cdot 3^a > 16a^4 + 4a^2$ once $a \ge 10$.
Proof. $3^{10} = 243^2 = 2 \cdot59049 = 177147 > 160400$. $\blacksquare$
Hence we are done if $\max(x,y) \ge 10$. Next
Claim: $7^x > 16x^4 + 4 \cdot 10^2$ for $x \ge 6$
Proof. $7^6 = 343^2 > 100000 > 16 \cdot 6^4 + 400$. $\blacksquare$
So we may assume $x \le 5$ as well.
This gives us the following cases. In all situations, note that $(2 \cdot 5)^4 + (2 \cdot 10)^2 = 10400$ and consequently if $(7^x-3^y)(7^x+3^y) > 10400$ there is nothing to verify. These cases are marked as ``big'' in the table. \[ \begin{array}{rr|ccccc} 	&& 7 & 49 & 343 & 2401 & 16807 \\ 	&& x=1 & x=2 & x=3 & x=4 & x=5 \\ \hline 	9 &y=2 & \text{OK} & 40 \cdot 58 \nmid 272 & \text{big} & \text{big} & \text{big} \\ 	81 &y=4 & 74 \cdot 88 \nmid 48 & 32 \cdot 130 \nmid 320 & \text{big} & \text{big} & \text{big} \\ 	729 &y=6 & \text{big} & \text{big} & \text{big} & \text{big} & \text{big} \\ 	6561 &y=8 &  \text{big} & \text{big} & \text{big} & \text{big} & \text{big} \\ \end{array} \]
Z K Y
The post below has been deleted. Click to close.
This post has been deleted. Click here to see post.
megarnie
5610 posts
#21
Y by
LHS is even, so RHS is also even, so $a$ and $b$ have same parity. This implies $7^a-3^b\equiv 0\pmod 4$, so $a$ and $b$ are even, which implies $7^a-3^b\equiv 0\pmod 8$, so $b\equiv 0\pmod 4$.

Set $a=2x$ and $b=2y$ where $y$ is even.

So $(7^x-3^y)(7^x+3^y)\mid 16x^4+4y^2$.

We note that if $y>3$, then $3^y>4y^2$. If $x>4$, then $7^x> 16x^4$. So if $x>4$ and $y>3$, then $(7^x+3^y)> 16x^4+4y^2$, a contradiction.

Case 1: $x\le 4$.
If $x=1$, then $3^y+7\le 16+4y^2$. So $y<4$. Now $3^3+7=34\nmid (16+4\cdot 3^2)=52$. Thus, $y<3$. If $y=1$ or $y=2$, then $2(3^y+7)=16+4y^2$, which implies $7-3^y\mid 2$, so $y=2$. Indeed, $\boxed{(a,b)=(2,4)}$ is valid.

If $x=2$, then $3^y+49\le 256+4y^2$. So $y<6$. If $y=5$, then LHS is $292$ and RHS is $356$, contradiction. If $y=4$, then LHS is $130$ and RHS is $320$, contradiction. Oops I forgot $y$ is even. Much less casework. If $y=2$, then we get $58\mid 272$, contradiction.

If $x=3$, then $3^y+343\le 1296+4y^2$. So $y<7$. If $y=6$, then $1072\mid 1440$, contradiction. If $y=4$, then $424\mid 1360$, contradiction. If $y=2$, then $352\mid 1312$, contradiction.

If $x=4$, then $2401+3^y\le 4096+4y^2$. So $y<7$. If $y=6$, then $3130\mid 4240$, contradiction. If $y=4$, then $2482\mid 4160$, contradiction. If $y=2$, then $2410\mid 4112$, contradiction.

Case 2: $x>4$ and $y=2$.
So we have $7^x+9\mid 16x^4+16$. So $x<5$, a contradiction.


We have exhausted all cases, so we are done.
Z K Y
The post below has been deleted. Click to close.
This post has been deleted. Click here to see post.
827681
163 posts
#23
Y by
Answer
Solution
Z K Y
The post below has been deleted. Click to close.
This post has been deleted. Click here to see post.
awesomeming327.
1746 posts
#24
Y by
Note that $7^a-3^b$ is even, so $a^4+b^2$ is even. Thus, $a^4,b^2$ have same parity which means $a,b$ have same parity.

$~$
If $a,b$ odd then $7^a-3^b$ is divisible by $4$ but $a^4,b^2\equiv 1\pmod 4$ so $a^4+b^2\equiv 2\pmod 4.$

$~$
Thus, $a,b$ are even. Let $a=2a_1,b=2b_1$ to get $49^{a_1}-9^{b_1}\equiv 0 \pmod 8$ which implies $16a_1^4+4b_1^2\equiv 0 \pmod 8$ so $b_1$ is even. Thus, let $b=4b_2.$

$~$
We have $49^{a_1}-81^{b_2}=(7^{a_1}-9^{b_2})(7^{a_1}+9^{b_2}).$ Note that the first factor is a difference of two odd but distinct integers, so it's at least two. Thus, $7^{a_1}+9^{b_2}\le 8(a_1^2+b_2^2)$

$~$
Easy bounding gives $9^k>8k^2$ and so $7^{a_1}\le 8a_1^2$ implying that $a_1=1,2$ or $3.$ Then, more bounding gives the solution $(1,1).$ Thus, $(a,b)=(2,4)$ is the only solution
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
#25
Y by
Solved with hints.

Clearly $a$ and $b$ have the same parity. Then, suppose that $a,b\equiv 1\pmod 2$. Then we have that $a^4+b^2\equiv 2\pmod 4$ while $7^a-3^b\equiv 0\pmod 4$, a contradiction. Then we may set $a=2x$ and $b=2y$ to obtain that
\[7^{2x}-3^{2y}\mid 16x^4+4y^2\implies 7^x+3^y\mid 16x^4+4y^2\implies 7^x+3^y\le 16x^4+4y^2.\]Then by bounding we obtain that $x\le 4$ and $y\le 6$. Finally, plugging into our original equation gives that only $(a,b)=\boxed{(2,4)}$ works (we omit the calculations).
Z K Y
The post below has been deleted. Click to close.
This post has been deleted. Click here to see post.
lrjr24
967 posts
#26
Y by
Obviously $a,b$ are the same parity. If they are both odd then $a^4+b^2 \equiv 2 \pmod 4$ and $7^a-3^b \equiv 0 \pmod 4$, a contradiction. Thus $a=2x$ and then $b=2y$. Thus $$7^{2x}-3^{2y}|16x^4+4y^2 \implies (7^x+3^y)(7^x-3^y)|16x^4+4y^2 \implies |(7^x-3^y)|(7^x+3^y) \le 16x^4+4y^2 \implies 7^x+3^y \le 8x^4+2y^2.$$Next note that $3^y \ge 2y^2+1$ for all $y \ge 1$, so we have that $7^x+1 \le 8x^4$. This inequality gives $x=1,2,3$. If $x=1$ then we have that $3^y \le 2y^2+1$ or $y=1,2$, and we get the solution $(x,y)=(1,2)$ so $(a,b)=(2,4)$. If $x=2$, then $3^y \le 79+2y^2$, so $y=1,2,3,4$ upon checking gives no solution. If $x=3$, then $3^y \le 305+2y^2$ which gives $y=1,2,3,4,5$ which upon checking gives no solutions, so the sole solution is $(a,b)=(2,4)$.
Z K Y
The post below has been deleted. Click to close.
This post has been deleted. Click here to see post.
fuzimiao2013
3314 posts
#27
Y by
Missed the obvious bounding at the end :c (oops this looks like asdf's sol)

The key claim is that

Claim: $2|a$ and $4|b$.
Proof: Since $7^a - 3^b$ is even, $a$ and $b$ must have the same parity. Thus $7^a - 3^b \equiv 0 \pmod{4}$ and so $2|a, b$. Then $7^a-3^b \equiv 1 - 1 = 0 \pmod{8}$ and so $4|b$.

Let $a = 2c$ and $b = 4d$. We can rewrite the original equation as $$7^{2c}-3^{4d} \mid (2c)^4 + (4d)^2,$$or, $$(7^c+3^{2d})(7^c-3^{2d}) \mid 16(c^4+d^2) \implies (7^c+3^{2d}) \leq 16(c^4+d^2).$$Bound. This is left as an exercise to the reader. The answer is $(a, b) = \boxed{(2, 4)}$. $\square$
Z K Y
The post below has been deleted. Click to close.
This post has been deleted. Click here to see post.
sman96
136 posts
#28 • 1 Y
Y by aourkorzs
ISL Marabot solve

Clearly, $7^a-3^b$ is even. So, parity of $a,b$ must be same. Therefore, $4|7^a-3^b$. Which gives, $a,b$ are even.
Let, $a= 2x, b = 2y$. So, $(7^x+3^y)(7^x-3^y)|16x^4+4y^2$
Here, $7^x- 3^y$ is even and not $0$.
So, $(7^x+3^y)|8x^4+2y^2$
$\implies 7^x+3^y \leq 8x^4+2y^2$
But, $3^y > 2y^2 \ \forall y\in \mathbb N$. So, $7^x > 8x^4$ which gives $x\leq 3$.
And, for each $x$ we get $y < 3$. And by checking all of the pairs we can see that only $(x,y) = (1,2)$ works. Which gives the only solution $(a,b) = (2,4).  \ \ \ \blacksquare$
Z K Y
The post below has been deleted. Click to close.
This post has been deleted. Click here to see post.
Alcumusgrinder07
95 posts
#29
Y by
We have that $7^a-3^b$ is even so we need the parities of $a,b$ to be the same. So we have that $4|7^a-3^b$ which implies that $a,b$ are even. We now let $a=2x$ and $b=2y$ so we have that $7^2x-3^2y=(7^x+3^y)(7^x-3^y)|16x^4+4y^2$ this implies that $7^x>8x^4$ else there is a contradiction so we have that $x \leq 3$ and $y<3$ so the only pair is $(x,y)=(1,2)$ which means that $(a,b)=(2,4)$ QED
Z K Y
The post below has been deleted. Click to close.
This post has been deleted. Click here to see post.
ryanbear
1056 posts
#30
Y by
Take mod $2$
$7^a-3^b \equiv 0 \pmod 2$ so $a^4+b^2 \equiv 0 \pmod 2$
$a+b \equiv 0 \pmod 2$
$a \equiv b \pmod 2$
Take mod $4$
$(-1)^a-(-1)^b \equiv 0 \pmod 4$ if $a$ and $b$ have the same parity, so $a^4+b^2 \equiv 0 \pmod 4$ and $a$ and $b$ are all even
Let $a=2c, b=2d$
$49^c-9^d$ divides $16c^4+4d^2$
Take mod $8$
$49^c-9^d \equiv 0 \pmod 8$
So $16c^4+4d^2 \equiv 0 \pmod 8$
$4d^2 \equiv 0 \pmod 8$
$d^2 \equiv 0 \pmod 2$
$d \equiv 0 \pmod 2$
Let $d=2e$
$49^c-81^e$ divides $16c^4+16e^2$
$7^{2c}-9^{2e}$ divides $16c^4+16e^2$
$(7^c-9^e)(7^c+9^e)$ divides $16c^4+16e^2$
$|7^c-9^e|(7^c+9^e) \le 16c^4+16e^2$
$7^c+9^e \le 16c^4+16e^2$
For $e \ge 2$, $9^e > 16e^2$ because $e=2$ satisfies it and multiplying by $9$ is more than multiplying by $\frac{(e+1)^2}{e^2}$ so it will always satisfy
For $c \ge 5$, $7^c > 16c^4$ because $c=5$ satisfies it and multiplying by $7$ is more than multiplying by $\frac{(c+1)^4}{c^4}$ so it will always satisfy
So for $e \ge 2, c \ge 5$, $7^c+9^e > 16c^4+16e^2$
So to satisfy $7^c+9^e \le 16c^4+16e^2$, $e=1$ and $c=1,2,3,4$
Plug in all possible values of $c$ and $e$ to find that only $c=1, e=1$ works and results in $\boxed{a,b=(2,4)}$
Z K Y
The post below has been deleted. Click to close.
This post has been deleted. Click here to see post.
cj13609517288
1930 posts
#31
Y by
The answer is $(a,b)=\boxed{(2,4)}$ only, which clearly works.

Note that the LHS is a multiple of $4$, so the RHS must also be a multiple of $4$, so $a$ and $b$ are even. However, this makes the LHS a multiple of $8$, so $b$ is a multiple of $4$. Let $a=2m$ and $b=4n$. Then
\[(7^m-9^n)(7^m+9^n)\mid 16(m^4+n^2).\]Since the first factor is even, we have
\[7^m+9^n\mid 8(m^4+n^2)\rightarrow (7^m-8m^4)+(9^n-8n^2)\le 0.\]
Let $f(m)=7^m-8m^4$ and $g(n)=9^n-8n^2$. Then we can see that $f(1)=-1$, $f(2)=-79$, $f(3)=-305$, $f(4)=353$, and $f(n)>353$ for all positive integers $n\ge 5$.
We can also see that $g(1)=1$, $g(2)=49$, $g(3)=657$, and $g(n)>657$ for all positive integers $n\ge 4$.
Therefore, we have to check $(m,n)=(1,1),(2,1),(2,2),(3,1),(3,2)$.
If $(m,n)=(2,1)$, then $58\mid 8(17)$ which is not true.
If $(m,n)=(2,2)$, then $130\mid 8(20)$ which is not true.
If $(m,n)=(3,1)$, then $352\mid 8(82)$ which is not true.
If $(m,n)=(3,2)$, then $424\mid 8(85)$ which is not true.
If $(m,n)=(1,1)$, then $(a,b)=(2,4)$. QED.
Z K Y
The post below has been deleted. Click to close.
This post has been deleted. Click here to see post.
huashiliao2020
1292 posts
#32
Y by
This one's a few minute headsolve.

Note that the LHS is divisible by 2, so a,b have same parity; in particular, if a,b odd then LHS is 0 mod 4, while RHS is 2 mod 4, contradiction, so we deduce a=2c,b=2d. Now the problem is evident because $7^c+3^d\mid 7^{2c}-3^{2d}\mid 16c^4+4d^2$, which it's obvious LHS increases faster so by obvious bounding we can manually check solutions that's only $2,4$.
Z K Y
The post below has been deleted. Click to close.
This post has been deleted. Click here to see post.
HamstPan38825
8880 posts
#33
Y by
As $7^a-3^b$ is even, $a, b$ are of the same parity; on the other hand, this implies $8 \mid 7^a - 3^b$, which forces $2 \mid a$ and $4 \mid b$ for mod $8$ reasons.

On the other hand we must now have $7^{a/2} + 3^{b/2} \leq a^4+b^2$. By comparing the $a$ and $b$-terms, it suffices to check $(a, b) = (2, 4), (4, 4), (6, 4), (8, 4)$, of which only $(2, 4)$ works.
Z K Y
The post below has been deleted. Click to close.
This post has been deleted. Click here to see post.
Ywgh1
139 posts
#35
Y by
2007 N1

First of all, $a,b$ are of same parity implying that $ 8|7^a-3^b,$ so $2| a$ and $4|b$ ,

We can after that easily get that only $(2,4)$ works.
This post has been edited 2 times. Last edited by Ywgh1, Aug 18, 2024, 8:10 AM
Z K Y
The post below has been deleted. Click to close.
This post has been deleted. Click here to see post.
Math_456
6 posts
#36
Y by
Quite a nice problem :-D
It's easy to find by $mod 4$ that $2 \mid a$ and $4 \mid b$
So suppose $a=2x$ and $b=4y$, we get that:
$(7^x+9^y)(7^x-9^y) \mid 16(x^4+y^2)$ which means that $16(x^4+y^2) \ge 7^x+9^y$
It's obvious that $x \ge 5$ doesn't work and by casework($x=4, 3, 2, 1$) we get that the only solution is x=y=1 which means that $(a;b)=(2;4)$
Z K Y
The post below has been deleted. Click to close.
This post has been deleted. Click here to see post.
ezpotd
1327 posts
#37 • 1 Y
Y by Math_456
bad formatting because copied from my mathdash solution

note that 7^a - 3^b divides to, so a and b have the same parity, both odd causes 7^a - 3^b to be divsiible by 4 whereas a^4 + b^2 = 1 + 1 = 2 mod 4, so fail. then a,b, are both even, taking mod 8 gives a^4 + b^2 divides 8, so 4 | b. now factor (7^a - 3^b) = (7^x- 3^y)/2 *2(7^x + 3^y). now we then have 2(7^x + 3^y) <= 16x^4 + 4y^2, so 7^x + 3^y <= 8x^4 + 2y^2. now we must have one of the inequalities of x < 4, y < 2, true, otherwise we can just sum 7^x >8x^4, 3^y > 2y^2 and win. since y is even, we must have x < 4. x = 3 gives 343 + 3^y | 648 + 2y^2, clearly the left side is more than half the right side so we must have 3^y = 648 - 343 + 2y^2. this cleraly fails by size for y > 5, and y < 5 LHS is 2 digits RHS is 3. then y = 5 fails by direct computation. now we try x = 2, this gives 49 + 3^y <= 128 + 2y^2, for y > 5 we can win by size, y = 5 doesnt work by 2| y, y = 4 fails by direct computation, y = 3 fails by 2 | y, y = 2 fails by szie. now we try x = 1, or 7 + 3^y <= 8 + 2y^2, y > 2 fails by size, y = 2 works and yields the only solution that works, (2,4). it is trivial to see that this works.
Z K Y
The post below has been deleted. Click to close.
This post has been deleted. Click here to see post.
Maximilian113
577 posts
#38
Y by
By mod $4$ both $a, b$ are even. Then mod $8$ yields $4|b.$ Thus let $a=2x, b=4y.$ Then this yields $$(7^x-9^y)(7^x+9^y) \, | \, 16(x^4+y^2) \implies 16(x^4+y^2) \geq 7^x+9^y.$$Note that the RHS increases faster than the LHS for $x \geq 5, y \geq 2.$ If $y \geq 2,$ testing $x=1, 2, 3, 4$ yields no solutions. Therefore $y=1 \implies x = 1, 2, 3, 4.$ Only $x=1$ works meaning that the only solution is $(a, b) = (2, 4).$
Z K Y
The post below has been deleted. Click to close.
This post has been deleted. Click here to see post.
study1126
570 posts
#39
Y by
Click to reveal hidden text
Z K Y
The post below has been deleted. Click to close.
This post has been deleted. Click here to see post.
InftyByond
210 posts
#40
Y by
We claim $(2, 4)$ is the only solution.
Consider taking both sides mod $4$. We get that clearly the LHS is even, so $a$ and $b$ have equal parity. However, if they are both odd, the LHS is divisible by $4$ but the RHS is not.
We perform the substitution $a=2x$, $b=2y$. Then we get $$(7^x-3^y)(7^x+3^y)|16x^4+4b^2.$$It must follow that since $7^x-3^y\neq 0$ and $7^x-3^x$ is even, it follows that $$2(7^x+3^y)|16x^4+4b^2.$$Now note that by this rule $x\leq 3$.
Testing and bounding $y$ gives the desired result.
Z K Y
The post below has been deleted. Click to close.
This post has been deleted. Click here to see post.
John_Mgr
70 posts
#41
Y by
$2 \mid 7^a-3^b \mid a^4+b^2$, $a, b$ are of same parity.
if both are odd $4 \mid 7^a-3^b $ and $7^a-3^b \equiv 0 \pmod 4 \implies a^4+b^2 \equiv 0 \pmod4$ however for odd $K$, $ K^{2p} \equiv 1 \pmod 4$ and $2 \equiv 0 \pmod 4$ is a contradiction.
Hence a,b are even $2 \mid a, b$
Let $a=2m$ and $b=2n$ then $(7^m - 3^n)(7^m + 3^n) \mid a^4+b^2$ and $(7^m-3^n) \geq 2$
so $2(7^m+3^n) \leq (2m)^4 + (2n)^2 \implies $ $7^m+3^n \leq 8m^4+2n^2$,
Observe that for $m \geq 4, 7^m> 8^n$. So, $m \in (1, 2, 3 )$ correspondingly $n \in (1, 2, 3, 4)$.
$a=2m$ and $b=2n$ $\implies$ $a \in (2, 4, 6)$ & $b \in (2, 4, 6, 8)$. And the only sole solution is $\boxed{ (a, b)=(2, 4 )}$
Z K Y
The post below has been deleted. Click to close.
This post has been deleted. Click here to see post.
Ilikeminecraft
685 posts
#42
Y by
Clearly $a, b$ have different parity. However, this implies that they also have to be even from considering modulo 4. By taking modulo 8, we see that $4\mid b.$ Substitute $x = \frac a2, y = \frac b4.$ Hence, $7^x + 3^{2y} \mid 16x^4 + 16 y^2.$ Hence, $7^x + 3^{2y} \leq 16(x^4 + y^2).$ Rearranging, we have that $3^{2y} - 16y^2 \leq 16x^4 - 7^x.$ However, observe that $16x^4 - 7^x \leq 0$ when $x \geq 5,$ and $3^{2y} - 16y^2 \geq 0$ for $y\geq2.$ Hence, we only need to test $(x, y) = (4, 1), (3, 1), (2, 1), (1, 1).$ However, only $(2, 4)$ works. We are done.
Z K Y
The post below has been deleted. Click to close.
This post has been deleted. Click here to see post.
sansgankrsngupta
154 posts
#43
Y by
OG!
We have that $2|7^a- 3^b| a^4+b^2 \implies a\equiv b \pmod 2; \implies 7^a-3^b \equiv (-1)^a-(-1)^b \equiv 0 \pmod 4 \implies 4|7^a-3^b|a^4+b^2,$

$\blacksquare$ if $a$ and $b$ both are odd; then $a^4+b^2 \equiv 2 \pmod 4$ ; which is a contradiction hence;
$a=2x, b=2w; x,w \in Z^+ \implies 49^x- 9^w|4(4x^4+w^2)$
$\blacksquare$ if $w$ is odd, then $v_2(4(4x^4+w^2))= 2$; but then $49^x-9^w \equiv 1-1 \equiv 0 \pmod8$ is a contradiction. Hence let, $w=2y,\ \  y \in Z^+ $
Substituting $b=4y, a= 2x ; \ \ x,y \in Z^+$; we get
$(7^x-9^y)(7^x+9^y)|16(x^4+y^2) \implies |7^x-9^y||7^x+9^y|\leq |16(x^4+y^2)|;$

since $7^x-9^y \neq 0; 7^x-9^y  \equiv 0\pmod 2 \implies |7^x-9^y| \geq 2$.

Thus, $$2(7^x+9^y)\leq |7^x-9^y|7^x+9^y\leq 16(x^4+y^2) \implies7^x+9^y \leq 8(x^4+y^2) $$

Then using simple bounding and verifying each pair we get; We get $(x,y)= (1,1)$ is the only solution which corresponds to $(a, b)= (2,4)$ as the only possible solution.
Z K Y
The post below has been deleted. Click to close.
This post has been deleted. Click here to see post.
ND_
62 posts
#44
Y by
$2 \mid 7^a - 3^b \mid  a^4 + b^2 \Rightarrow a \equiv b \mod 2 \Rightarrow 4 \mid 7^a - 3b \Rightarrow \boxed{2 \mid a, b}$
Let $a,b = 2r, 2s \Rightarrow (7^r-3^s)(7^r+3^s) \mid (2r)^4 + (2s)^2 \Rightarrow |(7^r-3^s)(7^r+3^s)  |\leq (2r)^4 + (2s)^2$

$2 \mid 7^r - 3^s \ge 0 \Rightarrow |7^r - 3^s| \geq 2$

$\Rightarrow (7^r+3^s) \leq 8r^4 + 2s^2$
$\Rightarrow r \leq 4, s \leq 3$
$ r=1, s=2 \Rightarrow \boxed{(a,b)=(2,4)}$
Z K Y
N Quick Reply
G
H
=
a