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 May Highlights and 2025 AoPS Online Class Information
jlacosta   0
May 1, 2025
May is an exciting month! National MATHCOUNTS is the second week of May in Washington D.C. and our Founder, Richard Rusczyk will be presenting a seminar, Preparing Strong Math Students for College and Careers, on May 11th.

Are you interested in working towards MATHCOUNTS and don’t know where to start? We have you covered! If you have taken Prealgebra, then you are ready for MATHCOUNTS/AMC 8 Basics. Already aiming for State or National MATHCOUNTS and harder AMC 8 problems? Then our MATHCOUNTS/AMC 8 Advanced course is for you.

Summer camps are starting next month at the Virtual Campus in math and language arts that are 2 - to 4 - weeks in duration. Spaces are still available - don’t miss your chance to have an enriching summer experience. There are middle and high school competition math camps as well as Math Beasts camps that review key topics coupled with fun explorations covering areas such as graph theory (Math Beasts Camp 6), cryptography (Math Beasts Camp 7-8), and topology (Math Beasts Camp 8-9)!

Be sure to mark your calendars for the following upcoming events:
[list][*]May 9th, 4:30pm PT/7:30pm ET, Casework 2: Overwhelming Evidence — A Text Adventure, a game where participants will work together to navigate the map, solve puzzles, and win! All are welcome.
[*]May 19th, 4:30pm PT/7:30pm ET, What's Next After Beast Academy?, designed for students finishing Beast Academy and ready for Prealgebra 1.
[*]May 20th, 4:00pm PT/7:00pm ET, Mathcamp 2025 Qualifying Quiz Part 1 Math Jam, Problems 1 to 4, join the Canada/USA Mathcamp staff for this exciting Math Jam, where they discuss solutions to Problems 1 to 4 of the 2025 Mathcamp Qualifying Quiz!
[*]May 21st, 4:00pm PT/7:00pm ET, Mathcamp 2025 Qualifying Quiz Part 2 Math Jam, Problems 5 and 6, Canada/USA Mathcamp staff will discuss solutions to Problems 5 and 6 of the 2025 Mathcamp Qualifying Quiz![/list]
Our full course list for upcoming classes is below:
All classes run 7:30pm-8:45pm ET/4:30pm - 5:45pm PT unless otherwise noted.

Introductory: Grades 5-10

Prealgebra 1 Self-Paced

Prealgebra 1
Tuesday, May 13 - Aug 26
Thursday, May 29 - Sep 11
Sunday, Jun 15 - Oct 12
Monday, Jun 30 - Oct 20
Wednesday, Jul 16 - Oct 29

Prealgebra 2 Self-Paced

Prealgebra 2
Wednesday, May 7 - Aug 20
Monday, Jun 2 - Sep 22
Sunday, Jun 29 - Oct 26
Friday, Jul 25 - Nov 21

Introduction to Algebra A Self-Paced

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

Introduction to Counting & Probability Self-Paced

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

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

Introduction to Algebra B Self-Paced

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

Introduction to Geometry
Sunday, May 11 - Nov 9
Tuesday, May 20 - Oct 28
Monday, Jun 16 - Dec 8
Friday, Jun 20 - Jan 9
Sunday, Jun 29 - Jan 11
Monday, Jul 14 - Jan 19

Paradoxes and Infinity
Mon, Tue, Wed, & Thurs, Jul 14 - Jul 16 (meets every day of the week!)

Intermediate: Grades 8-12

Intermediate Algebra
Sunday, Jun 1 - Nov 23
Tuesday, Jun 10 - Nov 18
Wednesday, Jun 25 - Dec 10
Sunday, Jul 13 - Jan 18
Thursday, Jul 24 - Jan 22

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

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

Precalculus
Friday, May 16 - Oct 24
Sunday, Jun 1 - Nov 9
Monday, Jun 30 - Dec 8

Advanced: Grades 9-12

Olympiad Geometry
Tuesday, Jun 10 - Aug 26

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

Group Theory
Thursday, Jun 12 - Sep 11

Contest Preparation: Grades 6-12

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

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

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

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

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

AMC 12 Final Fives
Sunday, May 18 - Jun 15

AIME Problem Series A
Thursday, May 22 - Jul 31

AIME Problem Series B
Sunday, Jun 22 - Sep 21

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

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


MathWOOT Level 1
MathWOOT Level 2
ChemWOOT
CodeWOOT
PhysicsWOOT

Programming

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

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

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

Physics

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

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

Relativity
Mon, Tue, Wed & Thurs, Jun 23 - Jun 26 (meets every day of the week!)
0 replies
jlacosta
May 1, 2025
0 replies
Inspired by qrxz17
sqing   2
N 22 minutes ago by MathsII-enjoy
Source: Own
Let $a, b,c>0 ,(a^2+b^2+c^2)^2 - 2(a^4+b^4+c^4) = 27 $. Prove that $$a+b+c\geq 3\sqrt {3}$$
2 replies
sqing
an hour ago
MathsII-enjoy
22 minutes ago
D,E,F are collinear.
TUAN2k8   1
N 23 minutes ago by Beelzebub
Source: Own
Help me with this:
1 reply
TUAN2k8
Yesterday at 1:07 AM
Beelzebub
23 minutes ago
Inspired by qrxz17
sqing   2
N 36 minutes ago by MathsII-enjoy
Source: Own
Let $ a,b,c $ be reals such that $ (a^2+b^2)^2 + (b^2+c^2)^2 +(c^2+a^2)^2 = 28 $ and $  (a^2+b^2+c^2)^2 =16. $ Find the value of $ a^2(a^2-1) + b^2(b^2-1)+c^2(c^2-1).$
2 replies
1 viewing
sqing
2 hours ago
MathsII-enjoy
36 minutes ago
Prove DK and BC are perpendicular.
yunxiu   63
N 38 minutes ago by sknsdkvnkdvf
Source: 2012 European Girls’ Mathematical Olympiad P1
Let $ABC$ be a triangle with circumcentre $O$. The points $D,E,F$ lie in the interiors of the sides $BC,CA,AB$ respectively, such that $DE$ is perpendicular to $CO$ and $DF$ is perpendicular to $BO$. (By interior we mean, for example, that the point $D$ lies on the line $BC$ and $D$ is between $B$ and $C$ on that line.)
Let $K$ be the circumcentre of triangle $AFE$. Prove that the lines $DK$ and $BC$ are perpendicular.

Netherlands (Merlijn Staps)
63 replies
yunxiu
Apr 13, 2012
sknsdkvnkdvf
38 minutes ago
No more topics!
Pair of multiples
Jalil_Huseynov   64
N May 11, 2025 by Markas
Source: APMO 2022 P1
Find all pairs $(a,b)$ of positive integers such that $a^3$ is multiple of $b^2$ and $b-1$ is multiple of $a-1$.
64 replies
Jalil_Huseynov
May 17, 2022
Markas
May 11, 2025
Pair of multiples
G H J
Source: APMO 2022 P1
The post below has been deleted. Click to close.
This post has been deleted. Click here to see post.
Jalil_Huseynov
439 posts
#1 • 12 Y
Y by megarnie, Iora, Mahmood.sy, ImSh95, PHSH, S.Ragnork1729, farhad.fritl, Mango247, Mango247, Mango247, rudransh61, ItsBesi
Find all pairs $(a,b)$ of positive integers such that $a^3$ is multiple of $b^2$ and $b-1$ is multiple of $a-1$.
Z K Y
The post below has been deleted. Click to close.
This post has been deleted. Click here to see post.
samrocksnature
8791 posts
#2 • 1 Y
Y by ImSh95
HELP??!?!
This post has been edited 8 times. Last edited by samrocksnature, May 17, 2022, 10:42 PM
Z K Y
The post below has been deleted. Click to close.
This post has been deleted. Click here to see post.
electrovector
479 posts
#3 • 7 Y
Y by ImSh95, Greenhand002, Vlad2004, sabkx, jannatiar, ehuseyinyigit, M.Daniyal
Why does $p^{2e}|a^3$ give us $p^{3e}|a^3$?

Anyways my solution:

It is easy to eliminate $b=1$. Now write $k(a-1)=b-1$ for a positive integer $k$. Putting this back into the first condition gives
$$(k(a-1)+1)^2|a^3 \Rightarrow (ka-k+1)^2|k^2 \cdot a^3$$Since $ka-ka+1$ and $k$ are coprime we can simplify by $k$ and get $(ka-k+1)^2|a^3$. For $k=1$, we have $a=b$ which is clearly satisfying the conditions. Assume that $k \neq 1$.

Let the gcd of $k-1$ and $a$ be $d$ and $k=dx+1$, $a=dy$. $x$ and $y$ are coprime. Putting back into the last equation gives $((dx+1)dy-dx)^2|d^3y^3 \Rightarrow ((dx+1)y-x)^2|dy^3$. It is easy to see $(dx+1)y-x$ and $y$ are coprime. Thus simplifying $((dx+1)y-x)^2|d$. A simple bounding gives us that there is no other solution from here.
This post has been edited 3 times. Last edited by electrovector, May 17, 2022, 7:50 PM
Z K Y
The post below has been deleted. Click to close.
This post has been deleted. Click here to see post.
RagvaloD
4921 posts
#4 • 4 Y
Y by samrocksnature, ImSh95, Doppel, Mango247
@above
From $p^{2e}|a^3$ not follows that $p^{3e}|a^3$
For example $2^{2*3}|4^3$ but $2^{3*3} \not |4^3$
Z K Y
The post below has been deleted. Click to close.
This post has been deleted. Click here to see post.
samrocksnature
8791 posts
#5 • 5 Y
Y by ImSh95, Mango247, Mango247, Mango247, channing421
electrovector wrote:
Why does $p^{2e}|a^3$ gives us $p^{3e}|a^3$?

Uh I thought it was because all exponents of primes in $a^3$ are divisible by $3.$
Z K Y
The post below has been deleted. Click to close.
This post has been deleted. Click here to see post.
motannoir
171 posts
#6 • 2 Y
Y by ImSh95, Greenhand002
We can easily see that (a,1) and (a,a) are solutions . We will show that there are no other solutions.
Let d be the gcd of (a,b) so a=dx,b=dy,but then from the first condition we have that y^2 divides dx^3, but y^2 and x^3 are coprime so y^2 divides d. So d=y^2*s where s>=1 so a=y^2*s*x and b=y^3*s. From the second condition we have that y^2*s*x-1 divides y^3*s-1 .
y^2*s*x-1 divides y^3*s*x-y and y^2*s*x-1 divides y^3*s*x -x so it divides their difference so y^2*s*x-1 divides x-y.If x=y then a=b,contradiction.
So y^2*s*x-1<=|x-y| so |x-y|>=y^2*x-1. If y>x then y>y-x>=y^2*x-1 so 1>y*(xy-1) so xy=1 and x=y=1,false(y>x).
If x>y we have that x-1>=x-y>=y^2*x-1 so 1>=y^2 so y=1. So from y^2*s*x-1<=x-1 we deduce that s<=1 so s=1 but then b=y^3*s=1,false.
So the conclusion follows.
Z K Y
The post below has been deleted. Click to close.
This post has been deleted. Click here to see post.
VicKmath7
1391 posts
#7 • 9 Y
Y by Iora, ImSh95, SunnySeattle, Numbertheorydog, Greenhand002, SADAT, rstenetbg, GeorgeRP, AlexCenteno2007
Let $a^3=kb^2$. Assume $b$ is not $1$ ($(a, 1)$ is solution). Then $a^3-1=kb^2-1$ so $a-1 | kb^2-1 \equiv k-1 (mod a-1)$. So either $k=1$ (then $a=x^2, b=x^3$ so $x^2-1 | x^3-1$ so taking modulo $x+1$, we see $x=1$), or $a \leq k$ so $a^3=kb^2 \geq ab^2$ so $a \geq b$ but $a-1 \leq b-1$ from the second divisibility so $a=b$.
This post has been edited 5 times. Last edited by VicKmath7, May 17, 2022, 8:24 PM
Z K Y
The post below has been deleted. Click to close.
This post has been deleted. Click here to see post.
grupyorum
1432 posts
#8 • 3 Y
Y by ImSh95, Mahmood.sy, Greenhand002
Note that $(a,1)$ works for any $a$, assume $b>1$ and let $(a,b)=(da_1,db_1)$, where $a_1,b_1$ are coprime. Clearly $b_1\ge a_1$. We have $b_1^2\mid da_1^3$ and thus $d=\ell b_1^2$ for some $\ell$, yielding $\ell a_1b_1^2 -1 \mid \ell b_1^3 -1$. Consequently, $\ell a_1b_1^2-1\mid \ell b_1^2 (b_1-a_1)$ and therefore $\ell a_1b_1^2 -1 \mid b_1-a_1$. If $b_1\ne a_1$, then $\ell a_1b_1^2 +a_1\le b_1+1$ which holds only when $\ell=a_1=b_1=1$, a case we already ruled. Hence, $b_1=a_1$ and thus $(b,b)$ is the other solution family; concluding the problem.
Z K Y
The post below has been deleted. Click to close.
This post has been deleted. Click here to see post.
MathLuis
1556 posts
#9 • 3 Y
Y by ImSh95, Greenhand002, ACBY
Jalil_Huseynov wrote:
Find all pairs $(a,b)$ of positive integers such that $a^3$ is multiple of $b^2$ and $b-1$ is multiple of $a-1$.

Another bold action sol, during the test, i was just spamming stuff as i had like 1 hr remaining and i had no idea what to do, so i did prime factorization for bounding stuff, which supricingly ended up by working very well.
Case 1: $b=1$
Then here $a$ can be literaly any integer so the pair $(a,b)=(a,1)$ works.
Case 2: $b>1$
We divide in 2 subcases.
Case 2.1: $a \ne b$ (i.e. we clearly have $b>a$)
Let $b=\prod_{i=1}^{n} p_i^{a_i}$ and $N=\prod_{i=1}^{n} p_i^{\left\lceil \frac{2a_i}{3} \right\rceil}$, now using $b^2 \mid a^3$ we get that $v_{p_i}(a) \ge \left\lceil \frac{2a_i}{3} \right\rceil$ which means that for any $1 \le i \le n$ we get that $p_i^{\left\lceil \frac{2a_i}{3} \right\rceil} \mid a$ and using those along with the fact that all $p_i$'s are different we get that $N \mid a$, now from here we get that $N^3 \ge b^2$ and $a \ge N$, now since $\gcd(a-1,N)=\gcd(-1,N)=1$ (using euclidean alg) we use the second condition in this way, $a-1 \mid b-1$ means $a-1 \mid b-a$ which means that $a-1 \mid \frac{b}{N}-\frac{a}{N}$ so $a \left(\frac{N+1}{N} \right) \le \frac{b}{N}+1$ which means that $aN+a \le b+N \le b+a$ which gives $aN \le b$ but now this means that $N^4 \le (aN)^2 \le b^2 \le N^3$ so $N=1$ which means that $b=1$ which is a contradiction!.
Case 2.2: $a=b$
All pairs with $a=b$ work.
Hence all the pairs that work are $\boxed{(a,b)=(a,1), (a,a)}$ thus we are done :D
This post has been edited 1 time. Last edited by MathLuis, Feb 12, 2023, 12:21 AM
Z K Y
The post below has been deleted. Click to close.
This post has been deleted. Click here to see post.
square_root_of_3
78 posts
#10 • 5 Y
Y by ImSh95, Greenhand002, mannshah1211, Jack_w, RecursiveCo
A quick solution. If $b=1$ then $a$ is anything.

Otherwise, let $a=x+1$, then $b=kx+1$ for some $k>0$ and $x>0$. The condition is that $(kx+1)^2$ divides $(x+1)^3$. Consider the quotient of those numbers modulo $x$. Note that both $x+1$ and $kx+1$ are coprime to $x$, and both are $1$ modulo $x$, so their quotient is $1$ modulo $x$ as well.

However, the quotient is obviously less than $x+1$ for all $k>1$. Thus, either $k=1$ which gives us $a=b$ which is another set of solutions, or the quotient equals $1$. We thus need to solve $(kx+1)^2=(x+1)^3$. Now obviously $x+1$ divides $kx+1$, which implies that $x+1$ divides $k-1$, which gives $k>x+1$. But then $(kx+1)^2\geq(x+1)^4$, impossible. Thus, there are no other solutions.
This post has been edited 4 times. Last edited by square_root_of_3, May 17, 2022, 11:07 PM
Z K Y
The post below has been deleted. Click to close.
This post has been deleted. Click here to see post.
CANBANKAN
1301 posts
#11 • 2 Y
Y by ImSh95, Greenhand002
The answer is $a=b$ or $b=1$.

Let $u=a-1$ and $tu=b-1$. Then we have $(tu+1)^2\mid (u+1)^3$. From now on assume $t\ge 2$.

We have $(tu+1)^2\mid (t-1)^3$ as well by noting $(tu+1)^2 \mid \gcd(tu+1,u+1)^3$

Therefore, $(tu+1)^4\mid ((u+1)(t-1))^3$

We can see $tu+1\le 6$ or $u=0$ and bash cases.
Z K Y
The post below has been deleted. Click to close.
This post has been deleted. Click here to see post.
L567
1184 posts
#12 • 2 Y
Y by ImSh95, Greenhand002
Let $b-1 = z(a-1) \implies az - b = z-1$. First deal with the obvious cases, if $b = 1$, then $a$ can be any positive integer, if $z = 1$, then $a = b$ so assume all $a,b,z > 1$.

Let $b = \prod_{i=1}^m p_i^{\alpha_i}$ and let $$N = \prod_{i=1}^m p_i^{\left \lceil \frac{2 \alpha_i}{3} \right \rceil}$$since $a^2 | b^3$, we have $N | a$ and so $N | az - b = z-1$. Since $z > 1$, we have $z \ge N+1$.

So $b-1 = z(a-1) \ge (N+1)(N-1) = N^2 - 1$ so $b \ge N^2$. But since $2 \left \lceil \frac{2 \alpha_i}{3} \right \rceil > \alpha_i$ for $\alpha_i \ge 1$, we must have $b = 1$, but we assumed $b > 1$.

So the only solutions are those claimed at the start - $(n,1)$ and $(n,n)$. $\blacksquare$
This post has been edited 1 time. Last edited by L567, May 21, 2022, 2:49 AM
Z K Y
The post below has been deleted. Click to close.
This post has been deleted. Click here to see post.
Quidditch
818 posts
#13 • 4 Y
Y by ImSh95, Greenhand002, Mai-san, BEN_PHAN
Obviously, if $a=1$ then $(a,b)=(1,1)$, and if $b=1$ then $(a,b)=(n,1)$.

Suppose that $a,b>1$. Now, we may rewrite the problem statement to $$b^2\mid a^3\quad\text{and}\quad a-1\mid b-1.$$Let $a^3=kb^2$ where $k$ is positive integer. We have $$a-1\mid b-1\implies a-1\mid (b-1)(bk+k)=b^2k-k=a^3-k\implies a-1\mid k-1.$$Case 1: $k=1$
We have $a^3=b^2$. Thus, $a$ is a perfect square. Let $a=x^2$, so $b=x^3$ where $x>1$.
Plug this into $a-1\mid b-1$. We have $$x^2-1\mid x^3-1\implies x+1\mid (x^2+x)+1\implies x+1\mid 1\implies x=0$$which contradict $x>1$.

Case 2: $k>1$
Since $a-1\mid k-1$, there exists positive integer $m$ such that $$k-1=m(a-1)\implies k=am-m+1.$$Since $a-1\mid b-1$, we have $b\geq a$, and so $$a^3=b^2k=b^2(am-m+1)\geq a^2(am-m+1)\implies a\geq am-m+1\implies 0\geq (a-1)(m-1).$$Since $a>1$, we have $0\geq m-1$ so $m=1$ which give $a=b$. Clearly, $(a,b)=(n,n)$ work.
$$\boxed{(a,b)=(n,1),(n,n)\text{ for every positive integers }n.}$$
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
#14 • 2 Y
Y by ImSh95, Greenhand002
If $b=1$ then any pair $(a,b)=(a,1)$ works henceforth assume $b>1$. Let $g=\gcd(a,b)$, write $a=gx$ and $b=gy$ with $\gcd(x,y)=1$.
  • $g^2y^2 \mid g^3x^3 \implies y^2 \mid g$ since $\gcd(y^2,x^3)=1 \implies y \le \sqrt{g}$.
  • $gx-1 \mid gy -1\implies gx-1 \mid g(y-x) \implies gx-1\mid y-x$ since $\gcd(gx-1,g)=1$. From here, $x(g+1) - 1 \le y$ or $x=y$.
If $x\neq y$ then
$$1(g+1) -1 \le x(g+1) - 1 \le y \le \sqrt{g} \implies g = 1$$but because $b>1$, two coprime numbers cannot divide each other which forces a contradiction. Thus $x=y$ which means $a=b$ and it is easy to verify that the pair $(a,a)$ works.
This post has been edited 2 times. Last edited by MrOreoJuice, May 23, 2022, 4:06 PM
Z K Y
The post below has been deleted. Click to close.
This post has been deleted. Click here to see post.
sanyalarnab
947 posts
#15 • 4 Y
Y by ImSh95, Timmy456, GoodMorning, Greenhand002
The solutions are $(n,1),(n,n)$ for all positive integers $n>1$(in all solutions above i haven't seen this criteria to be written)
Assume $b \neq 1$.
$a^3=mb^2$ for some $m \geq 1$.
Clearly $$a-1 | a^3-1 \implies a-1 | mb^2-1$$Also we have $$a-1 | b-1 \implies a-1 | b^2-1$$So $$a-1 | (mb^2-1)-m(b^2-1)  \implies a-1 | m-1 \implies a \le m$$So $$a^3=mb^2 \ge ab^2 \implies a \ge b$$$$a-1 | b-1 \implies a \le b$$Thus $a=b=n$ for all positive integers $n>1$
For b=1 any natural number $a > 1$ works.
Z K Y
G
H
=
a