Join our FREE webinar on May 1st to learn about managing anxiety.

G
Topic
First Poster
Last Poster
k a April Highlights and 2025 AoPS Online Class Information
jlacosta   0
Apr 2, 2025
Spring is in full swing and summer is right around the corner, what are your plans? At AoPS Online our schedule has new classes starting now through July, so be sure to keep your skills sharp and be prepared for the Fall school year! Check out the schedule of upcoming classes below.

WOOT early bird pricing is in effect, don’t miss out! If you took MathWOOT Level 2 last year, no worries, it is all new problems this year! Our Worldwide Online Olympiad Training program is for high school level competitors. AoPS designed these courses to help our top students get the deep focus they need to succeed in their specific competition goals. Check out the details at this link for all our WOOT programs in math, computer science, chemistry, and physics.

Looking for summer camps in math and language arts? Be sure to check out the video-based summer camps offered at the Virtual Campus that are 2- to 4-weeks in duration. 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 events:
[list][*]April 3rd (Webinar), 4pm PT/7:00pm ET, Learning with AoPS: Perspectives from a Parent, Math Camp Instructor, and University Professor
[*]April 8th (Math Jam), 4:30pm PT/7:30pm ET, 2025 MATHCOUNTS State Discussion
April 9th (Webinar), 4:00pm PT/7:00pm ET, Learn about Video-based Summer Camps at the Virtual Campus
[*]April 10th (Math Jam), 4:30pm PT/7:30pm ET, 2025 MathILy and MathILy-Er Math Jam: Multibackwards Numbers
[*]April 22nd (Webinar), 4:00pm PT/7:00pm ET, Competitive Programming at AoPS (USACO).[/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, 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
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
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
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
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
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
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
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
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
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
Tuesday, Jun 10 - Aug 26

Calculus
Tuesday, May 27 - Nov 11
Wednesday, Jun 25 - Dec 17

Group Theory
Thursday, Jun 12 - Sep 11

Contest Preparation: Grades 6-12

MATHCOUNTS/AMC 8 Basics
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
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
Thursday, May 22 - Aug 7
Sunday, Jun 15 - Sep 14 (1:00 - 2:30 pm ET/10:00 - 11:30 am PT)
Tuesday, Jun 17 - Sep 2
Monday, Jun 30 - Sep 22

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

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

Physics

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

Physics 1: Mechanics
Thursday, May 22 - Oct 30
Monday, Jun 23 - Dec 15

Relativity
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
Apr 2, 2025
0 replies
Easy Geometry Problem in Taiwan TST
chengbilly   7
N 20 minutes ago by L13832
Source: 2025 Taiwan TST Round 1 Independent Study 2-G
Suppose $I$ and $I_A$ are the incenter and the $A$-excenter of triangle $ABC$, respectively.
Let $M$ be the midpoint of arc $BAC$ on the circumcircle, and $D$ be the foot of the
perpendicular from $I_A$ to $BC$. The line $MI$ intersects the circumcircle again at $T$ . For
any point $X$ on the circumcircle of triangle $ABC$, let $XT$ intersect $BC$ at $Y$ . Prove
that $A, D, X, Y$ are concyclic.
7 replies
chengbilly
Mar 6, 2025
L13832
20 minutes ago
Overlapping game
Kei0923   3
N an hour ago by CrazyInMath
Source: 2023 Japan MO Finals 1
On $5\times 5$ squares, we cover the area with several S-Tetrominos (=Z-Tetrominos) along the square so that in every square, there are two or fewer tiles covering that (tiles can be overlap). Find the maximum possible number of squares covered by at least one tile.
3 replies
Kei0923
Feb 11, 2023
CrazyInMath
an hour ago
Interesting Function
Kei0923   4
N an hour ago by CrazyInMath
Source: 2024 JMO preliminary p8
Function $f:\mathbb{Z}_{\geq 0}\rightarrow\mathbb{Z}$ satisfies
$$f(m+n)^2=f(m|f(n)|)+f(n^2)$$for any non-negative integers $m$ and $n$. Determine the number of possible sets of integers $\{f(0), f(1), \dots, f(2024)\}$.
4 replies
Kei0923
Jan 9, 2024
CrazyInMath
an hour ago
Functional Geometry
GreekIdiot   1
N an hour ago by ItzsleepyXD
Source: BMO 2024 SL G7
Let $f: \pi \to \mathbb R$ be a function from the Euclidean plane to the real numbers such that $f(A)+f(B)+f(C)=f(O)+f(G)+f(H)$ for any acute triangle $\Delta ABC$ with circumcenter $O$, centroid $G$ and orthocenter $H$. Prove that $f$ is constant.
1 reply
GreekIdiot
Apr 27, 2025
ItzsleepyXD
an hour ago
Geometry books
T.Mousavidin   4
N 5 hours ago by compoly2010
Hello, I wanted to ask if anybody knows some good books for geometry that has these topics in:
Desargues's Theorem, Projective geometry, 3D geometry,
4 replies
T.Mousavidin
Yesterday at 4:25 PM
compoly2010
5 hours ago
trigonometric functions
VivaanKam   3
N Yesterday at 10:08 PM by aok
Hi could someone explain the basic trigonometric functions to me like sin, cos, tan etc.
Thank you!
3 replies
VivaanKam
Yesterday at 8:29 PM
aok
Yesterday at 10:08 PM
Inequalities
sqing   16
N Yesterday at 5:25 PM by martianrunner
Let $ a,b \in [0 ,1] . $ Prove that
$$\frac{a}{ 1-ab+b }+\frac{b }{ 1-ab+a } \leq 2$$$$ \frac{a}{ 1+ab+b^2 }+\frac{b }{ 1+ab+a^2 }+\frac{ab }{2+ab }  \leq 1$$$$\frac{a}{ 1-ab+b^2 }+\frac{b }{ 1-ab+a^2 }+\frac{1 }{1+ab  }\leq \frac{5}{2}$$$$\frac{a}{ 1-ab+b^2 }+\frac{b }{ 1-ab+a^2 }+\frac{1 }{1+2ab  }\leq \frac{7}{3}$$$$\frac{a}{ 1+ab+b^2 }+\frac{b }{ 1+ab+a^2 } +\frac{ab }{1+ab }\leq \frac{7}{6 }$$
16 replies
sqing
Apr 25, 2025
martianrunner
Yesterday at 5:25 PM
Sequence
lgx57   7
N Yesterday at 3:38 PM by jasperE3
$a_1=1,a_{n+1}=a_n+\frac{1}{a_n}$. Find the general term of $\{a_n\}$.
7 replies
lgx57
Apr 27, 2025
jasperE3
Yesterday at 3:38 PM
Geometry Angle Chasing
Sid-darth-vater   6
N Yesterday at 2:18 PM by sunken rock
Is there a way to do this without drawing obscure auxiliary lines? (the auxiliary lines might not be obscure I might just be calling them obscure)

For example I tried rotating triangle MBC 80 degrees around point C (so the BC line segment would now lie on segment AC) but I couldn't get any results. Any help would be appreciated!
6 replies
Sid-darth-vater
Apr 21, 2025
sunken rock
Yesterday at 2:18 PM
BABBAGE'S THEOREM EXTENSION
Mathgloggers   0
Yesterday at 12:18 PM
A few days ago I came across. this interesting result is someone interested in proving this.

$\boxed{\sum_{k=1}^{p-1} \frac{1}{k} \equiv \sum_{k=p+1}^{2p-1} \frac{1}{k} \equiv \sum_{k=2p+1}^{3p-1}\frac{1}{k} \equiv.....\sum_{k=p(p-1)+1}^{p^2-1}\frac{1}{k} \equiv 0(mod p^2)}$
0 replies
Mathgloggers
Yesterday at 12:18 PM
0 replies
N.S. condition of passing a fixed point for a function
Kunihiko_Chikaya   1
N Yesterday at 11:29 AM by Mathzeus1024
Let $ f(t)$ be a function defined in any real numbers $ t$ with $ f(0)\neq 0.$ Prove that on the $ x-y$ plane, the line $ l_t : tx+f(t) y=1$ passes through the fixed point which isn't on the $ y$ axis in regardless of the value of $ t$ if only if $ f(t)$ is a linear function in $ t$.
1 reply
Kunihiko_Chikaya
Sep 6, 2009
Mathzeus1024
Yesterday at 11:29 AM
Dot product
SomeonecoolLovesMaths   4
N Yesterday at 11:25 AM by quasar_lord
How to prove that dot product is distributive?
4 replies
SomeonecoolLovesMaths
Monday at 6:06 PM
quasar_lord
Yesterday at 11:25 AM
Inequalities
sqing   6
N Yesterday at 8:58 AM by sqing
Let $a,b,c\geq 0,ab+bc+ca>0$ and $a+b+c=3$. Prove that
$$\frac{8}{3}\leq\frac{(a+b)(b+c)(c+a)}{ab+bc+ca}\leq 3$$$$3\leq\frac{(a+b)(2b+c)(c+a)}{ab+bc+ca}\leq 6$$$$\frac{3}{2}\leq\frac{(a+b)(2b+c)(c+ a)}{ab+bc+2ca}\leq 6$$$$1\leq\frac{(a+b)(2b+c)(c+ a)}{ab+bc+ 3ca}\leq 6$$
6 replies
sqing
Dec 22, 2023
sqing
Yesterday at 8:58 AM
BrUMO 2025 Team Round Problem 3
lpieleanu   2
N Yesterday at 8:57 AM by nehareddyk009
Bruno and Brutus are running on a circular track with a $20$ foot radius. Bruno completes $5$ laps every hour, while Brutus completes $7$ laps every hour. If they start at the same point but run in opposite directions, how far along the track’s circumference (in feet) from the starting point are they when they meet for the sixth time? Note: Do not count the moment they start running as a meeting point.
2 replies
lpieleanu
Apr 27, 2025
nehareddyk009
Yesterday at 8:57 AM
Equation in naturals
Ahiles   50
N Apr 14, 2025 by ray66
Source: BMO 2009 Problem 1
Solve the equation
\[ 3^x - 5^y = z^2.\]
in positive integers.

Greece
50 replies
Ahiles
Apr 30, 2009
ray66
Apr 14, 2025
Equation in naturals
G H J
G H BBookmark kLocked kLocked NReply
Source: BMO 2009 Problem 1
The post below has been deleted. Click to close.
This post has been deleted. Click here to see post.
Reynan
634 posts
#40 • 2 Y
Y by Adventure10, Mango247
$$3^x-5^y=z^2$$first we use $\pmod 4$ and get $x=2m$ and $y$ is odd.
so we can write $(3^m-z)(3^m+z)=5^y(1)$
let $d=\gcd(3^m-z,3^m+z)=\gcd(3^m-z,2z)$ so $d|2z$ but from $(1)$ we get $d$ is in the form $5^k$. Note that $5\nmid z$ because if $5|z$ then $5|3^x$ which is impossible so we can conclude that $d=1$

so $3^m-z=1,3^m+z=5^y$ and $2\cdot 3^m=5^y+1$ by zygmondy theorem we cannot find $y>1$ because if for all $y>1$ RHS will get e new primitive prime so we conclude $y=1$ and $m=1\implies z=2$. Only $(2,1,2)$ works
Z K Y
The post below has been deleted. Click to close.
This post has been deleted. Click here to see post.
fighter
507 posts
#41 • 1 Y
Y by Adventure10
hey brother don't be rood please because I didn't read any post just solved it sorry
Z K Y
The post below has been deleted. Click to close.
This post has been deleted. Click here to see post.
Takeya.O
769 posts
#42 • 2 Y
Y by Adventure10, Mango247
@fighter

Hey,brother.I want to know Pythagorean triple solution. :D

Could you teach me?
Z K Y
The post below has been deleted. Click to close.
This post has been deleted. Click here to see post.
Kaladesh
303 posts
#43 • 3 Y
Y by akmathworld, Adventure10, Mango247
AMN300 wrote:
Very standard problem
Solution

not entirely sure your contradiction is a contradiction?
My solution
Z K Y
The post below has been deleted. Click to close.
This post has been deleted. Click here to see post.
yayups
1614 posts
#44 • 4 Y
Y by Illuzion, Pal702004, Adventure10, Mango247
The only solution is $\boxed{(x,y,z)=(2,1,2)}$. Taking the given equation modulo $4$, we learn that
\[(-1)^x-1\equiv 0,1\pmod{4},\]so the only possibility is that $x$ and $z$ are even. We actually don't need that $z$ is even, but we will et $x=2b$. Thus, we have
\[3^{2b}-z^2=5^y,\]so
\[(3^b-z)(3^b+z)=5^y.\]Let the first factor be $5^p$, the second $5^q$. We see that $5^p+5^q=2\cdot 3^b$, which means that we must have $p=0$. Thus, $3^b-z=1$ and $3^b+z=5^y$, so
\[2\cdot 3^b=5^y+1.\]For the left side to be divisible by $3$, we need $y=2c+1$ to be odd. Then, we see that $3\nmid 5^y-1$, so
\[\nu_3(5^y+1)=\nu_3(25^y-1)=1+\nu_3(y)\]by LTE. Thus, $b=1+\nu_3(y)$, so
\[6\cdot 3^{\nu_3(y)}=5^y+1.\]But note that the LHS is at most $6y$, so we have $5^y+1\le 6y$, or $y\le 1$. When $y=1$, we get that $b=1$, so $x=2$. This means that $z^2=9-5=4$, so $z=2$, so the solution must be the one that we claimed. It is easy to see that it works, so we're done. $\blacksquare$
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
#45 • 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.
Eyed
1065 posts
#46 • 3 Y
Y by Mango247, Mango247, Mango247
I claim that the only solution is $(x,y,z) = (2,1,2)$.
First, if we take $\mod 4$, since $z^{2} \equiv 0,1\mod 4$ and $5^{y}\equiv 1\mod4$, we must have $x$ as even, or else $3^{x} - 5^{y}\equiv 2\mod4$ which can't be equal to $z^{2}$. Therefore, we denote $x = 2x_{1}$.
Rearranging the terms, we get
$$3^{2x_{1}} - z^{2} = 5^{y} \Rightarrow (3^{x_{1}} - z)(3^{x_{1}} + z) = 5^{y}$$Since the only factors of $5^{y}$ is powers of $5$, we must have $3^{x_{1}} - z$ and $3^{x_{1}} + z$ as powers of $5$. I claim that $3^{x_{1}} - z = 1$. If $3^{x_{1}} - z$ is a power of $5$ greater than $1$, then $z\equiv 3^{x_{1}}\mod 5$. However, this implies that $3^{x_{1}} + z \equiv 2\cdot 3^{x_{1}}\mod 5$, so $3^{x_{1}} \equiv 0\mod5$, which is clearly impossible.
Thus, we have $$3^{x_{1}} - z = 1 \Rightarrow z = 3^{x_{1}} - 1 \Rightarrow 3^{x_{1}}+z = 2\cdot 3^{x_{1}} -1 = 5^{k}$$where $k$ is a positive integer. I claim that for all $x_{1} \geq 2$, there are no solutions. This is because then $2\cdot 3^{x_{1}} \equiv 0 \mod 9$, thus $5^{k} \equiv 8 \mod 9$, which implies $k$ is a multiple of $3$. Rearranging, we get $2\cdot 3^{x_{1}} = 5^{k} + 1$. However, then because $k$ is a multiple of $3$, we have $5^{k} + 1 \equiv 0 \mod 7$. Thus $2\cdot 3^{x_{1}}$ must be divisible by $7$, which is clearly impossible. Thus, the only solution is when $x_{1} = 1$, so our only solutions for $(x,y,z)$ is $(2,1,2)$.
Z K Y
The post below has been deleted. Click to close.
This post has been deleted. Click here to see post.
AleksaS
41 posts
#47
Y by
Not hard but beautiful problem!
Let us consider $mod 4$. We get that $x$ is even and let's denote it as $x = 2k$. Then $5^y = (3^k - z)(3^k + z)$. Then it follows that $3^k - z = 5^a$ $(1)$ and $3^k + z = 5^b$ $(2)$ where $a+b=y$ and $a<b$. If we sum $(1), (2)$ we get that $2*3^k = 5^a + 5^b$ but left side is not divisible by $5$ so we obtain that $a = 0$. Now our equation becomes $2*3^k = 5^b + 1$.If $k>1$ by taking $mod 9$ we get that $b$ is divisible by $3$ and let $b=3l$. Now we get that $5^l + 1 = 2*3^c$ and that $5^2l + 5^l + 1 = 3^d$, then it follows that $5^2l = 3^d - 2*3^c$ which gives us contradiction when watching $mod 3$ so $k=1$. Then plugging back we get that $y=1$, $x=2k=2$ and $z=2$. With this 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.
MrOreoJuice
594 posts
#48
Y by
Take $\pmod{4}$ we get that $x = \text{even}$

$$\implies x = 2m$$
Substituting back this in our original equation we get that
$$3^{2m} - 5^y = z^2$$$$\implies (3^m + z)(3^m - z) = 5^y$$$$\implies 3^m + z = 5^a \quad \text{and} \quad 3^m - z = 5^b, \quad a+b=y, \quad a > b$$$$\implies 3^m = 5^b \left(\frac{1 + 5^{a-b}}{2}\right) = 5^b \cdot q$$$$\implies b = 0 \quad \text{because power of 3 can't contain 5 in it}$$Putting $b=0$ we get that
$$3^m = \frac{5^y + 1}{2}$$Note that taking $\pmod{3}$ in out original equation we get that $y = \text{odd}$
$$\implies m = v_3\left(\frac{5^y + 1}{2}\right) = v_3(6) + v_3(y) - v_3(2)$$$$\implies m = 1 + v_3(y)$$$$\implies y = 3^{m-1} \cdot k \quad \text{(k is co-prime to 3)}$$$$\implies y \ge 3^{m-1}$$Plugging it back in we get
$$2\cdot 3^m = 5^{k \cdot 3^{m-1}} + 1 \ge 5^{3^{m-1}} + 1$$But notice that $RHS > LHS$ for $m-1 > 0$ (Rigorous proof : Induction)
$$\implies m-1 = 0 \implies m = 1$$$$\implies 3^1 - z = 1 \implies z = 2$$$$\implies y = 1$$Hence the solutions are $\boxed{(x,y,z) = (2,1,2)}$
Z K Y
The post below has been deleted. Click to close.
This post has been deleted. Click here to see post.
Real_Math
6 posts
#49
Y by
I have done this task with mod:
3"x=5"y+z"2
Euler's theorem:
3*2/3=2
z"2=1(mod3)
5"y must be:
5"y=2(mod3)
because z"2+5"y must divided by 3.
if y is 2k+1 then 5"y=2(mod3)
because of that y is single integer.
let k=0
then x=2 y=1 z=2
problem solved
and its the only solve we can have
This post has been edited 1 time. Last edited by Real_Math, Oct 23, 2022, 9:57 AM
Reason: I forgot to say something about this solution
Z K Y
The post below has been deleted. Click to close.
This post has been deleted. Click here to see post.
hectorleo123
342 posts
#50
Y by
Ahiles wrote:
Solve the equation
\[ 3^x - 5^y = z^2.\]in positive integers.

Greece
$3^x-5^y=z^2$
$(-1)^x-1\equiv z^2 \pmod{4}$
$\Rightarrow x\equiv 0 \pmod{2} \Rightarrow x=2a$
$\Rightarrow (3^a-z)(3^a+z)=5^y$
$\Rightarrow 3^a-z=5^m , 3^a+z=5^n$
$\Rightarrow 3^a=\frac{5^m+5^n}{2}$
$\Rightarrow m=0$
$\Rightarrow z=3^a-1, z=5^n-3^a$
$\Rightarrow 2\times 3^a=5^n+1$
If $n>1:$
$5^1+1=2\times 3$
By Zsigmondy´s Theorem:
$\exists$ prime $p\neq 2,3/ p|5^n+1 (\Rightarrow \Leftarrow)$
$\Rightarrow n\le 1$
If $n=1:$
$\Rightarrow a=1 \Rightarrow (x,y,z)=(2,1,2)$ is solution
If $n=0:$
$\Rightarrow a=0 \Rightarrow x=0 (\Rightarrow \Leftarrow)$
$\Rightarrow (x,y,z)=(2,1,2)$ is a unique solution $_\blacksquare$
This post has been edited 1 time. Last edited by hectorleo123, May 19, 2023, 10:46 PM
Z K Y
The post below has been deleted. Click to close.
This post has been deleted. Click here to see post.
F10tothepowerof34
195 posts
#51
Y by
Claim:The only solution is $\boxed{(x,y,z)=(2,1,2)}$
Proof:
Checking$\pmod 3$ gives us $z^2=3^x-5^y\equiv 1,2\pmod 3$ furthermore from the fact that $z^2\equiv 0,1\pmod 3$ we get that $5^y\equiv 1\pmod 3\Longrightarrow 2\nmid y$, $y$ is odd.
Furthermore, by taking $\pmod 4$, we get that $z^2=3^x-5^y\equiv (-1)^x-1\pmod 4$ furthermore $z^2\equiv 0,1\pmod 4$ implies that $x$ is even. ($x=2k$)
Now taking $\pmod 8$, we get that $z^2=3^{2k}-5^y\equiv 4\pmod 8$ which implies that $z^2\equiv 4\pmod 8\Longrightarrow z$ is even.

After these observations, the equation can be rewritten as: $\left(3^k\right)^2-z^2=5^y\Longleftrightarrow (3^k-z)(3^k+z)=5^{a+b}\text{ where } a+b=y\Longrightarrow 3^k-z=5^a\text{ and } 3^k+z=5^b$, now notice that if we sum the equations we get $2\cdot 3^k=5^a+5^b\Longrightarrow 3^k=\frac{5^a+5^b}{2}$ however notice that for $RHS\in \mathbb{Z^+}$, $a$ must be equal to $0$. Thus $a=0\text{ and } b=y$
Thus the equation transforms into $2\cdot3^k=5^y-(-1)^y$ so now we can use $LTE$ to finish up our problem.
$\nu_3(2\cdot3^k)=\nu_3(5^y-(-1))\Longrightarrow k=\nu_3(y)+1\Longrightarrow y\ge3^{k-1}$, furthermore by plugging in our result into our original equation we get $6\cdot 3^k-5^{3^{k-1}}-1\ge0$ now let $f(k)=6\cdot3^k-5^{3^{k-1}}-1$
Claim: The previously stated inequality in integers if and only if, $k=1$
Proof:
$f'(k)=6\cdot3^k\ln {3}-3^{k-1}\cdot 5^{3^{k-1}}\ln {3}\ln {5}<0,  \forall k\ge2$, thus $k=1$ $\square$

Thus $k=1\Longrightarrow x=2$, furthermore form the equation $3^k=z+1$ we get that $z=2$, thus by plugging into our original equation we get $9-4=5^y\Longrightarrow y=1$
So the only solutions are the ones previously stated in the claim$\blacksquare$.
Z K Y
The post below has been deleted. Click to close.
This post has been deleted. Click here to see post.
Captain_Baran
36 posts
#52
Y by
Taking $\pmod4$ we see $x$ is a multiple of $2$. Let $x=2x_1.$ From $\pmod3$ we also see that $y\equiv1\pmod 2.$ Say $y=2y_1+1.$ We have $$(3^{x_1})^{2}-z^{2}=(3^{x_1}-z)(3^{x_1}+z)=5^{2y_1+1}.$$If $3^{x_1}\neq z+1$ we have $2(3^{x_1})\equiv0\pmod 5$ a contradiction. Thus $3^{x_1}=z+1$ so, $$2(3^{x_1})=5^{2y_1+1}+1.$$If $x_1\geq2$ we have $5^{2y_1+1}\equiv -1\pmod 9$ and from Euler's Theorem $y_1\equiv 1 \pmod 6.$
Say $y_1=6y_2+1.$ We have $2(3^{x_1})=5^{12y_2+3}+1.$ From sum of cubes we have $$3^{x_1-1}=5^{8y_2+2}-5^{4y_2+1}+1.$$If $x_1\geq 3$ we have $5^{8y_2+2}-5^{4y_2+1}+1\equiv 0\pmod 9.$ Since $4y_2+1\equiv\{1,3,5\}\pmod 6$ we have $5^{8y_2+2}-5^{4y_2+1}+1\equiv3\pmod 9$ a contradiction. Thus $$x_1\leq2.$$For $x_1=2$ we have $81-5^{y}=64$ no solution. For $x_1=1$ we have $9-5^{y}=4$ and $\boxed{(x,y,z)=(2,1,2)}$ as the only solution.
This post has been edited 2 times. Last edited by Captain_Baran, Oct 14, 2023, 8:32 AM
Z K Y
The post below has been deleted. Click to close.
This post has been deleted. Click here to see post.
Nari_Tom
117 posts
#53
Y by
After finding the relation like $5^p+1=2\cdot 3^b$, we should notice that power of 3's of LHS is increases much slower than the LHS. Which gives contradiction if we use LTE.
Z K Y
The post below has been deleted. Click to close.
This post has been deleted. Click here to see post.
ray66
34 posts
#54
Y by
Taking mod 4 gives that $x$ is even, and taking mod 3 gives that y is odd. Let $x=2x'$. Then $5^y=(3^x-z)(3^x+z)$, and therefore $3^x=\frac{5^a+5^b}{2}$. $b \neq a$, so WLOG $a>b$. Then discover that $b=0$, otherwise the LHS has a factor of 5. Finish by Zsigmondy to get the only solution is $(2,1,2)$
Z K Y
N Quick Reply
G
H
=
a