I found an interesting behavior when placing the integer factorization problem in to geometry, I call it pyramid factoring.
Lets assume we have $c$ boxes and we want to order them in to rectangle. The rectangle sides needs to be $$x>=y$$ $$xy=c$$
Here is an illustration of $23*19$ rectangle

Now look what happened when I cut a pyramid from the bottom.
And adding half of it to the rite side

Lets call the pyramid height $a$ and the reminder $b$, such that: $$x =2a-1$$ $$y =a+b$$
So now we can say:
$$c = (2a-1)(a+b)$$
And if we extract $a$, we will get
$$a = \frac{1-2b+\sqrt{4b^2 + 4b + 8c + 1}}{4}$$
I ignored the negative solution here. But we can keep going. Lets see for what $b$ values the determinate will be an integer value? $$4b^2 + 4b + 8c + 1 = d^2$$
- $d$ is the determinant integer value we are searching for
When extracting $b$ we are getting
$$b = \frac{-1+\sqrt{d^2 - 8c}}{2}$$
And as before, lets see when the determinant is a positive value?
$$d^2 - 8c = e^2$$
And in our example
$$61^2-8*19*23 =15^2$$
Solving this equation is as hard as finding the factors of $c$, or at least this is what I though...
What we know about $d$?
- it's easy can be seen that $d$ is a odd value
Also if we compare $d$ to $a$ we get the next thing
$$a = \frac{1-2b+d}{4}$$ $$d = 2(a + b) - (2a-1)-2$$ $$d = 2y - x - 2$$
So we can say
$$0<2y-d-1<y<=\sqrt{c}<=x$$ $$0<d<3\sqrt{c}$$
And considering all we can say
$$8c<d^2<9c$$
I been lucky to find this equation, so I been trying to see if there are such relationships with different multiplier of $c$, and I found few examples for that
$$d^2 - kc = e^2$$ $$kc<d^2<(k+1)c$$
for $k = 32$
$$c = 423107= 523* 809$$ $$3710^2 - kc = 474^2$$
for $k = 15$
$$c = 590917= 643* 919$$ $$2986^2 - kc = 229^2$$
So what is the rule here? How can I select a multiplier? And how can I extract the x,y from it if I find $d$?
It seems you are studying a version of Pell's equation:
Pell's equation (in your version and in the standard version) has been studied extensively and has numerous interesting geometric and number-theoretic properties, including the ability to use one or more solutions to get more solutions. For more background, read: http://www2.math.ou.edu/~kmartin/nti/chap5.pdf
and this page with some nifty tools: http://www.math.mtu.edu/mathlab/COURSES/holt/dnt/pell4.html