Join our free webinar April 22 to learn about competitive programming!

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
GCD of a sequence
oVlad   2
N 24 minutes ago by Rohit-2006
Source: Romania EGMO TST 2017 Day 1 P2
Determine all pairs $(a,b)$ of positive integers with the following property: all of the terms of the sequence $(a^n+b^n+1)_{n\geqslant 1}$ have a greatest common divisor $d>1.$
2 replies
oVlad
4 hours ago
Rohit-2006
24 minutes ago
Nationalist Combo
blacksheep2003   15
N 39 minutes ago by cj13609517288
Source: USEMO 2019 Problem 5
Let $\mathcal{P}$ be a regular polygon, and let $\mathcal{V}$ be its set of vertices. Each point in $\mathcal{V}$ is colored red, white, or blue. A subset of $\mathcal{V}$ is patriotic if it contains an equal number of points of each color, and a side of $\mathcal{P}$ is dazzling if its endpoints are of different colors.

Suppose that $\mathcal{V}$ is patriotic and the number of dazzling edges of $\mathcal{P}$ is even. Prove that there exists a line, not passing through any point in $\mathcal{V}$, dividing $\mathcal{V}$ into two nonempty patriotic subsets.

Ankan Bhattacharya
15 replies
blacksheep2003
May 24, 2020
cj13609517288
39 minutes ago
UIL Number Sense problem
Potato512   2
N 44 minutes ago by buddy2007
I keep seeing a certain type of problem in UIL Number Sense, though I can't figure out how to do it (I aim to do it in my head in about 7-8 seconds).

The problem is x^((p+1)/2) mod p, where p is prime.
For example 11^15 mod 29
I know it technically doesn't work this way, but using fermats little theorem (on √x^(p+1)) always gives either the number itself, x, or the modular inverse, p-x.
By using the theorem i mean √x^28 mod 29 = 1, and then youre left with √x^2 mod 29 or x, but then its + or -.
I was wondering if there is a way to figure out whether its + or -, a slow or fast way if its slow maybe its possible to speed it up.
2 replies
Potato512
Today at 12:17 AM
buddy2007
44 minutes ago
Concurrency with 10 lines
oVlad   1
N an hour ago by kokcio
Source: Romania EGMO TST 2017 Day 1 P1
Consider five points on a circle. For every three of them, we draw the perpendicular from the centroid of the triangle they determine to the line through the remaining two points. Prove that the ten lines thus formed are concurrent.
1 reply
1 viewing
oVlad
5 hours ago
kokcio
an hour ago
No more topics!
Integral Solutions
Brut3Forc3   28
N Mar 31, 2025 by MuradSafarli
Source: 1976 USAMO Problem 3
Determine all integral solutions of \[ a^2+b^2+c^2=a^2b^2.\]
28 replies
Brut3Forc3
Apr 4, 2010
MuradSafarli
Mar 31, 2025
Integral Solutions
G H J
G H BBookmark kLocked kLocked NReply
Source: 1976 USAMO Problem 3
The post below has been deleted. Click to close.
This post has been deleted. Click here to see post.
Brut3Forc3
1948 posts
#1 • 4 Y
Y by ahmedosama, Adventure10, Mango247, and 1 other user
Determine all integral solutions of \[ a^2+b^2+c^2=a^2b^2.\]
Z K Y
The post below has been deleted. Click to close.
This post has been deleted. Click here to see post.
basketball9
1012 posts
#2 • 2 Y
Y by Adventure10, Mango247
Click to reveal hidden text
This post has been edited 1 time. Last edited by basketball9, Apr 4, 2010, 2:14 PM
Z K Y
The post below has been deleted. Click to close.
This post has been deleted. Click here to see post.
xpmath
2735 posts
#3 • 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.
harekrishna
173 posts
#4 • 2 Y
Y by Adventure10, Mango247
I am not sure about xpmath's solution. Shouldn't $ {a_1} ^2 + {b_1}^2 + { c_1} ^ 2 = 4 (a_1 b_1)^2 $
Z K Y
The post below has been deleted. Click to close.
This post has been deleted. Click here to see post.
Arrange your tan
970 posts
#5 • 4 Y
Y by CircleGeometryGang, sabkx, Adventure10, Mango247
basketball9 wrote:
We divide both sides by $ a^2b^2$....

[1] So we get $ 1/a^2 + 1/b^2 + c^2 = 1$

[2] so $ 1/a^2 + 1/b^2 = 1 - c^2/a^2b^2$

[1] a) The third term should be $\frac{c^2}{a^2b^2}$.

b) While this equation would have been mathematically correct (see [1] a above), it is misleading,
because the direct next step after dividing by $a^2b^2$, but befoe reordering terms, would be
$\frac {1}{b^2} + \frac {1}{a^2} + \frac {c^2}{a^2b^2} = 1$.


[2] If you type it out horizontally, it has to have grouping symbols around the denominator such as

$\frac{1}{a^2} + \frac{1}{b^2} = 1 - c^2/(a^2b^2)$

Otherwise, type out the fractions in a vertical style and avoid the needed use of grouping symbols:

$\frac{1}{a^2} + \frac {1}{b^2} = 1 - \frac{c^2}{a^2b^2}$


(This post is being neutral towards the correctness of your overall method.)

- - -- - - - - -- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -- - - - - - - -
harekrishna wrote:
I don't know about xpmath's solution. Shouldn't ${a_1}^2 + {b_1}^2 + {c_1}^2 = 4(a_1b_1)^2?$ . . . EDITED

Yes, it should be the equivalent to that.
This post has been edited 1 time. Last edited by Arrange your tan, May 18, 2010, 3:28 AM
Z K Y
The post below has been deleted. Click to close.
This post has been deleted. Click here to see post.
andersonw
652 posts
#6 • 2 Y
Y by Adventure10, Mango247
@basketball: I don't see how that shows that c needs to be 0. As long as c<ab, the right hand side is still positive.

xpmath's solution still works, because the right side will always be 0 mod 4, so all of the terms on the left side need to be 0 mod 2 as well (because a perfect square is only 0 or 1 mod 4, of course), and you can still perform the infinite descent. The coefficient of the right hand side does grow larger, but it is still always 0 mod 4.
Z K Y
The post below has been deleted. Click to close.
This post has been deleted. Click here to see post.
varunrocks
1134 posts
#7 • 1 Y
Y by Adventure10
I also do not understand Basketball9's logic.
@harekrishna: xpmath got that 2a_1=a, 2b_1=b, 2c_1=c
so we get:
4(a_1)^2+4(b_1)^2+4(c_1)^2=4(a_1)(b_1)
Dividing through by 4, we get:
(a_1)^2+(b_1)^2+(c_1)^2=(a_1)(b_1)
Which is correcy.
Z K Y
The post below has been deleted. Click to close.
This post has been deleted. Click here to see post.
AIME15
7892 posts
#8 • 2 Y
Y by Adventure10, Mango247
Actually, the equation is

\begin{align*}
a^2+b^2+c^2 & = a^2b^2
\\ 4a_1^2+4b_1^2+4c_1^2 &= 16a_1^2b_1^2
\\ a_1^2+b_1^2+c_1^2&=4a_1^2b_1^2.
\end{align*}
Z K Y
The post below has been deleted. Click to close.
This post has been deleted. Click here to see post.
xpmath
2735 posts
#9 • 2 Y
Y by Adventure10, Mango247
Hmm must've typoed, sorry. The idea is still the same though, like Anderson said.
Z K Y
The post below has been deleted. Click to close.
This post has been deleted. Click here to see post.
varunrocks
1134 posts
#10 • 2 Y
Y by Adventure10, Mango247
Sorry, I also have typoed!
Z K Y
The post below has been deleted. Click to close.
This post has been deleted. Click here to see post.
Zhero
2043 posts
#11 • 7 Y
Y by maXplanK, CircleGeometryGang, Adventure10, Mango247, and 3 other users
Rearrange this as $c^2 + 1^2 = (a^2 - 1)(b^2 - 1)$. By looking at this mod 4, it can easily be seen that $c$ must be even. It is well-known that if $p | c^2 + 1^2$, then $p = 2$, $p \equiv 1 \pmod{4}$, or $p | c, 1$. Since $c^2 + 1^2$ is odd and no prime divides 1, we must have that all prime factors of $c^2 + 1^2$ are congruent to 1 modulo 4. Hence, the product of the prime factors of $a^2 - 1$ must be conrguent to 1 modulo 4. But $a^2 - 1 \equiv 0, 3 \pmod{4}$, so we have a contradiction. Hence, there are no nontrivial solutions.

A rigorized version of xpmath's solution
Z K Y
The post below has been deleted. Click to close.
This post has been deleted. Click here to see post.
SodaKing1
738 posts
#12 • 2 Y
Y by Adventure10, Mango247
Sorry for bringing this back up but could someone explain what infinite descent means? I understand how the first part of the solution but not the descent part. Also if someone could pm me maybe a link to somewhere that explains the concept well.
Z K Y
The post below has been deleted. Click to close.
This post has been deleted. Click here to see post.
NT2048
374 posts
#13 • 2 Y
Y by Adventure10, Mango247
It's not really a fancy concept or anything. We start with this equation:
\[ a^2+b^2+c^2=a^2b^2.\]

We find that $a, b, c$ are even and we let $ a=2a_1, b=2b_1, c=2c_1$. We find $ {a_1}^2+{b_1}^2+{c_1}^2=4{a_1}^2{b_1}^2$.

Using another argument, we can show that $a_1, b_1, c_1$ are even. So let $ a_1=2a_2, b_1=2b_2, c_1=2c_2$.

Then we sub this into the equation and find that $a_2, b_2, c_2$ are even.

And we can repeat this argument an infinite number of times to get that $a_3, a_4 ... a_i ...$ are all even and it would imply that $a, b, c$ have an infinite number of factors of 2. But this is impossible, so solutions can't exist.
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
#14 • 2 Y
Y by Adventure10, Mango247
lemma-1: a ,b ,c are even

proof: using mod 4;

now, a = 2*a', b = 2*b', c = 2*c'

then, a'^2 + b'^2 + c'^2 = (a'^2)*(b'^2) which is a recurrence;

so, the solutions are a = b = c = 0
Z K Y
The post below has been deleted. Click to close.
This post has been deleted. Click here to see post.
AllenWang314
661 posts
#15 • 1 Y
Y by Adventure10
Where does this go wrong?
Z K Y
The post below has been deleted. Click to close.
This post has been deleted. Click here to see post.
djmathman
7938 posts
#17 • 1 Y
Y by Adventure10
AllenWang314 wrote:
snippit
This statement is the first place where your solution breaks, and it feels really fishy to me. In particular, I have no idea how non-QR-ness of two integers imply that they both must be even. (Also keep in mind that any two non-QRs mod a prime must multiply to a QR.)
This post has been edited 1 time. Last edited by djmathman, Mar 13, 2018, 9:05 PM
Z K Y
The post below has been deleted. Click to close.
This post has been deleted. Click here to see post.
AllenWang314
661 posts
#18 • 2 Y
Y by Adventure10, Mango247
explanation

Is this correct?
This post has been edited 1 time. Last edited by AllenWang314, Mar 14, 2018, 3:22 AM
Z K Y
The post below has been deleted. Click to close.
This post has been deleted. Click here to see post.
djmathman
7938 posts
#19 • 1 Y
Y by Adventure10
Quote:
In particular, one of these is $3$ mod $4$ and must be divisible by a prime $3$ mod $4$.
Not if $a=0$!
Z K Y
The post below has been deleted. Click to close.
This post has been deleted. Click here to see post.
Deligne
4 posts
#20
Y by
Assume without loss of generality that $a\geqslant b$. Then $a^2 b^2 =a^2 +b^2 +c^2 \leqslant 2a^2 +c^2$. Therefore $c^2 \geqslant a^2(b^2- 2)$. Since $b^2 -2$ is not a perfect square, we have that $c^2 \neq a^2 (b^2-2)$. Similarly $c^2 \neq a^2 (b^2-1)$. Hence $c^2 \geqslant a^2 b^2$. It follows that $a=b=c=0$.
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
#21
Y by
xpmath wrote:
solution

Yup, that's what I did, except that a_1^2+b_1^2+c_1^2=4a_1^2b_1^2, which again is 0 mod 4 on RHS, so LHS must be 0 mod 2 for each of a_1, b_1, and c_1 to have their sum of their squares by 0 mod 4. Also, a bit of an explanation. If both a and b are odd, then the RHS is 1 mod 4, and LHS is 1 (a^2) + 1 (b^2) + c^2 mod 4, must be 1 mod 4, absurd, because this implies c^2 must be 3 mod 4. Now if at least of one of a and b is even, then RHS is 0 mod 4, LHS is 0 mod 4 + b^2 + c^2, or b^2+c^2 must be 0 mod 4, absurd (2+2, 1+3 all impossible) unless both b and c are 0 mod 2. Now a and b must both be 0 mod 2, meaning RHS is even and c must also be even for even + even + even = even.
This post has been edited 1 time. Last edited by huashiliao2020, Apr 14, 2023, 4:16 AM
Z K Y
The post below has been deleted. Click to close.
This post has been deleted. Click here to see post.
HamstPan38825
8857 posts
#22
Y by
Write the given equation as $$(a^2-1)(b^2-1) = c^2+1.$$By Fermat Christmas, divisors of the RHS must be $2$ or 1 mod $4$. On the other hand, the factors on the LHS are either multiples of $4$ or $3$ mod $4$, unless $(a, b, c) = (0, 0, 0)$. Indeed this is the sole solution.
Z K Y
The post below has been deleted. Click to close.
This post has been deleted. Click here to see post.
Seungjun_Lee
525 posts
#23
Y by
Since $c \le ab$
Let $c = ab - k$
$a^2 + b^2 + k^2 - 2abk = 0$
Let $(k,a,b)$ is the solution with the minimum $k +a+b$
Let $k \ge a \ge b>0$
Let $f(x) = x^2 - 2abx + a^2 + b^2$
Let two solutions of $f(x) =0$ as $x_1=k$ and $x_2$

$x_2 \in \mathbb{Z}$
$f(a) \ge 0$
Then $3a^2 \ge 2a^2 + b^2 \ge 2a^2b$
Then $b= 1$
$(a-k)^2 + 1 = 0$
Contradiction

Then $b=0$ and $a=c=0$
Z K Y
The post below has been deleted. Click to close.
This post has been deleted. Click here to see post.
cj13609517288
1890 posts
#24
Y by
Take mod $4$. This is either $0+0+0=0$ or $0+0+1=1$. But the second one requires $a$ and $b$ to be both odd, contradiction. The first one falls to infinite descent and has solution $(0,0,0)$.
Z K Y
The post below has been deleted. Click to close.
This post has been deleted. Click here to see post.
p.lazarov06
55 posts
#25
Y by
\begin{align*}
    a^2+b^2+c^2&=a^2b^2\\
    a^2b^2-a^2-b^2+1&=c^2+1\\
    (a^2-1)(b^2-1)&=c^2+1\\
\end{align*}
It's clear that $a$ and $b$ can't be both odd at the same time, because $c^2+1\not\equiv\pmod{4}$. Now if both $a$ and $b$ are at least $2$, so $(a^2-1)(b^2-1)$ will have a prime divisor $p=4k+3$, and by Fermat's Christmas Theorem $p$ will divide both $c$ and $1$ which is impossible. And now by bashing the small values of $a$ and $b$ we get the only solution to be:

\[(a;b;c)=(0;0;0)\]
Z K Y
The post below has been deleted. Click to close.
This post has been deleted. Click here to see post.
surpidism.
10 posts
#26
Y by
Note that perfect squares are $0$ or $1$ $(mod\ 4)$.
$a^2b^2 \equiv 1(mod\ 4)$ is not possible as this lead both $a^2$ and $b^2$ are $1(mod\ 4)$. So, $LHS \not\equiv RHS$ $(mod\ 4)$
Thus, $a^2b^2 \equiv 0 (mod\ 4)$ and $a$, $b$, $c$ are even.
Let $a = 2a_1$, $b = 2b_1$, $c = 2c_1$ and substitute in the original equation.
\begin{align*}
4a_1 + 4b_1 + 4c_1 = 16a_1^2b_1^2\\
 a_1 + b_1 + c_1 = 4a_1^2b_1^2\
\end{align*}Again $a_1$, $b_1$, $c_1$ are even. Let $a_1 = 2a_2$, $b_1 = 2b_2$, $b_1 = 2c_2$ and we find that $a_2$, $b_2$, $c_2$ are also even.
If we repeat this argument infinitely many times, we see that $a$, $b$, $c$ can be divided by $2$ infinitely many times, which is only possible when $a = b = c = 0$.
This post has been edited 1 time. Last edited by surpidism., May 20, 2023, 5:56 AM
Z K Y
The post below has been deleted. Click to close.
This post has been deleted. Click here to see post.
Pyramix
419 posts
#27
Y by
Brut3Forc3 wrote:
Determine all integral solutions of \[ a^2+b^2+c^2=a^2b^2.\]
If $a=0$ or $b=0$ then all three must be 0. If $c=0$ then $(a^2-1)(b^2-1)=1$, which has only solution $a=b=c=0$.
Now, take $a,b,c>0$.

Clearly, $a=b=c$ is not possible unless $a=b=c=0$. Also, $a,b>1$. (i.e., $a^2,b^2\geq4$).

Note that $c^2+1=(a^2-1)(b^2-1)$. So, if an odd prime $p\mid(a^2-1)$, then $p\mid(c^2+1)$. This means $p\equiv1\pmod{4}$. It follows that if $a$ is even, then all divisors of $a^2-1$ are $\equiv1\pmod{4}$. So, $a^2-1\equiv1\pmod{4}$, a contradiction. It follows that $a$ must be odd. Similarly, $b$ must also be odd.
But then $c^2\equiv a^2b^2-a^2-b^2\equiv1-1-1\equiv3\pmod{4}$, a contradiction.

Therefore, the only integer solution to the given equation is $\boxed{(a,b,c)=(0,0,0)}$.
This post has been edited 1 time. Last edited by Pyramix, May 20, 2023, 1:35 PM
Reason: Unnecessary bounds removed.
Z K Y
The post below has been deleted. Click to close.
This post has been deleted. Click here to see post.
shendrew7
794 posts
#28
Y by
Rearranging, we find
\[c^2+1 = (a^2-1)(b^2-1).\]
Fermat's Christmas Theorem tells us all factors of the LHS with magnitude greater than 1 must be 1 or 2 modulo 4, contradiction. Thus $c^2+1 \leq 1 \implies c=0$, giving the only solution $\boxed{(0,0,0)}$. $\blacksquare$
Z K Y
The post below has been deleted. Click to close.
This post has been deleted. Click here to see post.
Mr.Sharkman
496 posts
#29
Y by
Simplifying our expression, we get
$$(a^{2}-1)(b^{2}-1) = c^{2}+1. $$If $c$ is odd, then $$c^{2}+1 \equiv 2 \pmod 4. $$But, if $2|(a^{2}-1)(b^{2}-1), $ then $8|(a^{2}-1)(b^{2}-1),$ so $c$ is even. Now, if $p|c^{2}+1,$ we have that $c^{2} \equiv -1 \pmod p, $ so $$\left(\frac{-1}{p} \right) = 1.$$Hence, $p \equiv 1 \pmod 4.$ Now, $a^{2}-1$ is odd, so $a$ is even. Thus, one of $a-1$ or $a+1$ is $1 \pmod 4,$ and the other is $3 \pmod 4.$ But, these are divisors of $c^{2}+1,$ and all divisors of $c^{2}+1$ are $1 \pmod 4,$ so this is impossible. Thus, there are no solutions, except for when $c=0,$ since then there are no prime factors $p,$ and when $a=b=0.$
Z K Y
The post below has been deleted. Click to close.
This post has been deleted. Click here to see post.
MuradSafarli
86 posts
#30
Y by
(a,b,c)=(0,0,0) clearly works,otherwise
"Let O be odd and E be even. The following combinations (a,b,c) – (O,E,E), (E,O,E), (E,E,O), (O,O,E), (O,E,O), (E,O,O), (O,O,O), (E,E,E) easily yield contradictions modulo 4."
Z K Y
N Quick Reply
G
H
=
a