Discover MakerZone

MATLAB and Simulink resources for Arduino, LEGO, and Raspberry Pi test

Learn more

Discover what MATLAB® can do for your career.

Opportunities for recent engineering grads.

Apply Today

MATLAB Academy

New to MATLAB?

Learn MATLAB today!

Problem 629. Cubic Integer Constrained Solution

Created by Richard Zapor

Find an integral non-trivial solution (x,y,z ~=0) (x=0 or y=0 or z=0 are trivial) for the cubic equation

 987,654,321x + 123,456,789y + z = (x+y+z)^3.

Provide solution with minimum Positive value of (x+y+z). The solution does not require x,y,or z to be positive.

Question courtesy of The Contest Center

One method: meshgrid


Problem Group

Solution Statistics

16 correct solutions 6 incorrect solutions
Last solution submitted on Sep 04, 2015