Rectangular prism with volume and surface area

algebra-precalculuselementary-number-theorysolid-geometrysystems of equations

Here is the question:
A rectangular prism has a volume of $720$ cm$^3$ and a surface area of $666$ cm$^2$. If the lengths of all its edges are integers, what is the length of the longest edge?

This is from a previously timed competition. Quick answers will be the most helpful.

You can set up equations and use Vieta's formulas to get $x^3+bx^2+333x-720$.
How do I solve the problem after this?

Best Answer

We have $$xyz=720$$ and $$xy+xz+yz=333,$$ where $x$, $y$ and $z$ are naturals.

Now, let $x\geq y\geq z$.

Thus, $$720\geq z^3,$$ which gives $$1\leq z\leq8$$ and $z=3$ is valid, which gives $x=16$ and $y=15.$