The following proposition is so related to Fermat Factorization method. The proposition states the following:
Let $n$ be an odd positive integer. If $n$ is composite, then there is an integer $x$ in the interval $[\sqrt{n},\frac{n+1}{2})$ that makes $x^2-n$ a square.
How can such proposition be proven?
Building upon @Alex Francisco useful comment and combining it with my instructor notes,
Here is The Proof: