The solution (or actually one of many solutions) of this cubic equation with minimal integer positive value of (x+y+z), is x = 30,864,197 , y = -246,913,580 , z = 216,049,384 ; in that case, x+y+z = 1, and you can't get smaller than that. (Sorry, I wrote the same thing as a remark in the solution script, but I made a typo and wrote the wrong value of z there.)
Given an unsigned integer x, find the largest y by rearranging the bits in x
799 Solvers
Matrix with different incremental runs
106 Solvers
498 Solvers
Multiples of a Number in a Given Range
222 Solvers
156 Solvers
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!