# Finding integers $a,b$ and $c$ such that $a^3+b^3 = c^3$

We are learning about the the Pythagorean Theorem in class. It says that $a^2+b^2 = c^2$. My homework problem says the following:

Find integers $a,b$ and $c$ such that $a^3+b^3 = c^3$.

How do I solve this equation?

I've been starting with $(3,4,5), (4,4,5)$ etc. Basically I am starting Pythogrean triples.

• Are you sure it says that? There are not such numbers (apart from treivial ones). – Tobias Kildetoft Mar 14 '13 at 15:42
• By trial and error. It has only very trivial solutions. – Brian M. Scott Mar 14 '13 at 15:42
• @BrianM.Scott right, just realized that and edited my comment. – Tobias Kildetoft Mar 14 '13 at 15:43
• How trivial are we talking about? – Valtteri Mar 14 '13 at 15:43
• @Valtteri: To answer that would pretty much give away the solution. I’m trying to think of a good hint. – Brian M. Scott Mar 14 '13 at 15:44

## 2 Answers

HINT: It is known that the equation $a^3+b^3=c^3$ has no solutions in which $a,b$, and $c$ are all positive integers. It does have infinitely many solutions in integers, but all of them have one of two or three basic forms (depending on how you count) and are rather trivial.

• It is $(a,-a,0)$? – loxststudent Mar 14 '13 at 15:56
• @loxststudent: Oops! You found a second form; very good. Yes, that works, but there’s another set of solutions with the $0$ elsewhere. – Brian M. Scott Mar 14 '13 at 16:10
• i think it would be $(a,0,a)$? – loxststudent Mar 14 '13 at 16:11
• @loxststudent: That’s right; also $\langle 0,a,a\rangle$, if you want to count that case separately from $\langle a,0,a\rangle$. – Brian M. Scott Mar 14 '13 at 16:14

If $a=0,b^2=c^2\implies b=\pm c$ and $b^3=c^3\implies b=c$

$\implies b=c$

So, $(0,b,b)$ is a solution

Similarly, $(b,0,b)$ is a solution

If $c\ne0, \left(\frac ac\right)^2+\left(\frac bc\right)^2=1$

$\implies \frac ac<1\implies \left(\frac ac\right)^2>\left(\frac ac\right)^3$

Similarly, $\left(\frac bc\right)^2>\left(\frac bc\right)^3$

$\implies \left(\frac ac\right)^3+\left(\frac bc\right)^3<1$