Finding the smallest integer solution to $N=x_1^2+x_2^2-y^3$ for any given $N$, with $x_1>0$, $x_2>0$ and $y>0$
I’ll provisionally define smallest as the minimum $y$ for a given $N$, but I am open to suggestions. Here’s an example where defining the smallest as minimum $x_1x_2y$ would change the result: $$57=3^2+7^2-1^3=1^2+8^2-2^3$$
The answer I accepted to this question Conjecture: $N=x_1^2+x_2^2-y^3$ has integer solutions for all $N$, with $x_1>0$,$x_2>0$ and $y>0$ provides a parametric solution (Andrew Adler) for all $N$ (except for a few trivial cases).
$$2a+1=\left(a^3-3a^2+a\right)^2+\left(a^2-a-1\right)^2-\left(a^2-2a\right)^3$$
$$4a+2=\left(2a^3-2a^2-a\right)^2+\left(2a^3-4a^2-a+1\right)^2-\left(2a^2-2a-1\right)^3$$
$$8a+4=\left(a^3+a+2\right)^2+\left(a^2-2a-1\right)^2-\left(a^2+1\right)^3$$
$$16a+8=\left(2a^3-8a^2+4a+2\right)^2+\left(2a^3-4a^2-2\right)^2-\left(2a^2-4a\right)^3$$
$$16a=\left(a^3+7a-2\right)^2+\left(a^2+2a+11\right)^2-\left(a^2+5\right)^3$$
However, the answers produced by these ingenious formulae grow ever further from the smallest solution as $a$ increases.
$$57=19628^2+755^2-728^3$$
Example Smallest Solutions
$$-5=7^2+17^2-7^3$$ $$-4=4^2+14^2-6^3$$ $$-3=1^2+2^2-2^3$$ $$-2=3^2+4^2-3^3$$ $$-1=1^2+5^2-3^3$$ $$0=2^2+2^2-2^3$$ $$1=1^2+1^2-1^3$$ $$2=1^2+3^2-2^3$$ $$3=8^2+8^2-5^3$$ $$4=1^2+2^2-1^3$$ $$5=2^2+3^2-2^3$$
My question Is there a method, other than brute force, to find the smallest solution for given $N$?
If not, is there a method of reducing a known solution to a smaller solution?
Update 23 February 2018
When $N$ is square, $$N=a^2=1^2+a^2-1^3$$